@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. |
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.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.