public interface TupleValue extends GettableByIndex, SettableByIndex<TupleValue>
tuple
value.
It is an ordered set of anonymous, typed fields.
A tuple value is attached if and only if its type is attached (see Detachable
).
The default implementation returned by the driver is immutable and serializable. If you write your own implementation, it should at least be thread-safe; serializability is not mandatory, but recommended for use with some 3rd-party tools like Apache Spark ™.
Modifier and Type | Method and Description |
---|---|
TupleType |
getType() |
get, get, get, getBigDecimal, getBigInteger, getBoolean, getByte, getByteBuffer, getBytesUnsafe, getCqlDuration, getDouble, getFloat, getInetAddress, getInstant, getInt, getList, getLocalDate, getLocalTime, getLong, getMap, getObject, getSet, getShort, getString, getToken, getTupleValue, getUdtValue, getUuid, isNull
set, set, set, setBigDecimal, setBigInteger, setBoolean, setByte, setByteBuffer, setBytesUnsafe, setCqlDuration, setDouble, setFloat, setInetAddress, setInstant, setInt, setList, setLocalDate, setLocalTime, setLong, setMap, setSet, setShort, setString, setToken, setToNull, setTupleValue, setUdtValue, setUuid
getType, size
codecRegistry, protocolVersion
@NonNull TupleType getType()
Copyright © 2017–2019. All rights reserved.