public interface BoundValue
Statement.bind(int, java.lang.Object) and Statement.bindNull(int, java.lang.Class<?>) operations.| Modifier and Type | Interface and Description |
|---|---|
static class |
BoundValue.DefaultBoundValue
Default implementation of
BoundValue. |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getNullType()
Get the bound
null type by Statement.bindNull(int, java.lang.Class<?>). |
Object |
getValue()
Get the bound value by
Statement.bind(int, java.lang.Object). |
boolean |
isNull()
Distinguish between the bound value is for
Statement.bind(int, java.lang.Object) or Statement.bindNull(int, java.lang.Class<?>) operation. |
static BoundValue |
nullValue(Class<?> nullType)
Create a
BoundValue that represents Statement.bindNull(int, java.lang.Class<?>). |
static BoundValue |
value(Object value)
Create a
BoundValue that represents Statement.bind(int, java.lang.Object). |
static BoundValue value(Object value)
BoundValue that represents Statement.bind(int, java.lang.Object).value - valueIllegalArgumentException - if value is nullstatic BoundValue nullValue(Class<?> nullType)
BoundValue that represents Statement.bindNull(int, java.lang.Class<?>).nullType - null typeIllegalArgumentException - if nullType is nullboolean isNull()
Statement.bind(int, java.lang.Object) or Statement.bindNull(int, java.lang.Class<?>) operation.true when this represents value of Statement.bindNull(int, java.lang.Class<?>) operationObject getValue()
Statement.bind(int, java.lang.Object).Class<?> getNullType()
null type by Statement.bindNull(int, java.lang.Class<?>).null typeCopyright © 2025. All rights reserved.