public static class MultiDocValues.MultiSortedDocValues extends SortedDocValues
Modifier and Type | Field and Description |
---|---|
int[] |
docStarts
docbase for each leaf: parallel with
values |
MultiDocValues.OrdinalMap |
mapping
ordinal map mapping ords from
values to global ord space |
SortedDocValues[] |
values
leaf values
|
EMPTY
MISSING
Modifier and Type | Method and Description |
---|---|
int |
getOrd(int docID)
Returns the ordinal for the specified docID.
|
int |
getValueCount()
Returns the number of unique values.
|
void |
lookupOrd(int ord,
BytesRef result)
Retrieves the value for the specified ordinal.
|
get, lookupTerm
public final int[] docStarts
values
public final SortedDocValues[] values
public final MultiDocValues.OrdinalMap mapping
values
to global ord spacepublic int getOrd(int docID)
SortedDocValues
getOrd
in class SortedDocValues
docID
- document ID to lookuppublic void lookupOrd(int ord, BytesRef result)
SortedDocValues
lookupOrd
in class SortedDocValues
ord
- ordinal to lookupresult
- will be populated with the ordinal's valueSortedDocValues.getOrd(int)
public int getValueCount()
SortedDocValues
getValueCount
in class SortedDocValues
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.