Annotation Interface Column


Annotation to define custom metadata for document fields.
Author:
Alex Shvid, Matthew T. Adams, Mark Paluch, Aleksei Zotov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Deprecated.
    since 3.0.
    boolean
    Whether the column is static.
    The name of the column in the table; must be a valid CQL identifier or quoted identifier.
  • Element Details

    • value

      String value
      The name of the column in the table; must be a valid CQL identifier or quoted identifier.
      Default:
      ""
    • isStatic

      boolean isStatic
      Whether the column is static. Default is false. Used primarily for schema creation.
      Since:
      3.2
      Default:
      false
    • forceQuote

      @Deprecated boolean forceQuote
      Deprecated.
      since 3.0. The column name gets converted into CqlIdentifier 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