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
    boolean
    Deprecated.
    since 3.0.
    The name of the UDT.
  • Element Details

    • value

      String value
      The name of the UDT. Must be a valid CQL identifier or quoted identifier.
      Default:
      ""
    • forceQuote

      @Deprecated boolean forceQuote
      Deprecated.
      since 3.0. The type name gets converted into CqlIdentifier hence it no longer requires an indication whether the name should be quoted.
      Whether to cause the UDT name to be force-quoted.
      See Also:
      • CqlIdentifier.fromInternal(String)
      Default:
      false