Package org.apache.druid.math.expr
Class ExprMacroTable.BaseScalarUnivariateMacroFunctionExpr
- java.lang.Object
-
- org.apache.druid.math.expr.ExprMacroTable.BaseScalarUnivariateMacroFunctionExpr
-
- All Implemented Interfaces:
Cacheable,Expr,ExprMacroTable.ExprMacroFunctionExpr
- Enclosing class:
- ExprMacroTable
public abstract static class ExprMacroTable.BaseScalarUnivariateMacroFunctionExpr extends Object implements ExprMacroTable.ExprMacroFunctionExpr
Base class for single argumentExprMacroTable.ExprMacrofunctionExpr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.math.expr.Expr
Expr.BindingAnalysis, Expr.InputBindingInspector, Expr.ObjectBinding, Expr.Shuttle, Expr.VectorInputBinding, Expr.VectorInputBindingInspector
-
-
Field Summary
Fields Modifier and Type Field Description protected Exprargprotected Stringname-
Fields inherited from interface org.apache.druid.math.expr.Expr
ARG_JOINER, NULL_LITERAL
-
-
Constructor Summary
Constructors Constructor Description BaseScalarUnivariateMacroFunctionExpr(String name, Expr arg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr.BindingAnalysisanalyzeInputs()booleanequals(Object o)List<Expr>getArgs()inthashCode()Stringstringify()Convert theExprback into parseable string that when parsed withParser.parse(String, ExprMacroTable)will produce an equivalentExpr.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.druid.math.expr.Expr
asVectorProcessor, canVectorize, decorateCacheKeyBuilder, eval, getBindingIfIdentifier, getCacheKey, getIdentifierExprIfIdentifierExpr, getIdentifierIfIdentifier, getLiteralValue, getOutputType, isIdentifier, isLiteral, isNullLiteral, visit
-
-
-
-
Method Detail
-
getArgs
public List<Expr> getArgs()
- Specified by:
getArgsin interfaceExprMacroTable.ExprMacroFunctionExpr
-
analyzeInputs
public Expr.BindingAnalysis analyzeInputs()
Description copied from interface:Expr- Specified by:
analyzeInputsin interfaceExpr
-
stringify
public String stringify()
Description copied from interface:ExprConvert theExprback into parseable string that when parsed withParser.parse(String, ExprMacroTable)will produce an equivalentExpr.
-
-