Enum Class IndexComponent

java.lang.Object
java.lang.Enum<IndexComponent>
org.apache.cassandra.index.sai.disk.format.IndexComponent
All Implemented Interfaces:
Serializable, Comparable<IndexComponent>, Constable

public enum IndexComponent extends Enum<IndexComponent>
This is a definitive list of all the on-disk components for all versions
  • Enum Constant Details

    • META

      public static final IndexComponent META
      Metadata for per-column index components
    • BALANCED_TREE

      public static final IndexComponent BALANCED_TREE
      Balanced tree written by BlockBalancedTreeWriter indexes mappings of term to one or more segment row IDs (segment row ID = SSTable row ID - segment row ID offset).
    • TERMS_DATA

      public static final IndexComponent TERMS_DATA
      Term dictionary written by TrieTermsDictionaryWriter stores mappings of term and file pointer to posting block on posting file.
    • COMPRESSED_VECTORS

      public static final IndexComponent COMPRESSED_VECTORS
      Product Quantization store used to store compressed vectors for the vector index
    • POSTING_LISTS

      public static final IndexComponent POSTING_LISTS
      Stores postings written by PostingsWriter
    • COLUMN_COMPLETION_MARKER

      public static final IndexComponent COLUMN_COMPLETION_MARKER
      If present indicates that the column index build completed successfully
    • ROW_TO_TOKEN

      public static final IndexComponent ROW_TO_TOKEN
      An on-disk block packed index mapping rowIds to token values.
    • ROW_TO_PARTITION

      public static final IndexComponent ROW_TO_PARTITION
      An on-disk block packed index mapping rowIds to partitionIds.
    • PARTITION_TO_SIZE

      public static final IndexComponent PARTITION_TO_SIZE
      An on-disk block packed index mapping partitionIds to the number of rows for the partition.
    • PARTITION_KEY_BLOCKS

      public static final IndexComponent PARTITION_KEY_BLOCKS
      Prefix-compressed blocks of partition keys used for rowId to partition key lookups
    • PARTITION_KEY_BLOCK_OFFSETS

      public static final IndexComponent PARTITION_KEY_BLOCK_OFFSETS
      Encoded sequence of offsets to partition key blocks
    • CLUSTERING_KEY_BLOCKS

      public static final IndexComponent CLUSTERING_KEY_BLOCKS
      Prefix-compressed blocks of clustering keys used for rowId to clustering key lookups
    • CLUSTERING_KEY_BLOCK_OFFSETS

      public static final IndexComponent CLUSTERING_KEY_BLOCK_OFFSETS
      Encoded sequence of offsets to clustering key blocks
    • GROUP_META

      public static final IndexComponent GROUP_META
      Metadata for per-SSTable on-disk components.
    • GROUP_COMPLETION_MARKER

      public static final IndexComponent GROUP_COMPLETION_MARKER
      If present indicates that the per-sstable index build completed successfully
  • Field Details

  • Method Details

    • values

      public static IndexComponent[] 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 IndexComponent 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