@Documented @Retention(value=RUNTIME) public @interface CassandraType
DataType| Modifier and Type | Required Element and Description |
|---|---|
com.datastax.driver.core.DataType.Name |
type
The
DataType.Name of the property. |
| 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 Name representing the element type of the Collection. |
String |
userTypeName
If the property maps to a User-Defined Type (UDT) 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
Collection-like, then this attribute holds
a single DataType Name representing the element type of the Collection.
If the property is a 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 nor a Map,
then this attribute is ignored.DataType.Name objects.DataType.Namepublic abstract String userTypeName
Collection-like properties the user type name applies to the component type.
The user type name is only required if the UDT does not map to a class annotated with UserDefinedType.name of the user typeCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.