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
|
getMergeInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
private 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.IOException
private void readFields(ChecksumIndexInput meta, FieldInfos infos) throws java.io.IOException
java.io.IOException
private Lucene70DocValuesProducer.NumericEntry readNumeric(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOException
private void readNumeric(ChecksumIndexInput meta, Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOException
private Lucene70DocValuesProducer.BinaryEntry readBinary(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOException
private Lucene70DocValuesProducer.SortedEntry readSorted(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOException
private Lucene70DocValuesProducer.SortedSetEntry readSortedSet(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOException
private static void readTermDict(ChecksumIndexInput meta, Lucene70DocValuesProducer.TermsDictEntry entry) throws java.io.IOException
java.io.IOException
private Lucene70DocValuesProducer.SortedNumericEntry readSortedNumeric(ChecksumIndexInput meta) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public long ramBytesUsed()
Accountable
ramBytesUsed
in interface Accountable
public NumericDocValues getNumeric(FieldInfo field) throws java.io.IOException
DocValuesProducer
NumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getNumeric
in class DocValuesProducer
java.io.IOException
private NumericDocValues getNumeric(Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOException
private LongValues getNumericValues(Lucene70DocValuesProducer.NumericEntry entry) throws java.io.IOException
java.io.IOException
public BinaryDocValues getBinary(FieldInfo field) throws java.io.IOException
DocValuesProducer
BinaryDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getBinary
in class DocValuesProducer
java.io.IOException
public SortedDocValues getSorted(FieldInfo field) throws java.io.IOException
DocValuesProducer
SortedDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSorted
in class DocValuesProducer
java.io.IOException
private SortedDocValues getSorted(Lucene70DocValuesProducer.SortedEntry entry) throws java.io.IOException
java.io.IOException
public SortedNumericDocValues getSortedNumeric(FieldInfo field) throws java.io.IOException
DocValuesProducer
SortedNumericDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedNumeric
in class DocValuesProducer
java.io.IOException
public SortedSetDocValues getSortedSet(FieldInfo field) throws java.io.IOException
DocValuesProducer
SortedSetDocValues
for this field.
The returned instance need not be thread-safe: it will only be
used by a single thread.getSortedSet
in class DocValuesProducer
java.io.IOException
public void checkIntegrity() throws java.io.IOException
DocValuesProducer
Note 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 DocValuesProducer
java.io.IOException