|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.index.SortedSetDocValues
org.apache.lucene.index.MultiDocValues.MultiSortedSetDocValues
public static class MultiDocValues.MultiSortedSetDocValues
Implements MultiSortedSetDocValues 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 |
SortedSetDocValues[] |
values
leaf values |
| Fields inherited from class org.apache.lucene.index.SortedSetDocValues |
|---|
EMPTY, NO_MORE_ORDS |
| Method Summary | |
|---|---|
long |
getValueCount()
Returns the number of unique values. |
void |
lookupOrd(long ord,
BytesRef result)
Retrieves the value for the specified ordinal. |
long |
nextOrd()
Returns the next ordinal for the current document (previously set by SortedSetDocValues.setDocument(int). |
void |
setDocument(int docID)
Sets iteration to the specified docID |
| Methods inherited from class org.apache.lucene.index.SortedSetDocValues |
|---|
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 SortedSetDocValues[] values
public final MultiDocValues.OrdinalMap mapping
values to global ord space
| Method Detail |
|---|
public long nextOrd()
SortedSetDocValuesSortedSetDocValues.setDocument(int).
nextOrd in class SortedSetDocValuesSortedSetDocValues.NO_MORE_ORDS.
ordinals are dense, start at 0, then increment by 1 for
the next value in sorted order.public void setDocument(int docID)
SortedSetDocValues
setDocument in class SortedSetDocValuesdocID - document ID
public void lookupOrd(long ord,
BytesRef result)
SortedSetDocValues
lookupOrd in class SortedSetDocValuesord - ordinal to lookupresult - will be populated with the ordinal's valueSortedSetDocValues.nextOrd()public long getValueCount()
SortedSetDocValues
getValueCount in class SortedSetDocValues
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||