Class AbstractSortedSetDocValues
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.lucene.index.SortedSetDocValues
-
- org.elasticsearch.index.fielddata.AbstractSortedSetDocValues
-
public abstract class AbstractSortedSetDocValues extends org.apache.lucene.index.SortedSetDocValues
Base implementation that throws anIOException
for theDocIdSetIterator
APIs. This impl is safe to use for sorting and aggregations, which only useadvanceExact(int)
andSortedSetDocValues.getValueCount()
andSortedSetDocValues.nextOrd()
andSortedSetDocValues.lookupOrd(long)
.
-
-
Constructor Summary
Constructors Constructor Description AbstractSortedSetDocValues()
-
Method Summary
Modifier and Type Method Description int
advance(int target)
abstract boolean
advanceExact(int arg0)
long
cost()
int
docID()
int
nextDoc()
-
Methods inherited from class org.apache.lucene.index.SortedSetDocValues
getValueCount, intersect, lookupOrd, lookupTerm, nextOrd, termsEnum
-
-
-
-
Method Detail
-
docID
public int docID()
- Specified by:
docID
in classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
public int nextDoc() throws java.io.IOException
- Specified by:
nextDoc
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
java.io.IOException
-
advance
public int advance(int target) throws java.io.IOException
- Specified by:
advance
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
java.io.IOException
-
cost
public long cost()
- Specified by:
cost
in classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException
- Throws:
java.io.IOException
-
-