public class DrillFuncHolderExpr extends FunctionHolderExpression implements Iterable<LogicalExpression>
LogicalExpression.De, LogicalExpression.Se
args, nameUsed
Constructor and Description |
---|
DrillFuncHolderExpr(String nameUsed,
DrillFuncHolder holder,
List<LogicalExpression> args,
ExpressionPosition pos) |
Modifier and Type | Method and Description |
---|---|
boolean |
argConstantOnly(int i)
constant input expected for i'th argument?
|
DrillFuncHolderExpr |
copy(List<LogicalExpression> args) |
int |
getCumulativeCost() |
DrillFuncHolder |
getHolder()
Return the underlying function implementation holder.
|
DrillSimpleFunc |
getInterpreter() |
TypeProtos.MajorType |
getMajorType() |
int |
getSelfCost() |
boolean |
isAggregating() |
boolean |
isRandom()
Is the function output non-deterministic?
|
Iterator<LogicalExpression> |
iterator() |
void |
setInterpreter(DrillSimpleFunc interpreter) |
accept, getFieldReference, getName, setFieldReference, toString
getDescription, getPosition, i
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public DrillFuncHolderExpr(String nameUsed, DrillFuncHolder holder, List<LogicalExpression> args, ExpressionPosition pos)
public TypeProtos.MajorType getMajorType()
getMajorType
in interface LogicalExpression
getMajorType
in class LogicalExpressionBase
public Iterator<LogicalExpression> iterator()
iterator
in interface Iterable<LogicalExpression>
public DrillFuncHolder getHolder()
FunctionHolderExpression
getHolder
in class FunctionHolderExpression
public boolean isAggregating()
isAggregating
in class FunctionHolderExpression
public boolean isRandom()
FunctionHolderExpression
isRandom
in class FunctionHolderExpression
public boolean argConstantOnly(int i)
FunctionHolderExpression
argConstantOnly
in class FunctionHolderExpression
public int getSelfCost()
getSelfCost
in interface LogicalExpression
getSelfCost
in class LogicalExpressionBase
public int getCumulativeCost()
getCumulativeCost
in interface LogicalExpression
getCumulativeCost
in class LogicalExpressionBase
public DrillFuncHolderExpr copy(List<LogicalExpression> args)
copy
in class FunctionHolderExpression
public void setInterpreter(DrillSimpleFunc interpreter)
public DrillSimpleFunc getInterpreter()
Copyright © 1970 The Apache Software Foundation. All rights reserved.