Uses of Interface
org.apache.druid.math.expr.NamedFunction
Packages that use NamedFunction
-
Uses of NamedFunction in org.apache.druid.math.expr
Subinterfaces of NamedFunction in org.apache.druid.math.exprModifier and TypeInterfaceDescriptioninterfaceBase interface describing the mechanism used to evaluate anApplyFunctionExpr, which 'applies' aLambdaExprto one or more arrayExpr.static interfaceinterfaceBase interface describing the mechanism used to evaluate aFunctionExpr.Classes in org.apache.druid.math.expr that implement NamedFunctionModifier and TypeClassDescriptionstatic classEvaluates to true if all element of the array inputExprcauses theLambdaExprto evaluate to a 'truthy' valuestatic classEvaluates to true if any element of the array inputExprcauses theLambdaExprto evaluate to a 'truthy' valuestatic classBase class for family ofApplyFunctionwhich aggregate a scalar or array value given one or more array inputExprarguments and an array or scalar "accumulator" argument with an initial valuestatic classBase class for "map" functions, which are a class ofApplyFunctionwhich take a lambda function that is mapped to the values of anApplyFunction.IndexableMapLambdaObjectBindingwhich is created from the outerExpr.ObjectBindingand the values of the arrayExprargument(s)static classAccumulate a value for the cartesian product of 'n' array inputs arguments with an 'n + 1' argumentLambdaExpr.static classMap the cartesian product of 'n' array input arguments to an 'n' argumentLambdaExprstatic classFilter an array to all elements that evaluate to a 'truthy' value for aLambdaExprstatic classAccumulate a value for a single array input with a 2 argumentLambdaExpr.static classMap the scalar values of a single array inputExprto a single argumentLambdaExprstatic classBase class for family ofApplyFunctionwhich evaluate elements elements of a single array input against aLambdaExprto evaluate to a final 'truthy' valuestatic classstatic classstatic classstatic classstatic classScaffolding for a 2 argumentFunctionwhich accepts one array and one scalar input and adds the scalar input to the array in some way.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classFunctionthat takes 1 array operand and 1 scalar operandstatic classstatic classstatic classFunctionthat takes 2 array operandsstatic classstatic classBase scaffolding for functions which accept 2 array arguments and combine them in some waystatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classBase class for a 2 variable inputFunctionimplementationstatic classBase class for a 2 variable input mathematicalFunction, with specialized 'eval' implementations that operate on primitive number typesstatic class"Searched CASE" function, similar toCASE WHEN boolean_expr THEN result [ELSE else_result] ENDin SQL.static class"Simple CASE" function, similar toCASE expr WHEN value THEN result [ELSE else_result] ENDin SQL.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classMany math functions always output aDoubleprimitive, regardless of input type.static classMany math functions always output aDoubleprimitive, regardless of input type.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classSQL function "x IS DISTINCT FROM y".static classSQL function "IS FALSE".static classSQL function "x IS NOT DISTINCT FROM y".static classSQL function "IS NOT FALSE".static classstatic classSQL function "IS NOT TRUE".static classstatic classSQL function "IS TRUE".static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classPrimarily internal helper function used to coerce null, [], and [null] into [null], similar to the logic done byExpressionSelectors.supplierFromDimensionSelector(org.apache.druid.segment.DimensionSelector, boolean, boolean)when the 3rd argument is true, which is done when implicitly mapping scalar functions over mvd values.static classstatic classstatic classstatic classstatic classstatic classnvl is like coalesce, but accepts exactly two arguments.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classBase class for a 2 variable inputFunctionwhose first argument is aExprType.STRINGand second argument isExprType.LONG.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classBase class for a single variable inputFunctionimplementationstatic classBase class for a single variable input mathematicalFunction, with specialized 'eval' implementations that that operate on primitive number typesstatic classstatic classConstructors in org.apache.druid.math.expr with parameters of type NamedFunctionModifierConstructorDescriptionExpressionProcessingException(NamedFunction fn, String msg, Object... formatArgs) ExpressionProcessingException(NamedFunction fn, Throwable e, String msg, Object... formatArgs) ExpressionValidationException(NamedFunction fn, String msg, Object... formatArgs) ExpressionValidationException(NamedFunction fn, Throwable e, String msg, Object... formatArgs) -
Uses of NamedFunction in org.apache.druid.query.expression
Classes in org.apache.druid.query.expression that implement NamedFunctionModifier and TypeClassDescriptionclassComputes a particular quantile from a numeric array.classThis class implements a function that checks if one string contains another string.classThis class implements a function that checks if one string contains another string.static classstatic classstatic classstatic classclassImplements an expression that checks if an IPv4 address belongs to a particular subnet.classImplements an expression that parses a string or long into an IPv4 address stored (as an unsigned int) in a long.classImplements an expression that converts a long or a string into an IPv4 address dotted-decimal string.classImplements an expression that checks if an IPv6 address belongs to a subnet.classclassstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classclassclassclassclassclassclassclassclassclassclassstatic classstatic classstatic class