protected abstract class AbstractTokenTreeBuilder.Leaf extends AbstractTokenTreeBuilder.Node
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTokenTreeBuilder.Leaf.LeafEntry |
protected class |
AbstractTokenTreeBuilder.Leaf.SimpleLeafEntry |
Modifier and Type | Field and Description |
---|---|
protected com.carrotsearch.hppc.LongArrayList |
overflowCollisions |
next, nodeMaxToken, nodeMinToken, parent
Constructor and Description |
---|
Leaf(java.lang.Long minToken,
java.lang.Long maxToken) |
Modifier and Type | Method and Description |
---|---|
int |
childCount() |
protected AbstractTokenTreeBuilder.Leaf.LeafEntry |
createEntry(long tok,
com.carrotsearch.hppc.LongSet offsets) |
int |
overflowCollisionCount() |
void |
serialize(long childBlockIndex,
java.nio.ByteBuffer buf) |
protected abstract void |
serializeData(java.nio.ByteBuffer buf) |
protected void |
serializeOverflowCollisions(java.nio.ByteBuffer buf) |
isLastLeaf, isLeaf, isRoot, isSerializable, largestToken, levelIterator, serializeHeader, smallestToken, tokenCount, updateTokenRange
public int childCount()
childCount
in class AbstractTokenTreeBuilder.Node
public int overflowCollisionCount()
protected void serializeOverflowCollisions(java.nio.ByteBuffer buf)
public void serialize(long childBlockIndex, java.nio.ByteBuffer buf)
serialize
in class AbstractTokenTreeBuilder.Node
protected abstract void serializeData(java.nio.ByteBuffer buf)
protected AbstractTokenTreeBuilder.Leaf.LeafEntry createEntry(long tok, com.carrotsearch.hppc.LongSet offsets)
Copyright © 2009-2021 The Apache Software Foundation