Annotation Interface UserDefinedType


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface UserDefinedType
Identifies a domain object as Cassandra User Defined type (UDT). User defined types may contain nested user defined types.
Since:
1.5
Author:
Fabio J. Mendes, Mark Paluch
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The keyspace for the UDT; must be a valid CQL identifier/quoted identifier or empty to use the session-keyspace.
    The name of the UDT.
  • Element Details

    • keyspace

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

      String value
      The name of the UDT. Must be a valid CQL identifier or quoted identifier. The value can be either a string or a Value Expression.
      Default:
      ""