Class IntMultiTrieField
- java.lang.Object
-
- org.apache.solr.analytics.function.field.AnalyticsField
-
- org.apache.solr.analytics.function.field.IntMultiTrieField
-
- All Implemented Interfaces:
AnalyticsValueStream,DoubleValueStream,FloatValueStream,IntValueStream,IntValueStream.CastingIntValueStream,LongValueStream,StringValueStream
@Deprecated public class IntMultiTrieField extends AnalyticsField implements IntValueStream.CastingIntValueStream
Deprecated.Trie fields are deprecated as of Solr 7.0An analytics wrapper for a multi-valuedTrieIntFieldwith DocValues enabled.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
AnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.DoubleValueStream
DoubleValueStream.AbstractDoubleValueStream, DoubleValueStream.CastingDoubleValueStream
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.FloatValueStream
FloatValueStream.AbstractFloatValueStream, FloatValueStream.CastingFloatValueStream
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.IntValueStream
IntValueStream.AbstractIntValueStream, IntValueStream.CastingIntValueStream
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.LongValueStream
LongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStream
-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.StringValueStream
StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
-
-
Field Summary
-
Fields inherited from class org.apache.solr.analytics.function.field.AnalyticsField
fieldName, initialArrayLength
-
-
Constructor Summary
Constructors Constructor Description IntMultiTrieField(String fieldName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcollect(int doc)Deprecated.Collect the value(s) of the wrapped field for the given document, and store the value.voiddoSetNextReader(org.apache.lucene.index.LeafReaderContext context)Deprecated.Set the segment reader contextvoidstreamDoubles(DoubleConsumer cons)Deprecated.Stream the double representations of all current values, if any exist.voidstreamFloats(FloatConsumer cons)Deprecated.Stream the float representations of all current values, if any exist.voidstreamInts(IntConsumer cons)Deprecated.Stream the int representations of all current values, if any exist.voidstreamLongs(LongConsumer cons)Deprecated.Stream the long representations of all current values, if any exist.voidstreamObjects(Consumer<Object> cons)Deprecated.Stream the object representations of all current values, if any exist.voidstreamStrings(Consumer<String> cons)Deprecated.Stream the String representations of all current values, if any exist.-
Methods inherited from class org.apache.solr.analytics.function.field.AnalyticsField
convertToConstant, getExpressionStr, getExpressionType, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
convertToConstant, getExpressionStr, getExpressionType, getName
-
-
-
-
Constructor Detail
-
IntMultiTrieField
public IntMultiTrieField(String fieldName)
Deprecated.
-
-
Method Detail
-
doSetNextReader
public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDeprecated.Description copied from class:AnalyticsFieldSet the segment reader context- Specified by:
doSetNextReaderin classAnalyticsField- Parameters:
context- segment context- Throws:
IOException- if an error occurs while loading the leaf reader
-
collect
public void collect(int doc) throws IOExceptionDeprecated.Description copied from class:AnalyticsFieldCollect the value(s) of the wrapped field for the given document, and store the value.- Specified by:
collectin classAnalyticsField- Parameters:
doc- ID of the document to collect- Throws:
IOException- if an error occurs while reading the document.
-
streamInts
public void streamInts(IntConsumer cons)
Deprecated.Description copied from interface:IntValueStreamStream the int representations of all current values, if any exist.- Specified by:
streamIntsin interfaceIntValueStream- Parameters:
cons- The consumer to accept the values
-
streamLongs
public void streamLongs(LongConsumer cons)
Deprecated.Description copied from interface:LongValueStreamStream the long representations of all current values, if any exist.- Specified by:
streamLongsin interfaceLongValueStream- Parameters:
cons- The consumer to accept the values
-
streamFloats
public void streamFloats(FloatConsumer cons)
Deprecated.Description copied from interface:FloatValueStreamStream the float representations of all current values, if any exist.- Specified by:
streamFloatsin interfaceFloatValueStream- Parameters:
cons- The consumer to accept the values
-
streamDoubles
public void streamDoubles(DoubleConsumer cons)
Deprecated.Description copied from interface:DoubleValueStreamStream the double representations of all current values, if any exist.- Specified by:
streamDoublesin interfaceDoubleValueStream- Parameters:
cons- The consumer to accept the values
-
streamStrings
public void streamStrings(Consumer<String> cons)
Deprecated.Description copied from interface:StringValueStreamStream the String representations of all current values, if any exist.- Specified by:
streamStringsin interfaceStringValueStream- Parameters:
cons- The consumer to accept the values
-
streamObjects
public void streamObjects(Consumer<Object> cons)
Deprecated.Description copied from interface:AnalyticsValueStreamStream the object representations of all current values, if any exist.- Specified by:
streamObjectsin interfaceAnalyticsValueStream- Parameters:
cons- The consumer to accept the values
-
-