Annotation Interface Table


Identifies a domain object to be persisted to Cassandra as a table.
Author:
Alex Shvid, Matthew T. Adams, Mark Paluch
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 3.0.
    The keyspace for the table; table uses the session-keyspace if empty; must be a valid CQL identifier or quoted identifier.
    The name of the table; must be a valid CQL identifier or quoted identifier.
  • Element Details

    • keyspace

      String keyspace
      The keyspace for the table; table uses the session-keyspace if empty; must be a valid CQL identifier or quoted identifier. The value can be either a string or a Value Expression.
      Since:
      4.4
      Default:
      ""
    • value

      String value
      The name of the table; must be a valid CQL identifier or quoted identifier. The value can be either a string or a Value Expression.
      Default:
      ""
    • forceQuote

      @Deprecated(forRemoval=true) boolean forceQuote
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 3.0. The table name gets converted into CqlIdentifier hence it no longer requires an indication whether the name should be quoted.
      Whether to cause the table name to be force-quoted.
      See Also:
      • CqlIdentifier.fromInternal(String)
      Default:
      false