# Package com.datastax.driver.mapping.annotations

• Annotation Types Summary
Annotation Type Description
Accessor
An accessor is an interface that defines a set of method to read and write from Cassandra.
ClusteringColumn
Annotation for fields that map to a CQL clustering column.
Column
Annotation that allows to specify the name of the CQL column to which the field should be mapped.
Computed
Annotates a "computed" field, which gets filled from a CQL expression in the SELECT query used to retrieve an entity.
Enumerated
Defines that the annotated field (that must be a Java Enum) must be persisted as an enumerated type.
Field
Annotation that allows to specify the name of the CQL UDT field to which the Java field should be mapped.
Frozen
Specifies that the field decorated with this annotation maps to a CQL type that is frozen, or contains frozen subtypes.
FrozenKey
Shorthand to specify that the key type of a MAP field is frozen.
FrozenValue
Shorthand to specify that the value type of a collection field is frozen.
Param
Provides a name for a parameter of a method in an Accessor interface that can be used to reference to that parameter in method Query.
PartitionKey
Annotation for fields that map to a CQL partition key (or one of it's component if the partition key is composite).
Query
Defines the CQL query that an Accessor method must implement.
QueryParameters
Query parameters to use in the (generated) implementation of a method of an Accessor interface.
Table
Defines to which table a class must be mapped to.
Transient
Whenever this annotation is added on a field, the field will not be mapped to any column (neither during reads nor writes).
UDT
Defines to which User Defined Type a class must be mapped to.