@Documented @Retention(value=RUNTIME) public @interface CassandraType
| Modifier and Type | Required Element and Description |
|---|---|
com.datastax.driver.core.DataType.Name |
type
The
DataType. |
| Modifier and Type | Optional Element and Description |
|---|---|
com.datastax.driver.core.DataType.Name[] |
typeArguments
If the property is collection-like, then this attribute holds a single
DataType. |
String |
userTypeName
If the property maps to a user-defined type then this attribute holds the user type name.
|
public abstract com.datastax.driver.core.DataType.Name type
DataType.Name of the property.public abstract com.datastax.driver.core.DataType.Name[] typeArguments
DataType.Name, representing
the element type of the collection.
If the property is map, then this attribute holds exactly two DataType.Names: the first is the key
type, and the second is the value type.
If the property is neither collection-like or a map, then this attribute is ignored.public abstract String userTypeName
UserDefinedType.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.