Class AbstractFunction
- java.lang.Object
-
- com.exasol.util.AbstractTree
-
- com.exasol.util.AbstractTreeNode
-
- com.exasol.sql.expression.function.AbstractFunction
-
- All Implemented Interfaces:
Function,ValueExpression,TreeNode
- Direct Known Subclasses:
ExasolFunction,ExasolUdf
public abstract class AbstractFunction extends AbstractTreeNode implements Function
This is a base class for functions.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringfunctionNameprotected List<ValueExpression>valueExpressions-
Fields inherited from class com.exasol.util.AbstractTree
children, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFunction(String functionName, List<ValueExpression> valueExpressions)Create a new instance usingAbstractFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFunctionName()Get a function's name.-
Methods inherited from class com.exasol.util.AbstractTreeNode
addChild, getRoot, setParent
-
Methods inherited from class com.exasol.util.AbstractTree
getChild, getChildren, getParent, isChild, isFirstSibling, isRoot, isSibling
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.exasol.sql.expression.function.Function
hasParenthesis
-
Methods inherited from interface com.exasol.util.TreeNode
addChild, getChild, getChildren, getParent, getRoot, isChild, isFirstSibling, isRoot, isSibling, setParent
-
Methods inherited from interface com.exasol.sql.expression.ValueExpression
accept
-
-
-
-
Field Detail
-
functionName
protected String functionName
-
valueExpressions
protected List<ValueExpression> valueExpressions
-
-
Constructor Detail
-
AbstractFunction
protected AbstractFunction(String functionName, List<ValueExpression> valueExpressions)
Create a new instance usingAbstractFunction.- Parameters:
functionName- name of a functionvalueExpressions- zero or more value expressions
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
Description copied from interface:FunctionGet a function's name.- Specified by:
getFunctionNamein interfaceFunction- Returns:
- function's name
-
-