Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.mapping |
Modifier and Type | Method and Description |
---|---|
UDTValue |
GettableByIndexData.getUDTValue(int i)
Return the
i th value as a UDT value. |
UDTValue |
BoundStatement.getUDTValue(int i)
Return the
i th value as a UDT value. |
UDTValue |
GettableByNameData.getUDTValue(String name)
Return the value for
name as a UDT value. |
UDTValue |
BoundStatement.getUDTValue(String name)
Return the value for
name as a UDT value. |
UDTValue |
AbstractGettableData.getUDTValue(String name)
Return the value for
name as a UDT value. |
UDTValue |
UserType.newValue()
Returns a new empty value for this user type definition.
|
Modifier and Type | Method and Description |
---|---|
T |
SettableByIndexData.setUDTValue(int i,
UDTValue v)
Sets the
i th value to the provided UDT value. |
BoundStatement |
BoundStatement.setUDTValue(int i,
UDTValue v)
Sets the
i th value to the provided UDT value. |
T |
SettableByNameData.setUDTValue(String name,
UDTValue v)
Sets the value for (all occurrences of) variable
name to the
provided UDT value. |
BoundStatement |
BoundStatement.setUDTValue(String name,
UDTValue v)
Sets the value for (all occurrences of) variable
name to the
provided UDT value. |
Modifier and Type | Method and Description |
---|---|
UDTValue |
UDTMapper.toUDT(T entity)
Converts a mapped class to a
UDTValue . |
Modifier and Type | Method and Description |
---|---|
T |
UDTMapper.fromUDT(UDTValue v)
Converts a
UDTValue (returned by the core API) to the mapped
class. |