Module org.apache.lucene.core
Package org.apache.lucene.index
Class SlowCompositeCodecReaderWrapper.SlowCompositeDocValuesProducerWrapper
java.lang.Object
org.apache.lucene.codecs.DocValuesProducer
org.apache.lucene.index.SlowCompositeCodecReaderWrapper.SlowCompositeDocValuesProducerWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
SlowCompositeCodecReaderWrapper
private static class SlowCompositeCodecReaderWrapper.SlowCompositeDocValuesProducerWrapper
extends DocValuesProducer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, OrdinalMap> private final CodecReader[]private final int[]private final DocValuesProducer[] -
Constructor Summary
ConstructorsConstructorDescriptionSlowCompositeDocValuesProducerWrapper(CodecReader[] codecReaders, int[] docStarts) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks consistency of this producervoidclose()ReturnsBinaryDocValuesfor this field.getNumeric(FieldInfo field) ReturnsNumericDocValuesfor this field.ReturnsSortedDocValuesfor this field.getSortedNumeric(FieldInfo field) ReturnsSortedNumericDocValuesfor this field.getSortedSet(FieldInfo field) ReturnsSortedSetDocValuesfor this field.Methods inherited from class org.apache.lucene.codecs.DocValuesProducer
getMergeInstance
-
Field Details
-
codecReaders
-
producers
-
docStarts
private final int[] docStarts -
cachedOrdMaps
-
-
Constructor Details
-
SlowCompositeDocValuesProducerWrapper
SlowCompositeDocValuesProducerWrapper(CodecReader[] codecReaders, int[] docStarts)
-
-
Method Details
-
close
- 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
-
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
-
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
-
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
-
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
-