| Package | Description |
|---|---|
| com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
| Modifier and Type | Field and Description |
|---|---|
protected TupleType |
TypeCodec.AbstractTupleCodec.definition |
| Modifier and Type | Method and Description |
|---|---|
TupleType |
TupleValue.getType()
The tuple type this is a value of.
|
TupleType |
Metadata.newTupleType(DataType... types)
Creates a tuple type given a list of types.
|
TupleType |
Metadata.newTupleType(List<DataType> types)
Creates a tuple type given a list of types.
|
static TupleType |
TupleType.of(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry,
DataType... types)
Creates a "disconnected" tuple type (you should prefer
cluster.getMetadata().newTupleType(...)
whenever possible). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TupleType.contains(TupleType other)
Return
true if this tuple type contains the given tuple type,
and false otherwise. |
static TypeCodec<TupleValue> |
TypeCodec.tuple(TupleType type)
Return a newly-created codec for the given CQL tuple type.
|
| Constructor and Description |
|---|
AbstractTupleCodec(TupleType definition,
Class<T> javaClass) |
AbstractTupleCodec(TupleType definition,
com.google.common.reflect.TypeToken<T> javaType) |