Class AbstractTokenTreeBuilder.Leaf
- java.lang.Object
-
- org.apache.cassandra.index.sasi.disk.AbstractTokenTreeBuilder.Node
-
- org.apache.cassandra.index.sasi.disk.AbstractTokenTreeBuilder.Leaf
-
- Enclosing class:
- AbstractTokenTreeBuilder
protected abstract class AbstractTokenTreeBuilder.Leaf extends AbstractTokenTreeBuilder.Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAbstractTokenTreeBuilder.Leaf.LeafEntryprotected classAbstractTokenTreeBuilder.Leaf.SimpleLeafEntry
-
Field Summary
Fields Modifier and Type Field Description protected com.carrotsearch.hppc.LongArrayListoverflowCollisions-
Fields inherited from class org.apache.cassandra.index.sasi.disk.AbstractTokenTreeBuilder.Node
next, nodeMaxToken, nodeMinToken, parent
-
-
Constructor Summary
Constructors Constructor Description Leaf(java.lang.Long minToken, java.lang.Long maxToken)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intchildCount()protected AbstractTokenTreeBuilder.Leaf.LeafEntrycreateEntry(long tok, com.carrotsearch.hppc.LongSet offsets)intoverflowCollisionCount()voidserialize(long childBlockIndex, java.nio.ByteBuffer buf)protected abstract voidserializeData(java.nio.ByteBuffer buf)protected voidserializeOverflowCollisions(java.nio.ByteBuffer buf)-
Methods inherited from class org.apache.cassandra.index.sasi.disk.AbstractTokenTreeBuilder.Node
isLastLeaf, isLeaf, isRoot, isSerializable, largestToken, levelIterator, serializeHeader, smallestToken, tokenCount, updateTokenRange
-
-
-
-
Method Detail
-
childCount
public int childCount()
- Specified by:
childCountin classAbstractTokenTreeBuilder.Node
-
overflowCollisionCount
public int overflowCollisionCount()
-
serializeOverflowCollisions
protected void serializeOverflowCollisions(java.nio.ByteBuffer buf)
-
serialize
public void serialize(long childBlockIndex, java.nio.ByteBuffer buf)- Specified by:
serializein classAbstractTokenTreeBuilder.Node
-
serializeData
protected abstract void serializeData(java.nio.ByteBuffer buf)
-
createEntry
protected AbstractTokenTreeBuilder.Leaf.LeafEntry createEntry(long tok, com.carrotsearch.hppc.LongSet offsets)
-
-