Package org.apache.druid.math.expr
Class ExprMacroTable.BaseScalarMacroFunctionExpr
java.lang.Object
org.apache.druid.math.expr.ExprMacroTable.BaseMacroFunctionExpr
org.apache.druid.math.expr.ExprMacroTable.BaseScalarMacroFunctionExpr
- All Implemented Interfaces:
Cacheable,Expr,ExprMacroTable.ExprMacroFunctionExpr
- Direct Known Subclasses:
TimestampExtractExprMacro.TimestampExtractDynamicExpr,TimestampExtractExprMacro.TimestampExtractExpr,TimestampFloorExprMacro.TimestampFloorDynamicExpr,TimestampFloorExprMacro.TimestampFloorExpr
- Enclosing class:
- ExprMacroTable
public abstract static class ExprMacroTable.BaseScalarMacroFunctionExpr
extends ExprMacroTable.BaseMacroFunctionExpr
Base class for
Expr from ExprMacroTable.ExprMacro that accepts all-scalar arguments.-
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 inherited from class org.apache.druid.math.expr.ExprMacroTable.BaseMacroFunctionExpr
args, macroFields inherited from interface org.apache.druid.math.expr.Expr
ARG_JOINER, NULL_LITERAL -
Constructor Summary
ConstructorsConstructorDescriptionBaseScalarMacroFunctionExpr(ExprMacroTable.ExprMacro macro, List<Expr> macroArgs) -
Method Summary
Modifier and TypeMethodDescriptionprotected Expr.BindingAnalysisImplemented by subclasses to provide the value forExprMacroTable.BaseMacroFunctionExpr.analyzeInputs(), which uses a memoized supplier.Methods inherited from class org.apache.druid.math.expr.ExprMacroTable.BaseMacroFunctionExpr
analyzeInputs, asVectorProcessor, canVectorize, equals, getArgs, hashCode, stringify, toString, visitMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.Expr
asBitmapColumnIndex, asColumnIndexSupplier, asSingleThreaded, decorateCacheKeyBuilder, eval, getBindingIfIdentifier, getCacheKey, getIdentifierExprIfIdentifierExpr, getIdentifierIfIdentifier, getLiteralValue, getOutputType, isIdentifier, isLiteral, isNullLiteral, rewriteBindings
-
Constructor Details
-
BaseScalarMacroFunctionExpr
-
-
Method Details
-
supplyAnalyzeInputs
Description copied from class:ExprMacroTable.BaseMacroFunctionExprImplemented by subclasses to provide the value forExprMacroTable.BaseMacroFunctionExpr.analyzeInputs(), which uses a memoized supplier.- Specified by:
supplyAnalyzeInputsin classExprMacroTable.BaseMacroFunctionExpr
-