Class V1OnDiskFormat

java.lang.Object
org.apache.cassandra.index.sai.disk.v1.V1OnDiskFormat
All Implemented Interfaces:
OnDiskFormat

public class V1OnDiskFormat extends Object implements OnDiskFormat
  • Field Details

    • SKINNY_PER_SSTABLE_COMPONENTS

      public static final Set<IndexComponent> SKINNY_PER_SSTABLE_COMPONENTS
    • WIDE_PER_SSTABLE_COMPONENTS

      public static final Set<IndexComponent> WIDE_PER_SSTABLE_COMPONENTS
    • LITERAL_COMPONENTS

      public static final Set<IndexComponent> LITERAL_COMPONENTS
    • NUMERIC_COMPONENTS

      public static final Set<IndexComponent> NUMERIC_COMPONENTS
    • VECTOR_COMPONENTS

      public static final Set<IndexComponent> VECTOR_COMPONENTS
    • SEGMENT_BUILD_MEMORY_LIMIT

      public static final long SEGMENT_BUILD_MEMORY_LIMIT
      Global limit on heap consumed by all index segment building that occurs outside the context of Memtable flush.

      Note that to avoid flushing small index segments, a segment is only flushed when both the global size of all building segments has breached the limit and the size of the segment in question reaches (segment_write_buffer_space_mb / # currently building column indexes).

      ex. If there is only one column index building, it can buffer up to segment_write_buffer_space_mb.

      ex. If there is one column index building per table across 8 compactors, each index will be eligible to flush once it reaches (segment_write_buffer_space_mb / 8) MBs.

    • SEGMENT_BUILD_MEMORY_LIMITER

      public static final NamedMemoryLimiter SEGMENT_BUILD_MEMORY_LIMITER
    • instance

      public static final V1OnDiskFormat instance
  • Constructor Details

    • V1OnDiskFormat

      protected V1OnDiskFormat()
  • Method Details