Module spring.data.cassandra
Annotation Interface Column
@Documented
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER})
public @interface Column
Annotation to define custom metadata for document fields.
- Author:
- Alex Shvid, Matthew T. Adams, Mark Paluch, Aleksei Zotov
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.since 3.0.booleanWhether the column isstatic.The name of the column in the table; must be a valid CQL identifier or quoted identifier.
-
Element Details
-
value
String valueThe name of the column in the table; must be a valid CQL identifier or quoted identifier.- Default:
- ""
-
isStatic
boolean isStaticWhether the column isstatic. Default is false. Used primarily for schema creation.- Since:
- 3.2
- Default:
- false
-
forceQuote
Deprecated, for removal: This API element is subject to removal in a future version.since 3.0. The column name gets converted intoCqlIdentifierhence it no longer requires an indication whether the name should be quoted.Whether to cause the column name to be force-quoted.- See Also:
-
CqlIdentifier.fromInternal(String)
- Default:
- false
-