Enum Class CellData.ColumnType

java.lang.Object
java.lang.Enum<CellData.ColumnType>
io.debezium.connector.cassandra.CellData.ColumnType
All Implemented Interfaces:
Serializable, Comparable<CellData.ColumnType>, Constable
Enclosing class:
CellData

public static enum CellData.ColumnType extends Enum<CellData.ColumnType>
The type of a column in a Cassandra table
  • Enum Constant Details

    • PARTITION

      public static final CellData.ColumnType PARTITION
      A partition column is responsible for data distribution across nodes for this table. Every Cassandra table must have at least one partition column.
    • CLUSTERING

      public static final CellData.ColumnType CLUSTERING
      A clustering column is used to specifies the order that the data is arranged inside the partition. A Cassandra table may not have any clustering column,
    • REGULAR

      public static final CellData.ColumnType REGULAR
      A regular column is a column that is not a partition or a clustering column.
  • Constructor Details

    • ColumnType

      private ColumnType()
  • Method Details

    • values

      public static CellData.ColumnType[] 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 CellData.ColumnType 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