public class CassandraSimpleTypeHolder extends SimpleTypeHolder
SimpleTypeHolder enriched with Cassandra specific simple types.| Modifier and Type | Field and Description |
|---|---|
static Set<Class<?>> |
CASSANDRA_SIMPLE_TYPES |
static SimpleTypeHolder |
HOLDER |
| Constructor and Description |
|---|
CassandraSimpleTypeHolder() |
| Modifier and Type | Method and Description |
|---|---|
static com.datastax.driver.core.DataType |
getDataTypeFor(Class<?> javaClass)
Returns the default
DataType for a Class. |
static com.datastax.driver.core.DataType |
getDataTypeFor(com.datastax.driver.core.DataType.Name name)
Returns the
DataType for a DataType.Name. |
static com.datastax.driver.core.DataType.Name[] |
getDataTypeNamesFrom(List<TypeInformation<?>> arguments) |
isSimpleTypepublic static final SimpleTypeHolder HOLDER
public static com.datastax.driver.core.DataType getDataTypeFor(com.datastax.driver.core.DataType.Name name)
DataType for a DataType.Name.name - public static com.datastax.driver.core.DataType getDataTypeFor(Class<?> javaClass)
DataType for a Class.javaClass - public static com.datastax.driver.core.DataType.Name[] getDataTypeNamesFrom(List<TypeInformation<?>> arguments)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.