public abstract class MutablePointsReader extends PointsReader
PointsReader
whose order of points can be changed.
This class is useful for codecs to optimize flush.PointValues.IntersectVisitor, PointValues.Relation
MAX_DIMENSIONS, MAX_NUM_BYTES
Modifier | Constructor and Description |
---|---|
protected |
MutablePointsReader()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract byte |
getByteAt(int i,
int k)
Get the k-th byte of the i-th value.
|
abstract int |
getDocID(int i)
Return the doc ID of the i-th value.
|
abstract void |
getValue(int i,
BytesRef packedValue)
Set
packedValue with a reference to the packed bytes of the i-th value. |
abstract void |
swap(int i,
int j)
Swap the i-th and j-th values.
|
checkIntegrity, getMergeInstance
getBytesPerDimension, getDocCount, getDocCount, getMaxPackedValue, getMaxPackedValue, getMinPackedValue, getMinPackedValue, getNumDimensions, intersect, size, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources, ramBytesUsed
public abstract void getValue(int i, BytesRef packedValue)
packedValue
with a reference to the packed bytes of the i-th value.public abstract byte getByteAt(int i, int k)
public abstract int getDocID(int i)
public abstract void swap(int i, int j)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.