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, updateTokenRangepublic int childCount()
childCount in class AbstractTokenTreeBuilder.Nodepublic int overflowCollisionCount()
protected void serializeOverflowCollisions(java.nio.ByteBuffer buf)
public void serialize(long childBlockIndex,
java.nio.ByteBuffer buf)
serialize in class AbstractTokenTreeBuilder.Nodeprotected abstract void serializeData(java.nio.ByteBuffer buf)
protected AbstractTokenTreeBuilder.Leaf.LeafEntry createEntry(long tok, com.carrotsearch.hppc.LongSet offsets)
Copyright © 2018 The Apache Software Foundation