Module org.apache.lucene.core
Package org.apache.lucene.index
Class PointValuesWriter.MutableSortingPointValues
java.lang.Object
org.apache.lucene.codecs.MutablePointTree
org.apache.lucene.index.PointValuesWriter.MutableSortingPointValues
- All Implemented Interfaces:
Cloneable,PointValues.PointTree
- Enclosing class:
PointValuesWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytegetByteAt(int i, int k) Get the k-th byte of the i-th value.intgetDocID(int i) Return the doc ID of the i-th value.voidSetpackedValuewith a reference to the packed bytes of the i-th value.voidrestore(int i, int j) Restore values between i-th and j-th(excluding) in temporary storage into original storage.voidsave(int i, int j) Save the i-th value into the j-th position in temporary storage.longsize()Return the number of points below the current node.voidswap(int i, int j) Swap the i-th and j-th values.voidVisit all the docs and values below the current node.Methods inherited from class org.apache.lucene.codecs.MutablePointTree
clone, getMaxPackedValue, getMinPackedValue, moveToChild, moveToParent, moveToSibling, visitDocIDs
-
Field Details
-
in
-
docMap
-
-
Constructor Details
-
MutableSortingPointValues
-
-
Method Details
-
size
public long size()Description copied from interface:PointValues.PointTreeReturn the number of points below the current node. -
visitDocValues
Description copied from interface:PointValues.PointTreeVisit all the docs and values below the current node.- Throws:
IOException
-
getValue
Description copied from class:MutablePointTreeSetpackedValuewith a reference to the packed bytes of the i-th value.- Specified by:
getValuein classMutablePointTree
-
getByteAt
public byte getByteAt(int i, int k) Description copied from class:MutablePointTreeGet the k-th byte of the i-th value.- Specified by:
getByteAtin classMutablePointTree
-
getDocID
public int getDocID(int i) Description copied from class:MutablePointTreeReturn the doc ID of the i-th value.- Specified by:
getDocIDin classMutablePointTree
-
swap
public void swap(int i, int j) Description copied from class:MutablePointTreeSwap the i-th and j-th values.- Specified by:
swapin classMutablePointTree
-
save
public void save(int i, int j) Description copied from class:MutablePointTreeSave the i-th value into the j-th position in temporary storage.- Specified by:
savein classMutablePointTree
-
restore
public void restore(int i, int j) Description copied from class:MutablePointTreeRestore values between i-th and j-th(excluding) in temporary storage into original storage.- Specified by:
restorein classMutablePointTree
-