public interface AnalyticsValueStream
 The back-end production of the value can change inbetween calls to streamObjects(java.util.function.Consumer<java.lang.Object>),
 resulting in different values on each call.
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | AnalyticsValueStream.AbstractAnalyticsValueStream | 
| static class  | AnalyticsValueStream.ExpressionTypeThe types of expressions. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnalyticsValueStream | convertToConstant()Converts this value to a  ConstantValueif it's expression type isAnalyticsValueStream.ExpressionType.CONST. | 
| static String | createExpressionString(String funcName,
                      AnalyticsValueStream... params)Helper to create an expression string for a function. | 
| static AnalyticsValueStream.ExpressionType | determineMappingPhase(String exprString,
                     AnalyticsValueStream... params)Determine whether the expression is a unreduced mapping expression, a reduced mapping expression, or a constant. | 
| String | getExpressionStr()Get the expression string of the analytics value stream. | 
| AnalyticsValueStream.ExpressionType | getExpressionType()Get the type of the expression that this class represents. | 
| String | getName()Get the name of function or value. | 
| void | streamObjects(Consumer<Object> cons)Stream the object representations of all current values, if any exist. | 
String getName()
String getExpressionStr()
ExpressionFactory.createExpression(String), the exact same expression should be created.void streamObjects(Consumer<Object> cons)
cons - The consumer to accept the valuesAnalyticsValueStream convertToConstant()
ConstantValue 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.AnalyticsValueStream.ExpressionType getExpressionType()
static String createExpressionString(String funcName, AnalyticsValueStream... params)
funcName - the name of the functionparams - the parameters of the functionstatic AnalyticsValueStream.ExpressionType determineMappingPhase(String exprString, AnalyticsValueStream... params) throws SolrException
exprString - the string representing the expression, used when creating exceptionsparams - the parametersSolrException - if the params are incompatable types,
 for example if reduced and unreduced params are both includedCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.