@Documented @Retention(value=RUNTIME) @Target(value={TYPE,TYPE_PARAMETER,ANNOTATION_TYPE,FIELD,METHOD,PARAMETER}) public @interface CassandraType
CassandraType.Name| Modifier and Type | Required Element and Description |
|---|---|
CassandraType.Name |
type
The
CassandraType.Name of the property. |
| Modifier and Type | Optional Element and Description |
|---|---|
CassandraType.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 CassandraType.Name type
CassandraType.Name of the property.public abstract CassandraType.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.CassandraType.Name objects.CassandraType.Namepublic abstract String userTypeName
Collection-like properties the user type name applies to the component type. For
Map properties, typeArguments() configured to CassandraType.Name.UDT are resolved using the
user type name. 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–2021 Pivotal Software, Inc.. All rights reserved.