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().
|
argsADD_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, doneWithParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSQL, getTraceSQLpublic static final int UNNEST
public static final int TABLE
public static final int TABLE_DISTINCT
public ResultInterface getValue(SessionLocal session)
TableFunctiongetValue in class TableFunctionsession - the sessionpublic void optimize(SessionLocal session)
TableFunctionoptimize in class TableFunctionsession - the sessionpublic java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
int sqlFlags)
HasSQLgetSQL in interface HasSQLgetSQL in class TableFunctionbuilder - string buildersqlFlags - formatting flagspublic ResultInterface getValueTemplate(SessionLocal session)
TableFunctiongetValueTemplate in class TableFunctionsession - the sessionpublic void setColumns(java.util.ArrayList<Column> columns)
public java.lang.String getName()
NamedExpressionpublic boolean isDeterministic()
TableFunctionisDeterministic in class TableFunctionpublic int getFunctionType()