Class | Description |
---|---|
Defaults |
Holds common defaults for the mapping annotations.
|
Defaults.NoCodec |
A fake codec implementation to use as the default in mapping annotations.
|
Annotation Type | Description |
---|---|
Accessor |
An accessor is an interface that defines a set of method to read and write from Cassandra.
|
ClusteringColumn |
Annotation for properties that map to a CQL clustering column.
|
Column |
Annotation that allows to specify the name of the CQL column to which the property should be
mapped.
|
Computed |
Annotates a "computed" property, which gets filled from a CQL expression in the SELECT query used
to retrieve an entity.
|
Field |
Annotation that allows to specify the name of the CQL UDT field to which the Java field or bean
property should be mapped.
|
Frozen |
Specifies that the property 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 property is frozen.
|
FrozenValue |
Shorthand to specify that the value type of a collection property is frozen.
|
Param | |
PartitionKey |
Annotation for properties 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 property, the property 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.
|
Copyright © 2012–2019. All rights reserved.