Package io.debezium.connector.cassandra
Enum Class CellData.ColumnType
- All Implemented Interfaces:
Serializable,Comparable<CellData.ColumnType>,Constable
- Enclosing class:
- CellData
The type of a column in a Cassandra table
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA clustering column is used to specifies the order that the data is arranged inside the partition.A partition column is responsible for data distribution across nodes for this table.A regular column is a column that is not a partition or a clustering column. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CellData.ColumnTypeReturns the enum constant of this class with the specified name.static CellData.ColumnType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
A regular column is a column that is not a partition or a clustering column.
-
-
Constructor Details
-
ColumnType
private ColumnType()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-