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
Modifier and TypeOptional ElementDescriptionboolean
Deprecated.since 3.0.boolean
Whether 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.since 3.0. The column name gets converted intoCqlIdentifier
hence 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
-