public class MissingFunction extends LongValue.AbstractLongValue implements ReductionFunction
AnalyticsValue.AbstractAnalyticsValueAnalyticsValueStream.ExpressionTypeLongValue.AbstractLongValue, LongValue.CastingLongValueLongValueStream.AbstractLongValueStream, LongValueStream.CastingLongValueStreamDoubleValue.AbstractDoubleValue, DoubleValue.CastingDoubleValueDoubleValueStream.AbstractDoubleValueStream, DoubleValueStream.CastingDoubleValueStreamStringValue.AbstractStringValue, StringValue.CastingStringValueStringValueStream.AbstractStringValueStream, StringValueStream.CastingStringValueStream| Modifier and Type | Field and Description |
|---|---|
static ExpressionFactory.CreatorFunction |
creatorFunction |
static String |
name |
| Constructor and Description |
|---|
MissingFunction(AnalyticsValueStream param) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists()
Check whether the current value exists.
|
String |
getExpressionStr()
Get the expression string of the analytics value stream.
|
AnalyticsValueStream.ExpressionType |
getExpressionType()
Get the type of the expression that this class represents.
|
long |
getLong()
Get the long representation of the current value.
|
String |
getName()
Get the name of function or value.
|
void |
synchronizeDataCollectors(UnaryOperator<ReductionDataCollector<?>> sync)
Syncs the data collectors with shared versions across the entire Analytics Request
so that as little data as possible is sent across shards.
|
getDouble, getObject, getObjectComparator, getString, streamDoubles, streamLongs, streamObjects, streamStringsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObjectcreateExpressionString, determineMappingPhase, streamObjectspublic static final String name
public static final ExpressionFactory.CreatorFunction creatorFunction
public MissingFunction(AnalyticsValueStream param)
public long getLong()
LongValue
NOTE: The value returned is not valid unless calling AnalyticsValue.exists() afterwards returns TRUE.
public boolean exists()
AnalyticsValueget<Type>() method is called.exists in interface AnalyticsValuepublic void synchronizeDataCollectors(UnaryOperator<ReductionDataCollector<?>> sync)
ReductionFunctionsynchronizeDataCollectors in interface ReductionFunctionsync - a function that takes in a ReductionDataCollector and returns a shared versionpublic String getExpressionStr()
AnalyticsValueStreamExpressionFactory.createExpression(String), the exact same expression should be created.getExpressionStr in interface AnalyticsValueStreampublic String getName()
AnalyticsValueStreamgetName in interface AnalyticsValueStreampublic AnalyticsValueStream.ExpressionType getExpressionType()
AnalyticsValueStreamgetExpressionType in interface AnalyticsValueStreamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.