public class GlobalOrdinalMapping
extends org.apache.lucene.index.SortedSetDocValues
SortedSetDocValues implementation that returns ordinals that are global.| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
boolean |
advanceExact(int target) |
long |
cost() |
int |
docID() |
long |
getGlobalOrd(long segmentOrd) |
long |
getValueCount() |
org.apache.lucene.util.BytesRef |
lookupOrd(long globalOrd) |
int |
nextDoc() |
long |
nextOrd() |
public long getValueCount()
getValueCount in class org.apache.lucene.index.SortedSetDocValuespublic final long getGlobalOrd(long segmentOrd)
public boolean advanceExact(int target)
throws java.io.IOException
java.io.IOExceptionpublic long nextOrd()
throws java.io.IOException
nextOrd in class org.apache.lucene.index.SortedSetDocValuesjava.io.IOExceptionpublic org.apache.lucene.util.BytesRef lookupOrd(long globalOrd)
throws java.io.IOException
lookupOrd in class org.apache.lucene.index.SortedSetDocValuesjava.io.IOExceptionpublic int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorpublic int nextDoc()
throws java.io.IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorjava.io.IOExceptionpublic int advance(int target)
throws java.io.IOException
advance in class org.apache.lucene.search.DocIdSetIteratorjava.io.IOExceptionpublic long cost()
cost in class org.apache.lucene.search.DocIdSetIterator