public class AnalyticsExpression extends Object
Constructor and Description |
---|
AnalyticsExpression(String name,
AnalyticsValue expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
NOTE: Must be called after
toObject() is called, otherwise the value is not guaranteed to be correct. |
AnalyticsValue |
getExpression() |
String |
getName() |
Object |
toObject()
Get the current value of the expression.
|
public AnalyticsExpression(String name, AnalyticsValue expression)
public String getName()
public AnalyticsValue getExpression()
public Object toObject()
ReductionCollectionManager.ReductionDataCollection
given
to the ReductionCollectionManager.setData(org.apache.solr.analytics.function.ReductionCollectionManager.ReductionDataCollection)
method.public boolean exists()
toObject()
is called, otherwise the value is not guaranteed to be correct.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.