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 boundnulltype byStatement.bindNull(int, java.lang.Class<?>).getValue()Get the bound value byStatement.bind(int, java.lang.Object).booleanisNull()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:BoundValueDistinguish between the bound value is forStatement.bind(int, java.lang.Object)orStatement.bindNull(int, java.lang.Class<?>)operation.- Specified by:
isNullin interfaceBoundValue- Returns:
truewhen this represents value ofStatement.bindNull(int, java.lang.Class<?>)operation
-
getNullType
Description copied from interface:BoundValueGet the boundnulltype byStatement.bindNull(int, java.lang.Class<?>).- Specified by:
getNullTypein interfaceBoundValue- Returns:
nulltype
-
getValue
Description copied from interface:BoundValueGet the bound value byStatement.bind(int, java.lang.Object).- Specified by:
getValuein interfaceBoundValue- Returns:
- bound value
-