@Internal
public abstract class AbstractStreamTableEnvironmentImpl
extends org.apache.flink.table.api.internal.TableEnvironmentImpl
StreamTableEnvironment.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.streaming.api.environment.StreamExecutionEnvironment |
executionEnvironment |
| Constructor and Description |
|---|
AbstractStreamTableEnvironmentImpl(org.apache.flink.table.catalog.CatalogManager catalogManager,
org.apache.flink.table.module.ModuleManager moduleManager,
org.apache.flink.table.api.TableConfig tableConfig,
org.apache.flink.table.delegation.Executor executor,
org.apache.flink.table.catalog.FunctionCatalog functionCatalog,
org.apache.flink.table.delegation.Planner planner,
boolean isStreamingMode,
ClassLoader userClassLoader,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> DataStreamQueryOperation<T> |
asQueryOperation(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream,
Optional<List<org.apache.flink.table.expressions.Expression>> fields) |
void |
attachAsDataStream(List<org.apache.flink.table.operations.ModifyOperation> modifyOperations) |
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment |
execEnv()
This is a temporary workaround for Python API.
|
protected <T> org.apache.flink.api.common.typeinfo.TypeInformation<T> |
extractTypeInformation(org.apache.flink.table.api.Table table,
Class<T> clazz) |
protected <T> org.apache.flink.table.api.Table |
fromStreamInternal(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream,
org.apache.flink.table.api.Schema schema,
String viewPath,
org.apache.flink.table.connector.ChangelogMode changelogMode) |
static org.apache.flink.table.delegation.Executor |
lookupExecutor(ClassLoader classLoader,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment) |
protected org.apache.flink.table.operations.QueryOperation |
qualifyQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier identifier,
org.apache.flink.table.operations.QueryOperation queryOperation) |
protected <T> org.apache.flink.streaming.api.datastream.DataStream<T> |
toStreamInternal(org.apache.flink.table.api.Table table,
org.apache.flink.table.operations.ModifyOperation modifyOperation) |
protected <T> org.apache.flink.streaming.api.datastream.DataStream<T> |
toStreamInternal(org.apache.flink.table.api.Table table,
org.apache.flink.table.catalog.SchemaTranslator.ProducingResult schemaTranslationResult,
org.apache.flink.table.connector.ChangelogMode changelogMode) |
protected void |
validateTimeCharacteristic(boolean isRowtimeDefined) |
protected <T> org.apache.flink.table.types.DataType |
wrapWithChangeFlag(org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType) |
compilePlan, compilePlanSql, create, create, createFunction, createFunction, createStatementSet, createTable, createTable, createTemporaryFunction, createTemporaryFunction, createTemporarySystemFunction, createTemporarySystemFunction, createTemporaryTable, createTemporaryView, dropFunction, dropTemporaryFunction, dropTemporarySystemFunction, dropTemporaryTable, dropTemporaryView, executeInternal, executeInternal, executePlan, executeSql, explainInternal, explainPlan, explainSql, from, from, fromTableSource, fromValues, fromValues, fromValues, fromValues, fromValues, fromValues, getCatalog, getCatalogManager, getCompletionHints, getConfig, getCurrentCatalog, getCurrentDatabase, getOperationTreeBuilder, getParser, getPlanner, listCatalogs, listDatabases, listFullModules, listFunctions, listModules, listTables, listTables, listTemporaryTables, listTemporaryViews, listUserDefinedFunctions, listViews, loadModule, loadPlan, registerCatalog, registerFunction, registerTable, registerTableSinkInternal, registerTableSourceInternal, scan, sqlQuery, translate, unloadModule, useCatalog, useDatabase, useModules, validateTableSourceprotected final org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment
public AbstractStreamTableEnvironmentImpl(org.apache.flink.table.catalog.CatalogManager catalogManager,
org.apache.flink.table.module.ModuleManager moduleManager,
org.apache.flink.table.api.TableConfig tableConfig,
org.apache.flink.table.delegation.Executor executor,
org.apache.flink.table.catalog.FunctionCatalog functionCatalog,
org.apache.flink.table.delegation.Planner planner,
boolean isStreamingMode,
ClassLoader userClassLoader,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
public static org.apache.flink.table.delegation.Executor lookupExecutor(ClassLoader classLoader, org.apache.flink.streaming.api.environment.StreamExecutionEnvironment executionEnvironment)
protected <T> org.apache.flink.table.api.Table fromStreamInternal(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream,
@Nullable
org.apache.flink.table.api.Schema schema,
@Nullable
String viewPath,
org.apache.flink.table.connector.ChangelogMode changelogMode)
protected <T> org.apache.flink.streaming.api.datastream.DataStream<T> toStreamInternal(org.apache.flink.table.api.Table table,
org.apache.flink.table.catalog.SchemaTranslator.ProducingResult schemaTranslationResult,
@Nullable
org.apache.flink.table.connector.ChangelogMode changelogMode)
protected <T> org.apache.flink.streaming.api.datastream.DataStream<T> toStreamInternal(org.apache.flink.table.api.Table table,
org.apache.flink.table.operations.ModifyOperation modifyOperation)
@Internal public org.apache.flink.streaming.api.environment.StreamExecutionEnvironment execEnv()
protected <T> org.apache.flink.api.common.typeinfo.TypeInformation<T> extractTypeInformation(org.apache.flink.table.api.Table table,
Class<T> clazz)
protected <T> org.apache.flink.table.types.DataType wrapWithChangeFlag(org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType)
protected <T> DataStreamQueryOperation<T> asQueryOperation(org.apache.flink.streaming.api.datastream.DataStream<T> dataStream, Optional<List<org.apache.flink.table.expressions.Expression>> fields)
protected void validateTimeCharacteristic(boolean isRowtimeDefined)
protected org.apache.flink.table.operations.QueryOperation qualifyQueryOperation(org.apache.flink.table.catalog.ObjectIdentifier identifier,
org.apache.flink.table.operations.QueryOperation queryOperation)
qualifyQueryOperation in class org.apache.flink.table.api.internal.TableEnvironmentImplpublic void attachAsDataStream(List<org.apache.flink.table.operations.ModifyOperation> modifyOperations)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.