public interface FunctionCall
Modifier and Type | Method and Description |
---|---|
Expression[] |
getArgs()
Get the function arguments.
|
String |
getName()
Get the name of the function.
|
int |
getParameterCount()
Get the number of parameters.
|
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 |
isDeterministic()
Whether the function always returns the same result for the same parameters.
|
boolean |
isFast()
Whether the function is fast, meaning the result shouldn't be cached.
|
Expression |
optimize(Session session)
Optimize the function if possible.
|
String getName()
int getParameterCount()
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()
String getSQL()
boolean isDeterministic()
boolean isFast()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.