Enum Class NamingStyle

java.lang.Object
java.lang.Enum<NamingStyle>
io.nosqlbench.cqlgen.binders.NamingStyle
All Implemented Interfaces:
Serializable, Comparable<NamingStyle>, Constable

public enum NamingStyle extends Enum<NamingStyle>
  • Enum Constant Details

    • FullyQualified

      public static final NamingStyle FullyQualified
      All binding names are generated in fully-qualified form, meaning there is a separate binding for every tuple of column, typedef, table, keyspace
    • SymbolicType

      public static final NamingStyle SymbolicType
      Only use the default binding names which are shared among all bind points which have the same data type.
    • CondensedKeyspace

      public static final NamingStyle CondensedKeyspace
      Name bind points uniquely within keyspace, adding only the qualifiers to the name that are needed to avoid ambiguous names when an identifier is used variously within the keyspace
  • Method Details

    • values

      public static NamingStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NamingStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null