public class ExpressionToolbox extends Object
Constructor | Description |
---|---|
ExpressionToolbox() |
Modifier and Type | Method | Description |
---|---|---|
static void |
findAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds) |
Finds all functions for a given expression.
|
static void |
findAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier fi,
List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds) |
Finds all functions for a given expression and function identifier.
|
static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> |
findFirstFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier fi) |
|
static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> |
findLastFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe) |
|
static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> |
findVariableExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe) |
|
static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> |
findVariableExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
org.apache.hyracks.algebricks.core.algebra.base.LogicalVariable lv) |
|
static void |
findVariableExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds) |
|
static Function |
getBuiltIn(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe) |
|
static void |
getConstantAsPointable(org.apache.hyracks.algebricks.core.algebra.expressions.ConstantExpression typeExpression,
TaggedValuePointable tvp) |
|
static SequenceType |
getOutputSequenceType(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef,
org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> argFirstM,
StaticContext dCtx) |
|
static int |
getTypeExpressionTypeArgument(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM) |
|
static SequenceType |
getTypeExpressionTypeArgument(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM,
StaticContext dCtx) |
|
static boolean |
isFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe,
org.apache.hyracks.algebricks.core.algebra.expressions.AbstractFunctionCallExpression afce) |
public static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> findVariableExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, org.apache.hyracks.algebricks.core.algebra.base.LogicalVariable lv)
public static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> findVariableExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe)
public static void findVariableExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds)
public static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> findLastFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe)
public static org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> findFirstFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier fi)
public static void findAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds)
mutableLe
- Search logical expressionfinds
- Logical expressions foundpublic static void findAllFunctionExpressions(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, org.apache.hyracks.algebricks.core.algebra.functions.FunctionIdentifier fi, List<org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression>> finds)
mutableLe
- Search logical expressionfi
- Function indentifierfinds
- Logical expressions foundpublic static Function getBuiltIn(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe)
public static void getConstantAsPointable(org.apache.hyracks.algebricks.core.algebra.expressions.ConstantExpression typeExpression, TaggedValuePointable tvp)
public static int getTypeExpressionTypeArgument(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM)
public static SequenceType getTypeExpressionTypeArgument(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> searchM, StaticContext dCtx)
public static SequenceType getOutputSequenceType(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalOperator> opRef, org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> argFirstM, StaticContext dCtx)
public static boolean isFunctionExpression(org.apache.commons.lang3.mutable.Mutable<org.apache.hyracks.algebricks.core.algebra.base.ILogicalExpression> mutableLe, org.apache.hyracks.algebricks.core.algebra.expressions.AbstractFunctionCallExpression afce)
Copyright © 2019 Apache Software Foundation. All rights reserved.