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 TypeMethodDescriptionbyte
getByteAt
(int i, int k) Get the k-th byte of the i-th value.int
getDocID
(int i) Return the doc ID of the i-th value.void
SetpackedValue
with a reference to the packed bytes of the i-th value.void
restore
(int i, int j) Restore values between i-th and j-th(excluding) in temporary storage into original storage.void
save
(int i, int j) Save the i-th value into the j-th position in temporary storage.long
size()
Return the number of points below the current node.void
swap
(int i, int j) Swap the i-th and j-th values.void
Visit 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.PointTree
Return the number of points below the current node. -
visitDocValues
Description copied from interface:PointValues.PointTree
Visit all the docs and values below the current node.- Throws:
IOException
-
getValue
Description copied from class:MutablePointTree
SetpackedValue
with a reference to the packed bytes of the i-th value.- Specified by:
getValue
in classMutablePointTree
-
getByteAt
public byte getByteAt(int i, int k) Description copied from class:MutablePointTree
Get the k-th byte of the i-th value.- Specified by:
getByteAt
in classMutablePointTree
-
getDocID
public int getDocID(int i) Description copied from class:MutablePointTree
Return the doc ID of the i-th value.- Specified by:
getDocID
in classMutablePointTree
-
swap
public void swap(int i, int j) Description copied from class:MutablePointTree
Swap the i-th and j-th values.- Specified by:
swap
in classMutablePointTree
-
save
public void save(int i, int j) Description copied from class:MutablePointTree
Save the i-th value into the j-th position in temporary storage.- Specified by:
save
in classMutablePointTree
-
restore
public void restore(int i, int j) Description copied from class:MutablePointTree
Restore values between i-th and j-th(excluding) in temporary storage into original storage.- Specified by:
restore
in classMutablePointTree
-