public abstract static class BooleanValue.AbstractBooleanValue extends Object implements BooleanValue.CastingBooleanValue
BooleanValue.CastingBooleanValue that automatically casts to all types if BooleanValue.getBoolean() and AnalyticsValue.exists() are implemented.BooleanValue.AbstractBooleanValue, BooleanValue.CastingBooleanValueBooleanValueStream.AbstractBooleanValueStream, BooleanValueStream.CastingBooleanValueStreamStringValue.AbstractStringValue, StringValue.CastingStringValueStringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStreamAnalyticsValue.AbstractAnalyticsValueAnalyticsValueStream.ExpressionType| Constructor and Description |
|---|
AbstractBooleanValue() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject()
Get the object representation of the current value.
|
ExpressionComparator<Boolean> |
getObjectComparator(String expression)
Create an entry comparator used to sort the facet-value buckets of a facet.
|
String |
getString()
Get the String representation of the current value.
|
void |
streamBooleans(BooleanConsumer cons)
Stream the boolean representations of all current values, if any exist.
|
void |
streamObjects(Consumer<Object> cons)
Stream the object representations of all current values, if any exist.
|
void |
streamStrings(Consumer<String> cons)
Stream the String representations of all current values, if any exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanexistscreateExpressionString, determineMappingPhase, getExpressionStr, getExpressionType, getNamepublic String getString()
StringValue
NOTE: The value returned is not valid unless calling AnalyticsValue.exists() afterwards returns TRUE.
getString in interface StringValuepublic Object getObject()
AnalyticsValuegetObject in interface AnalyticsValuepublic void streamBooleans(BooleanConsumer cons)
BooleanValueStreamstreamBooleans in interface BooleanValueStreamcons - The consumer to accept the valuespublic void streamStrings(Consumer<String> cons)
StringValueStreamstreamStrings in interface StringValueStreamcons - The consumer to accept the valuespublic void streamObjects(Consumer<Object> cons)
AnalyticsValueStreamstreamObjects in interface AnalyticsValueStreamcons - The consumer to accept the valuespublic ExpressionComparator<Boolean> getObjectComparator(String expression)
ComparableValuegetObjectComparator in interface ComparableValueexpression - the name of the expression in the results arrayCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.