Package org.apache.druid.math.expr
Class ApplyFunction.AnyMatchFunction
java.lang.Object
org.apache.druid.math.expr.ApplyFunction.MatchFunction
org.apache.druid.math.expr.ApplyFunction.AnyMatchFunction
- All Implemented Interfaces:
ApplyFunction,NamedFunction
- Enclosing interface:
- ApplyFunction
Evaluates to true if any element of the array input
Expr causes the LambdaExpr to evaluate to a
'truthy' value-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.druid.math.expr.ApplyFunction
ApplyFunction.AllMatchFunction, ApplyFunction.AnyMatchFunction, ApplyFunction.BaseFoldFunction, ApplyFunction.BaseMapFunction, ApplyFunction.CartesianFoldFunction, ApplyFunction.CartesianFoldLambdaBinding, ApplyFunction.CartesianMapFunction, ApplyFunction.CartesianMapLambdaBinding, ApplyFunction.FilterFunction, ApplyFunction.FoldFunction, ApplyFunction.FoldLambdaBinding, ApplyFunction.IndexableFoldLambdaBinding, ApplyFunction.IndexableMapLambdaObjectBinding, ApplyFunction.LambdaInputBindingInspector, ApplyFunction.MapFunction, ApplyFunction.MapLambdaBinding, ApplyFunction.MatchFunction, ApplyFunction.SettableLambdaBinding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmatch(Object[] values, LambdaExpr expr, ApplyFunction.SettableLambdaBinding bindings) name()Name of the functionMethods inherited from class org.apache.druid.math.expr.ApplyFunction.MatchFunction
apply, getArrayInputs, getOutputType, validateArgumentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.ApplyFunction
asVectorProcessor, canVectorize, hasArrayOutputMethods inherited from interface org.apache.druid.math.expr.NamedFunction
processingFailed, processingFailed, validationFailed, validationFailed, validationHelperCheckAnyOfArgumentCount, validationHelperCheckArgIsLiteral, validationHelperCheckArgumentCount, validationHelperCheckArgumentCount, validationHelperCheckArgumentRange, validationHelperCheckLambaArgumentCount, validationHelperCheckMinArgumentCount, validationHelperCheckMinArgumentCount
-
Constructor Details
-
AnyMatchFunction
public AnyMatchFunction()
-
-
Method Details
-
name
Description copied from interface:NamedFunctionName of the function -
match
public ExprEval match(Object[] values, LambdaExpr expr, ApplyFunction.SettableLambdaBinding bindings) - Specified by:
matchin classApplyFunction.MatchFunction
-