public interface FunctionCall
Modifier and Type | Method and Description |
---|---|
Expression[] |
getArgs()
Get the function arguments.
|
java.lang.String |
getName()
Get the name of the function.
|
java.lang.String |
getSQL()
Get the SQL snippet of the function (including arguments).
|
int |
getType()
Get the data type.
|
ValueResultSet |
getValueForColumnList(Session session,
Expression[] nullArgs)
Get an empty result set with the column names set.
|
boolean |
isBufferResultSetToLocalTemp()
Should the return value ResultSet be buffered in a local temporary file?
|
boolean |
isDeterministic()
Whether the function always returns the same result for the same
parameters.
|
Expression |
optimize(Session session)
Optimize the function if possible.
|
java.lang.String getName()
ValueResultSet getValueForColumnList(Session session, Expression[] nullArgs)
session
- the sessionnullArgs
- the argument list (some arguments may be null)int getType()
Expression optimize(Session session)
session
- the sessionExpression[] getArgs()
java.lang.String getSQL()
boolean isDeterministic()
boolean isBufferResultSetToLocalTemp()