public interface Bindable<SelfT extends Bindable<SelfT>> extends GettableById, GettableByName, SettableById<SelfT>, SettableByName<SelfT>
Modifier and Type | Method and Description |
---|---|
default boolean |
isSet(CqlIdentifier id)
Whether the value for the first occurrence of
id has been set. |
default boolean |
isSet(int i)
Whether the
i th value has been set. |
default boolean |
isSet(String name)
Whether the value for the first occurrence of
name has been set. |
default SelfT |
unset(CqlIdentifier id)
Unsets the value for the first occurrence of
id . |
default SelfT |
unset(int i)
Unsets the
i th value. |
default SelfT |
unset(String name)
Unsets the value for the first occurrence of
name . |
get, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNull
get, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNull
get, get, get, getBigDecimal, getBigInteger, getBool, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNull
getType, set, set, set, setBigDecimal, setBigInteger, setBool, setBoolean, setByte, setByteBuffer, setBytesUnsafe, setCqlDuration, setDouble, setFloat, setInetAddress, setInstant, setInt, setList, setLocalDate, setLocalTime, setLong, setMap, setSet, setShort, setString, setToken, setToNull, setTupleValue, setUdtValue, setUuid
allIndicesOf, firstIndexOf
getType, set, set, set, setBigDecimal, setBigInteger, setBool, setBoolean, setByte, setByteBuffer, setBytesUnsafe, setCqlDuration, setDouble, setFloat, setInetAddress, setInstant, setInt, setList, setLocalDate, setLocalTime, setLong, setMap, setSet, setShort, setString, setToken, setToNull, setTupleValue, setUdtValue, setUuid
set, set, set, setBigDecimal, setBigInteger, setBool, setBoolean, setByte, setByteBuffer, setBytesUnsafe, setCqlDuration, setDouble, setFloat, setInetAddress, setInstant, setInt, setList, setLocalDate, setLocalTime, setLong, setMap, setSet, setShort, setString, setToken, setToNull, setTupleValue, setUdtValue, setUuid
allIndicesOf, firstIndexOf
getType, size
codecRegistry, protocolVersion
default boolean isSet(int i)
i
th value has been set.IndexOutOfBoundsException
- if the index is invalid.default boolean isSet(@NonNull CqlIdentifier id)
id
has been set.
If you want to avoid the overhead of building a CqlIdentifier
, use the variant of
this method that takes a string argument.
IndexOutOfBoundsException
- if the id is invalid.default boolean isSet(@NonNull String name)
name
has been set.
This method deals with case sensitivity in the way explained in the documentation of AccessibleByName
.
IndexOutOfBoundsException
- if the name is invalid.@NonNull @CheckReturnValue default SelfT unset(int i)
i
th value. This will leave the statement in the same state as if no setter
was ever called for this value.IndexOutOfBoundsException
- if the index is invalid.@NonNull @CheckReturnValue default SelfT unset(@NonNull CqlIdentifier id)
id
. This will leave the statement in the
same state as if no setter was ever called for this value.IndexOutOfBoundsException
- if the id is invalid.@NonNull @CheckReturnValue default SelfT unset(@NonNull String name)
name
. This will leave the statement in the
same state as if no setter was ever called for this value.IndexOutOfBoundsException
- if the name is invalid.Copyright © 2017–2024. All rights reserved.