|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataType | |
---|---|
com.datastax.driver.core | The main package for the DataStax Java driver for Cassandra. |
Uses of DataType in com.datastax.driver.core |
---|
Methods in com.datastax.driver.core that return DataType | |
---|---|
static DataType |
DataType.ascii()
Returns the ASCII type. |
static DataType |
DataType.bigint()
Returns the BIGINT type. |
static DataType |
DataType.blob()
Returns the BLOB type. |
static DataType |
DataType.cboolean()
Returns the BOOLEAN type. |
static DataType |
DataType.cdouble()
Returns the DOUBLE type. |
static DataType |
DataType.cfloat()
Returns the FLOAT type. |
static DataType |
DataType.cint()
Returns the INT type. |
static DataType |
DataType.counter()
Returns the COUNTER type. |
static DataType |
DataType.custom(String typeClassName)
Returns a Custom type. |
static DataType |
DataType.decimal()
Returns the DECIMAL type. |
DataType |
ColumnDefinitions.Definition.getType()
Returns the type of the column. |
DataType |
ColumnMetadata.getType()
Returns the type of the column. |
DataType |
ColumnDefinitions.getType(int i)
Returns the type of the i th column in this metadata. |
DataType |
ColumnDefinitions.getType(String name)
Returns the type of the first occurence of name in this metadata. |
static DataType |
DataType.inet()
Returns the INET type. |
static DataType |
DataType.list(DataType elementType)
Returns the type of lists of elementType elements. |
static DataType |
DataType.map(DataType keyType,
DataType valueType)
Returns the type of maps of keyType to valueType elements. |
static DataType |
DataType.set(DataType elementType)
Returns the type of sets of elementType elements. |
static DataType |
DataType.text()
Returns the TEXT type. |
static DataType |
DataType.timestamp()
Returns the TIMESTAMP type. |
static DataType |
DataType.timeuuid()
Returns the TIMEUUID type. |
static DataType |
DataType.uuid()
Returns the UUID type. |
static DataType |
DataType.varchar()
Returns the VARCHAR type. |
static DataType |
DataType.varint()
Returns the VARINT type. |
Methods in com.datastax.driver.core that return types with arguments of type DataType | |
---|---|
static Set<DataType> |
DataType.allPrimitiveTypes()
Returns a set of all the primitive types, where primitive types are defined as the types that don't have type arguments (that is excluding lists, sets, and maps). |
List<DataType> |
DataType.getTypeArguments()
Returns the type arguments of this type. |
Methods in com.datastax.driver.core with parameters of type DataType | |
---|---|
static DataType |
DataType.list(DataType elementType)
Returns the type of lists of elementType elements. |
static DataType |
DataType.map(DataType keyType,
DataType valueType)
Returns the type of maps of keyType to valueType elements. |
static DataType |
DataType.set(DataType elementType)
Returns the type of sets of elementType elements. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |