Class Lucene80DocValuesProducer
java.lang.Object
org.apache.lucene.codecs.DocValuesProducer
org.apache.lucene.backward_codecs.lucene80.Lucene80DocValuesProducer
- All Implemented Interfaces:
Closeable,AutoCloseable
reader for
Lucene80DocValuesFormat-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class(package private) static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate classReader for longs split into blocks of different bits per values. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, Lucene80DocValuesProducer.BinaryEntry> private final IndexInputprivate final intprivate final Map<String, Lucene80DocValuesProducer.NumericEntry> private final Map<String, Lucene80DocValuesProducer.SortedEntry> private final Map<String, Lucene80DocValuesProducer.SortedNumericEntry> private final Map<String, Lucene80DocValuesProducer.SortedSetEntry> private int -
Constructor Summary
ConstructorsConstructorDescriptionLucene80DocValuesProducer(SegmentReadState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) expert: instantiates a new reader -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks consistency of this producervoidclose()ReturnsBinaryDocValuesfor this field.private BinaryDocValuesprivate NumericDocValuesgetNumeric(FieldInfo field) ReturnsNumericDocValuesfor this field.private LongValuesprivate SortedDocValuesReturnsSortedDocValuesfor this field.getSortedNumeric(FieldInfo field) ReturnsSortedNumericDocValuesfor this field.getSortedSet(FieldInfo field) ReturnsSortedSetDocValuesfor this field.private BinaryDocValuesreadBinary(IndexInput meta, boolean compressed) private voidreadFields(String segmentName, IndexInput meta, FieldInfos infos) readNumeric(IndexInput meta) private voidreadNumeric(IndexInput meta, Lucene80DocValuesProducer.NumericEntry entry) readSorted(IndexInput meta) readSortedNumeric(IndexInput meta) readSortedSet(IndexInput meta) private static voidMethods inherited from class org.apache.lucene.codecs.DocValuesProducer
getMergeInstance
-
Field Details
-
numerics
-
binaries
-
sorted
-
sortedSets
-
sortedNumerics
-
data
-
maxDoc
private final int maxDoc -
version
private int version
-
-
Constructor Details
-
Lucene80DocValuesProducer
Lucene80DocValuesProducer(SegmentReadState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) throws IOException expert: instantiates a new reader- Throws:
IOException
-
-
Method Details
-
readFields
- Throws:
IOException
-
readNumeric
- Throws:
IOException
-
readNumeric
private void readNumeric(IndexInput meta, Lucene80DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
readBinary
private Lucene80DocValuesProducer.BinaryEntry readBinary(IndexInput meta, boolean compressed) throws IOException - Throws:
IOException
-
readSorted
- Throws:
IOException
-
readSortedSet
- Throws:
IOException
-
readTermDict
private static void readTermDict(IndexInput meta, Lucene80DocValuesProducer.TermsDictEntry entry) throws IOException - Throws:
IOException
-
readSortedNumeric
private Lucene80DocValuesProducer.SortedNumericEntry readSortedNumeric(IndexInput meta) throws IOException - Throws:
IOException
-
close
- Throws:
IOException
-
getNumeric
Description copied from class:DocValuesProducerReturnsNumericDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is notDocValuesType.NUMERIC. The return value is nevernull.- Specified by:
getNumericin classDocValuesProducer- Throws:
IOException
-
getNumeric
private NumericDocValues getNumeric(Lucene80DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
getNumericValues
private LongValues getNumericValues(Lucene80DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
getUncompressedBinary
private BinaryDocValues getUncompressedBinary(Lucene80DocValuesProducer.BinaryEntry entry) throws IOException - Throws:
IOException
-
getBinary
Description copied from class:DocValuesProducerReturnsBinaryDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is notDocValuesType.BINARY. The return value is nevernull.- Specified by:
getBinaryin classDocValuesProducer- Throws:
IOException
-
getCompressedBinary
private BinaryDocValues getCompressedBinary(Lucene80DocValuesProducer.BinaryEntry entry) throws IOException - Throws:
IOException
-
getSorted
Description copied from class:DocValuesProducerReturnsSortedDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is notDocValuesType.SORTED. The return value is nevernull.- Specified by:
getSortedin classDocValuesProducer- Throws:
IOException
-
getSorted
- Throws:
IOException
-
getSortedNumeric
Description copied from class:DocValuesProducerReturnsSortedNumericDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is notDocValuesType.SORTED_NUMERIC. The return value is nevernull.- Specified by:
getSortedNumericin classDocValuesProducer- Throws:
IOException
-
getSortedSet
Description copied from class:DocValuesProducerReturnsSortedSetDocValuesfor this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is notDocValuesType.SORTED_SET. The return value is nevernull.- Specified by:
getSortedSetin classDocValuesProducer- Throws:
IOException
-
checkIntegrity
Description copied from class:DocValuesProducerChecks consistency of this producerNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
- Specified by:
checkIntegrityin classDocValuesProducer- Throws:
IOException
-