public final class JavaTableFunction extends TableFunction
argsADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| 构造器和说明 |
|---|
JavaTableFunction(FunctionAlias functionAlias,
Expression[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Get the name.
|
StringBuilder |
getSQL(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
|
addParameter, doneWithParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSQL, getTraceSQLpublic JavaTableFunction(FunctionAlias functionAlias, Expression[] args)
public ResultInterface getValue(SessionLocal session)
TableFunctiongetValue 在类中 TableFunctionsession - the sessionpublic ResultInterface getValueTemplate(SessionLocal session)
TableFunctiongetValueTemplate 在类中 TableFunctionsession - the sessionpublic void optimize(SessionLocal session)
TableFunctionoptimize 在类中 TableFunctionsession - the sessionpublic StringBuilder getSQL(StringBuilder builder, int sqlFlags)
HasSQLgetSQL 在接口中 HasSQLgetSQL 在类中 TableFunctionbuilder - string buildersqlFlags - formatting flagspublic String getName()
NamedExpressionpublic boolean isDeterministic()
TableFunctionisDeterministic 在类中 TableFunctionCopyright © 2022. All rights reserved.