Class Lucene70DocValuesProducer
java.lang.Object
org.apache.lucene.codecs.DocValuesProducer
org.apache.lucene.backward_codecs.lucene70.Lucene70DocValuesProducer
- All Implemented Interfaces:
Closeable
,AutoCloseable
reader for
Lucene70DocValuesFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,
Lucene70DocValuesProducer.BinaryEntry> private final IndexInput
private final int
private final Map<String,
Lucene70DocValuesProducer.NumericEntry> private final Map<String,
Lucene70DocValuesProducer.SortedEntry> private final Map<String,
Lucene70DocValuesProducer.SortedNumericEntry> private final Map<String,
Lucene70DocValuesProducer.SortedSetEntry> -
Constructor Summary
ConstructorsConstructorDescriptionLucene70DocValuesProducer
(SegmentReadState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) expert: instantiates a new reader -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks consistency of this producervoid
close()
ReturnsBinaryDocValues
for this field.private NumericDocValues
getNumeric
(FieldInfo field) ReturnsNumericDocValues
for this field.private LongValues
private SortedDocValues
ReturnsSortedDocValues
for this field.getSortedNumeric
(FieldInfo field) ReturnsSortedNumericDocValues
for this field.getSortedSet
(FieldInfo field) ReturnsSortedSetDocValues
for this field.readBinary
(ChecksumIndexInput meta) private void
readFields
(ChecksumIndexInput meta, FieldInfos infos) private void
readSorted
(ChecksumIndexInput meta) private static void
Methods inherited from class org.apache.lucene.codecs.DocValuesProducer
getMergeInstance
-
Field Details
-
numerics
-
binaries
-
sorted
-
sortedSets
-
sortedNumerics
-
data
-
maxDoc
private final int maxDoc
-
-
Constructor Details
-
Lucene70DocValuesProducer
Lucene70DocValuesProducer(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
private Lucene70DocValuesProducer.NumericEntry readNumeric(ChecksumIndexInput meta) throws IOException - Throws:
IOException
-
readNumeric
private void readNumeric(ChecksumIndexInput meta, Lucene70DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
readBinary
private Lucene70DocValuesProducer.BinaryEntry readBinary(ChecksumIndexInput meta) throws IOException - Throws:
IOException
-
readSorted
private Lucene70DocValuesProducer.SortedEntry readSorted(ChecksumIndexInput meta) throws IOException - Throws:
IOException
-
readSortedSet
private Lucene70DocValuesProducer.SortedSetEntry readSortedSet(ChecksumIndexInput meta) throws IOException - Throws:
IOException
-
readTermDict
private static void readTermDict(ChecksumIndexInput meta, Lucene70DocValuesProducer.TermsDictEntry entry) throws IOException - Throws:
IOException
-
readSortedNumeric
private Lucene70DocValuesProducer.SortedNumericEntry readSortedNumeric(ChecksumIndexInput meta) throws IOException - Throws:
IOException
-
close
- Throws:
IOException
-
getNumeric
Description copied from class:DocValuesProducer
ReturnsNumericDocValues
for 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:
getNumeric
in classDocValuesProducer
- Throws:
IOException
-
getNumeric
private NumericDocValues getNumeric(Lucene70DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
getNumericValues
private LongValues getNumericValues(Lucene70DocValuesProducer.NumericEntry entry) throws IOException - Throws:
IOException
-
getBinary
Description copied from class:DocValuesProducer
ReturnsBinaryDocValues
for 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:
getBinary
in classDocValuesProducer
- Throws:
IOException
-
getSorted
Description copied from class:DocValuesProducer
ReturnsSortedDocValues
for 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:
getSorted
in classDocValuesProducer
- Throws:
IOException
-
getSorted
- Throws:
IOException
-
getSortedNumeric
Description copied from class:DocValuesProducer
ReturnsSortedNumericDocValues
for 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:
getSortedNumeric
in classDocValuesProducer
- Throws:
IOException
-
getSortedSet
Description copied from class:DocValuesProducer
ReturnsSortedSetDocValues
for 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:
getSortedSet
in classDocValuesProducer
- Throws:
IOException
-
checkIntegrity
Description copied from class:DocValuesProducer
Checks 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:
checkIntegrity
in classDocValuesProducer
- Throws:
IOException
-