Enum CellData.ColumnType

    • Enum Constant Detail

      • 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 Detail

      • ColumnType

        private ColumnType()
    • Method Detail

      • values

        public static CellData.ColumnType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CellData.ColumnType c : CellData.ColumnType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CellData.ColumnType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null