Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.extras.codecs.arrays |
This package contains a collection of convenience
TypeCodec instances useful for
serializing between CQL lists and Java arrays. |
Modifier and Type | Method and Description |
---|---|
static DataType.CollectionType |
DataType.frozenList(DataType elementType)
Returns the type of frozen lists of
elementType elements. |
static DataType.CollectionType |
DataType.frozenMap(DataType keyType,
DataType valueType)
Returns the type of frozen maps of
keyType to valueType elements. |
static DataType.CollectionType |
DataType.frozenSet(DataType elementType)
Returns the type of frozen sets of
elementType elements. |
static DataType.CollectionType |
DataType.list(DataType elementType)
Returns the type of "not frozen" lists of
elementType elements. |
static DataType.CollectionType |
DataType.list(DataType elementType,
boolean frozen)
Returns the type of lists of
elementType elements. |
static DataType.CollectionType |
DataType.map(DataType keyType,
DataType valueType)
Returns the type of "not frozen" maps of
keyType to valueType elements. |
static DataType.CollectionType |
DataType.map(DataType keyType,
DataType valueType,
boolean frozen)
Returns the type of maps of
keyType to valueType elements. |
static DataType.CollectionType |
DataType.set(DataType elementType)
Returns the type of "not frozen" sets of
elementType elements. |
static DataType.CollectionType |
DataType.set(DataType elementType,
boolean frozen)
Returns the type of sets of
elementType elements. |
Constructor and Description |
---|
AbstractCollectionCodec(DataType.CollectionType cqlType,
TypeToken<C> javaType,
TypeCodec<E> eltCodec) |
Constructor and Description |
---|
AbstractArrayCodec(DataType.CollectionType cqlType,
Class<T> javaClass) |
AbstractPrimitiveArrayCodec(DataType.CollectionType cqlType,
Class<T> javaClass) |
ObjectArrayCodec(DataType.CollectionType cqlType,
Class<E[]> javaClass,
TypeCodec<E> eltCodec) |
Copyright © 2012–2018. All rights reserved.