Class BoundValue.DefaultBoundValue
java.lang.Object
io.r2dbc.proxy.core.BoundValue.DefaultBoundValue
- All Implemented Interfaces:
BoundValue
- Enclosing interface:
BoundValue
Default implementation of
BoundValue
.- Author:
- Tadaya Tsuyukubo
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.r2dbc.proxy.core.BoundValue
BoundValue.DefaultBoundValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> Get the boundnull
type byStatement.bindNull(int, java.lang.Class<?>)
.getValue()
Get the bound value byStatement.bind(int, java.lang.Object)
.boolean
isNull()
Distinguish between the bound value is forStatement.bind(int, java.lang.Object)
orStatement.bindNull(int, java.lang.Class<?>)
operation.
-
Constructor Details
-
DefaultBoundValue
public DefaultBoundValue()
-
-
Method Details
-
isNull
public boolean isNull()Description copied from interface:BoundValue
Distinguish between the bound value is forStatement.bind(int, java.lang.Object)
orStatement.bindNull(int, java.lang.Class<?>)
operation.- Specified by:
isNull
in interfaceBoundValue
- Returns:
true
when this represents value ofStatement.bindNull(int, java.lang.Class<?>)
operation
-
getNullType
Description copied from interface:BoundValue
Get the boundnull
type byStatement.bindNull(int, java.lang.Class<?>)
.- Specified by:
getNullType
in interfaceBoundValue
- Returns:
null
type
-
getValue
Description copied from interface:BoundValue
Get the bound value byStatement.bind(int, java.lang.Object)
.- Specified by:
getValue
in interfaceBoundValue
- Returns:
- bound value
-