Modifier and Type | Field and Description |
---|---|
protected int |
level |
protected int |
nodeID |
protected int |
splitDim |
protected byte[][] |
splitPackedValueStack |
Modifier | Constructor and Description |
---|---|
protected |
IndexTree() |
Modifier and Type | Method and Description |
---|---|
abstract BKDReader.IndexTree |
clone()
Clone, but you are not allowed to pop up past the point where the clone happened.
|
abstract long |
getLeafBlockFP()
Only valid after pushLeft or pushRight, not pop!
|
int |
getNodeID() |
int |
getNumLeaves()
Return the number of leaves below the current node.
|
int |
getSplitDim()
Only valid after pushLeft or pushRight, not pop!
|
abstract BytesRef |
getSplitDimValue()
Only valid after pushLeft or pushRight, not pop!
|
byte[] |
getSplitPackedValue() |
boolean |
isLeafNode() |
boolean |
nodeExists() |
void |
pop() |
void |
pushLeft() |
void |
pushRight() |
protected int nodeID
protected int level
protected int splitDim
protected final byte[][] splitPackedValueStack
public void pushLeft()
public abstract BKDReader.IndexTree clone()
public void pushRight()
public void pop()
public boolean isLeafNode()
public boolean nodeExists()
public int getNodeID()
public byte[] getSplitPackedValue()
public int getSplitDim()
public abstract BytesRef getSplitDimValue()
public abstract long getLeafBlockFP()
public int getNumLeaves()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.