Class SegmentBuilder.VectorSegmentBuilder
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.segment.SegmentBuilder
org.apache.cassandra.index.sai.disk.v1.segment.SegmentBuilder.VectorSegmentBuilder
- Enclosing class:
- SegmentBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.index.sai.disk.v1.segment.SegmentBuilder
SegmentBuilder.TrieSegmentBuilder, SegmentBuilder.VectorSegmentBuilder -
Field Summary
Fields inherited from class org.apache.cassandra.index.sai.disk.v1.segment.SegmentBuilder
LAST_VALID_SEGMENT_ROW_ID -
Constructor Summary
ConstructorsConstructorDescriptionVectorSegmentBuilder(StorageAttachedIndex index, NamedMemoryLimiter limiter) -
Method Summary
Modifier and TypeMethodDescriptionprotected longaddInternal(ByteBuffer term, int segmentRowId) protected SegmentMetadata.ComponentMetadataMapflushInternal(IndexDescriptor indexDescriptor) booleanisEmpty()Methods inherited from class org.apache.cassandra.index.sai.disk.v1.segment.SegmentBuilder
add, castToSegmentRowId, exceedsSegmentLimit, flush, getActiveBuilderCount, getMinimumFlushBytes, getRowCount, hasReachedMinimumFlushSize, release, totalBytesAllocated, updateLastValidSegmentRowId
-
Constructor Details
-
VectorSegmentBuilder
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classSegmentBuilder
-
addInternal
- Specified by:
addInternalin classSegmentBuilder
-
flushInternal
protected SegmentMetadata.ComponentMetadataMap flushInternal(IndexDescriptor indexDescriptor) throws IOException - Specified by:
flushInternalin classSegmentBuilder- Throws:
IOException
-