@Deprecated public class IntMultiTrieField extends AnalyticsField implements IntValueStream.CastingIntValueStream
TrieIntField
with DocValues enabled.IntValueStream.AbstractIntValueStream, IntValueStream.CastingIntValueStream
LongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStream
FloatValueStream.AbstractFloatValueStream, FloatValueStream.CastingFloatValueStream
DoubleValueStream.AbstractDoubleValueStream, DoubleValueStream.CastingDoubleValueStream
StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
fieldName, initialArrayLength
Constructor and Description |
---|
IntMultiTrieField(String fieldName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
collect(int doc)
Deprecated.
Collect the value(s) of the wrapped field for the given document, and store the value.
|
void |
doSetNextReader(LeafReaderContext context)
Deprecated.
Set the segment reader context
|
void |
streamDoubles(DoubleConsumer cons)
Deprecated.
Stream the double representations of all current values, if any exist.
|
void |
streamFloats(FloatConsumer cons)
Deprecated.
Stream the float representations of all current values, if any exist.
|
void |
streamInts(IntConsumer cons)
Deprecated.
Stream the int representations of all current values, if any exist.
|
void |
streamLongs(LongConsumer cons)
Deprecated.
Stream the long representations of all current values, if any exist.
|
void |
streamObjects(Consumer<Object> cons)
Deprecated.
Stream the object representations of all current values, if any exist.
|
void |
streamStrings(Consumer<String> cons)
Deprecated.
Stream the String representations of all current values, if any exist.
|
convertToConstant, getExpressionStr, getExpressionType, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToConstant, createExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getName
public IntMultiTrieField(String fieldName)
public void doSetNextReader(LeafReaderContext context) throws IOException
AnalyticsField
doSetNextReader
in class AnalyticsField
context
- segment contextIOException
- if an error occurs while loading the leaf readerpublic void collect(int doc) throws IOException
AnalyticsField
collect
in class AnalyticsField
doc
- ID of the document to collectIOException
- if an error occurs while reading the document.public void streamInts(IntConsumer cons)
IntValueStream
streamInts
in interface IntValueStream
cons
- The consumer to accept the valuespublic void streamLongs(LongConsumer cons)
LongValueStream
streamLongs
in interface LongValueStream
cons
- The consumer to accept the valuespublic void streamFloats(FloatConsumer cons)
FloatValueStream
streamFloats
in interface FloatValueStream
cons
- The consumer to accept the valuespublic void streamDoubles(DoubleConsumer cons)
DoubleValueStream
streamDoubles
in interface DoubleValueStream
cons
- The consumer to accept the valuespublic void streamStrings(Consumer<String> cons)
StringValueStream
streamStrings
in interface StringValueStream
cons
- The consumer to accept the valuespublic void streamObjects(Consumer<Object> cons)
AnalyticsValueStream
streamObjects
in interface AnalyticsValueStream
cons
- The consumer to accept the valuesCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.