public final class StatementMetadata extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StatementMetadata.Context |
static class |
StatementMetadata.ProcedureEnvironment
Distinguishes a routine-local catalog from a separately parsed batch's environment.
|
| Constructor and Description |
|---|
StatementMetadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(TStatementList statements,
TSQLEnv env) |
void |
configure(TableNamespace namespace,
TTable table) |
Map<TCustomSqlStatement,StatementMetadata.Context> |
getContexts() |
void |
registerFunction(TCreateFunctionStmt statement,
TSQLEnv env)
Register a function using its declaration's lexical defaults, not the batch's defaults.
|
static void |
registerReturnColumns(TSQLFunction function,
TCreateFunctionStmt statement)
The columns a function's declaration gives its table result (TableFunctionLayout.declaredColumns), registered
with it: a call of it in FROM has them.
|
public StatementMetadata()
public Map<TCustomSqlStatement,StatementMetadata.Context> getContexts()
public void registerFunction(TCreateFunctionStmt statement, TSQLEnv env)
public static void registerReturnColumns(TSQLFunction function, TCreateFunctionStmt statement)
public void configure(TableNamespace namespace, TTable table)
public void collect(TStatementList statements, TSQLEnv env)