public final class FunctionDef extends Object implements Serializable, Cloneable
NOTE: This object is NOT immutable or thread-safe. A FunctionDef should not be shared among different threads.
Constructor and Description |
---|
FunctionDef(String name,
Expression[] params)
Constructs the FunctionDef.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Performs a deep clone of this object.
|
Function |
getFunction(QueryContext context)
Returns a Function object from this FunctionDef.
|
String |
getName()
The name of the function.
|
Expression[] |
getParameters()
The list of parameters that are passed to the function.
|
boolean |
isAggregate(QueryContext context)
Returns true if this function is an aggregate, or the parameters are
aggregates.
|
String |
toString()
Human understandable string, used for the column title.
|
public FunctionDef(String name, Expression[] params)
public String getName()
public Expression[] getParameters()
public boolean isAggregate(QueryContext context)
public Function getFunction(QueryContext context)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2015. All rights reserved.