|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.index.BinaryDocValues
org.apache.lucene.index.SortedDocValues
org.apache.lucene.index.MultiDocValues.MultiSortedDocValues
public static class MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.apache.lucene.index.SortedDocValues |
|---|
EMPTY |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.lucene.index.SortedDocValues |
|---|
get, lookupTerm, termsEnum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int[] docStarts
values
public final SortedDocValues[] values
public final MultiDocValues.OrdinalMap mapping
values to global ord space
| Method Detail |
|---|
public int getOrd(int docID)
SortedDocValues
getOrd in class SortedDocValuesdocID - document ID to lookup
public void lookupOrd(int ord,
BytesRef result)
SortedDocValues
lookupOrd in class SortedDocValuesord - ordinal to lookup (must be >= 0 and < SortedDocValues.getValueCount())result - will be populated with the ordinal's valueSortedDocValues.getOrd(int)public int getValueCount()
SortedDocValues
getValueCount in class SortedDocValues
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||