public class SqlFunctionScalar extends SqlNode
Scalar functions that are more complex, like CASE or CAST, are defined in separate classes.
| Constructor and Description |
|---|
SqlFunctionScalar(ScalarFunction function,
List<SqlNode> arguments,
boolean isInfix,
boolean isPrefix) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(SqlNodeVisitor<R> visitor)
See
SqlNodeVisitor |
List<SqlNode> |
getArguments() |
ScalarFunction |
getFunction() |
String |
getFunctionName() |
int |
getNumArgs() |
SqlNodeType |
getType() |
boolean |
isInfix() |
boolean |
isPrefix() |
String |
toSimpleSql() |
public SqlFunctionScalar(ScalarFunction function, List<SqlNode> arguments, boolean isInfix, boolean isPrefix)
public ScalarFunction getFunction()
public String getFunctionName()
public int getNumArgs()
public boolean isInfix()
public boolean isPrefix()
public String toSimpleSql()
public SqlNodeType getType()
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
SqlNodeSqlNodeVisitoraccept in class SqlNodeR - generic SqlNodeVisitor typevisitor - The visitor object on which the appropriate visit(sqlNode) method is calledAdapterException - can be thrownCopyright © 2019. All rights reserved.