Class AbstractSortedDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.BinaryDocValues
org.apache.lucene.index.SortedDocValues
org.elasticsearch.index.fielddata.AbstractSortedDocValues
public abstract class AbstractSortedDocValues
extends org.apache.lucene.index.SortedDocValues
Base implementation that throws an
IOException for the
DocIdSetIterator APIs. This impl is safe to use for sorting and
aggregations, which only use advanceExact(int) and
SortedDocValues.ordValue().-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
Constructors Constructor Description AbstractSortedDocValues() -
Method Summary
Modifier and Type Method Description intadvance(int target)abstract booleanadvanceExact(int arg0)longcost()intnextDoc()Methods inherited from class org.apache.lucene.index.SortedDocValues
binaryValue, getValueCount, intersect, lookupOrd, lookupTerm, ordValue, termsEnumMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, docID, empty, range, slowAdvanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractSortedDocValues
public AbstractSortedDocValues()
-
-
Method Details
-
nextDoc
public int nextDoc() throws java.io.IOException- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator- Throws:
java.io.IOException
-
advance
public int advance(int target) throws java.io.IOException- Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator- Throws:
java.io.IOException
-
cost
public long cost()- Specified by:
costin classorg.apache.lucene.search.DocIdSetIterator
-
advanceExact
public abstract boolean advanceExact(int arg0) throws java.io.IOException- Throws:
java.io.IOException
-