public final class ArrayTableFunction extends TableFunction
Modifier and Type | Field and Description |
---|---|
static int |
TABLE
TABLE() (non-standard).
|
static int |
TABLE_DISTINCT
TABLE_DISTINCT() (non-standard).
|
static int |
UNNEST
UNNEST().
|
args
ADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS
Constructor and Description |
---|
ArrayTableFunction(int function) |
Modifier and Type | Method and Description |
---|---|
int |
getFunctionType() |
java.lang.String |
getName()
Get the name.
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
int sqlFlags)
Appends the SQL statement of this object to the specified builder.
|
ResultInterface |
getValue(SessionLocal session)
Get a result with.
|
ResultInterface |
getValueTemplate(SessionLocal session)
Get an empty result with the column names set.
|
boolean |
isDeterministic()
Whether the function always returns the same result for the same
parameters.
|
void |
optimize(SessionLocal session)
Try to optimize this table function
|
void |
setColumns(java.util.ArrayList<Column> columns) |
addParameter, doneWithParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSQL, getTraceSQL
public static final int UNNEST
public static final int TABLE
public static final int TABLE_DISTINCT
public ResultInterface getValue(SessionLocal session)
TableFunction
getValue
in class TableFunction
session
- the sessionpublic void optimize(SessionLocal session)
TableFunction
optimize
in class TableFunction
session
- the sessionpublic java.lang.StringBuilder getSQL(java.lang.StringBuilder builder, int sqlFlags)
HasSQL
getSQL
in interface HasSQL
getSQL
in class TableFunction
builder
- string buildersqlFlags
- formatting flagspublic ResultInterface getValueTemplate(SessionLocal session)
TableFunction
getValueTemplate
in class TableFunction
session
- the sessionpublic void setColumns(java.util.ArrayList<Column> columns)
public java.lang.String getName()
NamedExpression
public boolean isDeterministic()
TableFunction
isDeterministic
in class TableFunction
public int getFunctionType()