final class Lucene70DocValuesProducer extends DocValuesProducer implements java.io.Closeable
Lucene70DocValuesFormat| Modifier and Type | Class and Description |
|---|---|
private static class |
Lucene70DocValuesProducer.BaseSortedDocValues |
private static class |
Lucene70DocValuesProducer.BaseSortedSetDocValues |
private static class |
Lucene70DocValuesProducer.BinaryEntry |
private static class |
Lucene70DocValuesProducer.DenseBinaryDocValues |
private static class |
Lucene70DocValuesProducer.DenseNumericDocValues |
private static class |
Lucene70DocValuesProducer.NumericEntry |
private static class |
Lucene70DocValuesProducer.SortedEntry |
private static class |
Lucene70DocValuesProducer.SortedNumericEntry |
private static class |
Lucene70DocValuesProducer.SortedSetEntry |
private static class |
Lucene70DocValuesProducer.SparseBinaryDocValues |
private static class |
Lucene70DocValuesProducer.SparseNumericDocValues |
private static class |
Lucene70DocValuesProducer.TermsDict |
private static class |
Lucene70DocValuesProducer.TermsDictEntry |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,Lucene70DocValuesProducer.BinaryEntry> |
binaries |
private IndexInput |
data |
private int |
maxDoc |
private java.util.Map<java.lang.String,Lucene70DocValuesProducer.NumericEntry> |
numerics |
private long |
ramBytesUsed |
private java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedEntry> |
sorted |
private java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedNumericEntry> |
sortedNumerics |
private java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedSetEntry> |
sortedSets |
| Constructor and Description |
|---|
Lucene70DocValuesProducer(SegmentReadState state,
java.lang.String dataCodec,
java.lang.String dataExtension,
java.lang.String metaCodec,
java.lang.String metaExtension)
expert: instantiates a new reader
|
getMergeInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesprivate final java.util.Map<java.lang.String,Lucene70DocValuesProducer.NumericEntry> numerics
private final java.util.Map<java.lang.String,Lucene70DocValuesProducer.BinaryEntry> binaries
private final java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedEntry> sorted
private final java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedSetEntry> sortedSets
private final java.util.Map<java.lang.String,Lucene70DocValuesProducer.SortedNumericEntry> sortedNumerics
private long ramBytesUsed
private final IndexInput data
private final int maxDoc
Lucene70DocValuesProducer(SegmentReadState state, java.lang.String dataCodec, java.lang.String dataExtension, java.lang.String metaCodec, java.lang.String metaExtension) throws java.io.IOException
java.io.IOExceptionprivate void readFields(ChecksumIndexInput meta, FieldInfos infos) throws java.io.IOException
java.io.IOExceptionprivate Lucene70DocValuesProducer.NumericEntry readNumeric(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOExceptionprivate void readNumeric(ChecksumIndexInput meta, Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOExceptionprivate Lucene70DocValuesProducer.BinaryEntry readBinary(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOExceptionprivate Lucene70DocValuesProducer.SortedEntry readSorted(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOExceptionprivate Lucene70DocValuesProducer.SortedSetEntry readSortedSet(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOExceptionprivate static void readTermDict(ChecksumIndexInput meta, Lucene70DocValuesProducer.TermsDictEntry entry) throws java.io.IOException
java.io.IOExceptionprivate Lucene70DocValuesProducer.SortedNumericEntry readSortedNumeric(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic long ramBytesUsed()
AccountableramBytesUsed in interface Accountablepublic NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
DocValuesProducerNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric in class DocValuesProducerjava.io.IOExceptionprivate NumericDocValues getNumeric(Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOExceptionprivate LongValues getNumericValues(Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOExceptionpublic BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
DocValuesProducerBinaryDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary in class DocValuesProducerjava.io.IOExceptionpublic SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
DocValuesProducerSortedDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted in class DocValuesProducerjava.io.IOExceptionprivate SortedDocValues getSorted(Lucene70DocValuesProducer.SortedEntry entry) throws java.io.IOException
java.io.IOExceptionpublic SortedNumericDocValues getSortedNumeric(FieldInfo field) throws java.io.IOException
DocValuesProducerSortedNumericDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedNumeric in class DocValuesProducerjava.io.IOExceptionpublic SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
DocValuesProducerSortedSetDocValues for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet in class DocValuesProducerjava.io.IOExceptionpublic void checkIntegrity()
throws java.io.IOException
DocValuesProducerNote that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.
checkIntegrity in class DocValuesProducerjava.io.IOException