public class DiskDocValuesConsumer extends DocValuesConsumer
DiskDocValuesFormat| Modifier and Type | Field and Description |
|---|---|
static int |
DELTA_COMPRESSED
Compressed using packed blocks of ints.
|
static int |
GCD_COMPRESSED
Compressed by computing the GCD.
|
static int |
TABLE_COMPRESSED
Compressed by giving IDs to unique values.
|
| Constructor and Description |
|---|
DiskDocValuesConsumer(SegmentWriteState state,
String dataCodec,
String dataExtension,
String metaCodec,
String metaExtension) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBinaryField(FieldInfo field,
Iterable<BytesRef> values) |
void |
addNumericField(FieldInfo field,
Iterable<Number> values) |
void |
addSortedField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrd) |
void |
addSortedSetField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrdCount,
Iterable<Number> ords) |
void |
close() |
mergeBinaryField, mergeNumericField, mergeSortedField, mergeSortedSetFieldpublic static final int DELTA_COMPRESSED
public static final int GCD_COMPRESSED
public static final int TABLE_COMPRESSED
public DiskDocValuesConsumer(SegmentWriteState state, String dataCodec, String dataExtension, String metaCodec, String metaExtension) throws IOException
IOExceptionpublic void addNumericField(FieldInfo field, Iterable<Number> values) throws IOException
addNumericField in class DocValuesConsumerIOExceptionpublic void addBinaryField(FieldInfo field, Iterable<BytesRef> values) throws IOException
addBinaryField in class DocValuesConsumerIOExceptionpublic void addSortedField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrd) throws IOException
addSortedField in class DocValuesConsumerIOExceptionpublic void addSortedSetField(FieldInfo field, Iterable<BytesRef> values, Iterable<Number> docToOrdCount, Iterable<Number> ords) throws IOException
addSortedSetField in class DocValuesConsumerIOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.