Class OnDiskBlock<T extends Term>
java.lang.Object
org.apache.cassandra.index.sasi.disk.OnDiskBlock<T>
- Direct Known Subclasses:
OnDiskIndex.DataBlock,OnDiskIndex.PointerBlock
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MappedBufferprotected final intprotected final TokenTreeprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionOnDiskBlock(Descriptor descriptor, MappedBuffer block, OnDiskBlock.BlockType blockType) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Tcast(MappedBuffer data) protected TgetTerm(int index) protected longgetTermPosition(int idx) intintsearch(AbstractType<?> comparator, ByteBuffer query) protected int
-
Field Details
-
blockIndex
-
blockIndexSize
protected final int blockIndexSize -
hasCombinedIndex
protected final boolean hasCombinedIndex -
combinedIndex
-
-
Constructor Details
-
OnDiskBlock
-
-
Method Details
-
search
-
getTerm
-
getTermPosition
protected long getTermPosition(int idx) -
termCount
protected int termCount() -
cast
-
getBlockIndex
-
minOffset
-
maxOffset
-