Package org.apache.lucene.facet.taxonomy
Class OrdinalsReader
- java.lang.Object
-
- org.apache.lucene.facet.taxonomy.OrdinalsReader
-
- Direct Known Subclasses:
CachedOrdinalsReader
,DocValuesOrdinalsReader
public abstract class OrdinalsReader extends java.lang.Object
Provides per-document ordinals.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrdinalsReader.OrdinalsSegmentReader
Returns ordinals for documents in one segment.
-
Constructor Summary
Constructors Constructor Description OrdinalsReader()
Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.String
getIndexFieldName()
Returns the indexed field name thisOrdinalsReader
is reading from.abstract OrdinalsReader.OrdinalsSegmentReader
getReader(AtomicReaderContext context)
Set current atomic reader.
-
-
-
Method Detail
-
getReader
public abstract OrdinalsReader.OrdinalsSegmentReader getReader(AtomicReaderContext context) throws java.io.IOException
Set current atomic reader.- Throws:
java.io.IOException
-
getIndexFieldName
public abstract java.lang.String getIndexFieldName()
Returns the indexed field name thisOrdinalsReader
is reading from.
-
-