Package org.apache.solr.analytics.value
Interface StringValue
-
- All Superinterfaces:
AnalyticsValue,AnalyticsValueStream,StringValueStream
- All Known Subinterfaces:
BooleanValue.CastingBooleanValue,DateValue.CastingDateValue,DoubleValue.CastingDoubleValue,FloatValue.CastingFloatValue,IntValue.CastingIntValue,LongValue.CastingLongValue,StringValue.CastingStringValue
- All Known Implementing Classes:
BooleanField,BooleanValue.AbstractBooleanValue,ConstantBooleanValue,ConstantDateValue,ConstantDoubleValue,ConstantFloatValue,ConstantIntValue,ConstantLongValue,ConstantStringValue,CountFunction,DateField,DateValue.AbstractDateValue,DocCountFunction,DoubleField,DoubleValue.AbstractDoubleValue,FloatField,FloatValue.AbstractFloatValue,IntField,IntValue.AbstractIntValue,LongField,LongValue.AbstractLongValue,MeanFunction,MissingFunction,StringField,StringValue.AbstractStringValue,SumFunction,UniqueFunction
public interface StringValue extends StringValueStream, AnalyticsValue
A single-valued analytics value that can be represented as a string.The back-end production of the value can change inbetween calls to
getString()andAnalyticsValue.exists(), resulting in different values on each call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStringValue.AbstractStringValueAn abstract base forStringValue.CastingStringValuethat automatically casts to all types ifgetString()andAnalyticsValue.exists()are implemented.static interfaceStringValue.CastingStringValueAn interface that represents all of the types aStringValueshould be able to cast to.-
Nested classes/interfaces inherited from interface org.apache.solr.analytics.value.AnalyticsValue
AnalyticsValue.AbstractAnalyticsValue
-
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.StringValueStream
StringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetString()Get the String representation of the current value.-
Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValue
exists, getObject
-
Methods inherited from interface org.apache.solr.analytics.value.AnalyticsValueStream
convertToConstant, getExpressionStr, getExpressionType, getName, streamObjects
-
Methods inherited from interface org.apache.solr.analytics.value.StringValueStream
streamStrings
-
-
-
-
Method Detail
-
getString
String getString()
Get the String representation of the current value.NOTE: The value returned is not valid unless calling
AnalyticsValue.exists()afterwards returnsTRUE.- Returns:
- the current value
-
-