public abstract static class StringValue.AbstractStringValue extends Object implements StringValue.CastingStringValue
StringValue.CastingStringValue that automatically casts to all types if StringValue.getString() and AnalyticsValue.exists() are implemented.StringValue.AbstractStringValue, StringValue.CastingStringValueStringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStreamAnalyticsValue.AbstractAnalyticsValueAnalyticsValueStream.AbstractAnalyticsValueStream, AnalyticsValueStream.ExpressionType| Constructor and Description | 
|---|
| AbstractStringValue() | 
| Modifier and Type | Method and Description | 
|---|---|
| AnalyticsValue | convertToConstant()Converts this value to a  ConstantValueif it's expression type isAnalyticsValueStream.ExpressionType.CONST. | 
| String | getObject()Get the object representation of the current value. | 
| ExpressionComparator<String> | getObjectComparator(String expression)Create an entry comparator used to sort the facet-value buckets of a facet. | 
| void | streamObjects(Consumer<Object> func)Stream the object representations of all current values, if any exist. | 
| void | streamStrings(Consumer<String> func)Stream the String representations of all current values, if any exist. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStringexistscreateExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getNamepublic String getObject()
AnalyticsValuegetObject in interface AnalyticsValuepublic void streamStrings(Consumer<String> func)
StringValueStreamstreamStrings in interface StringValueStreamfunc - The consumer to accept the valuespublic void streamObjects(Consumer<Object> func)
AnalyticsValueStreamstreamObjects in interface AnalyticsValueStreamfunc - The consumer to accept the valuespublic AnalyticsValue convertToConstant()
AnalyticsValueStreamConstantValue if it's expression type is AnalyticsValueStream.ExpressionType.CONST.
 
 If the value is reduced then no conversion will occur and the value itself will be returned.convertToConstant in interface AnalyticsValueStreampublic ExpressionComparator<String> getObjectComparator(String expression)
ComparableValuegetObjectComparator in interface ComparableValueexpression - the name of the expression in the results arrayCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.