@Internal public class MaterializedTableManager extends Object
MaterializedTableOperation.| Constructor and Description |
|---|
MaterializedTableManager(org.apache.flink.configuration.Configuration configuration,
URLClassLoader userCodeClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
ResultFetcher |
callMaterializedTableOperation(OperationExecutor operationExecutor,
org.apache.flink.table.gateway.api.operation.OperationHandle handle,
org.apache.flink.table.operations.materializedtable.MaterializedTableOperation op,
String statement) |
void |
close() |
protected static String |
getInsertStatement(org.apache.flink.table.catalog.ObjectIdentifier materializedTableIdentifier,
String definitionQuery,
Map<String,String> dynamicOptions)
Generate insert statement for materialized table.
|
protected static String |
getRefreshStatement(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
String definitionQuery,
Map<String,String> partitionSpec,
Map<String,String> dynamicOptions) |
void |
open() |
ResultFetcher |
refreshMaterializedTable(OperationExecutor operationExecutor,
org.apache.flink.table.gateway.api.operation.OperationHandle handle,
org.apache.flink.table.catalog.ObjectIdentifier materializedTableIdentifier,
Map<String,String> staticPartitions,
Map<String,String> dynamicOptions,
boolean isPeriodic,
String scheduleTime) |
public MaterializedTableManager(org.apache.flink.configuration.Configuration configuration,
URLClassLoader userCodeClassLoader)
public ResultFetcher callMaterializedTableOperation(OperationExecutor operationExecutor, org.apache.flink.table.gateway.api.operation.OperationHandle handle, org.apache.flink.table.operations.materializedtable.MaterializedTableOperation op, String statement)
public ResultFetcher refreshMaterializedTable(OperationExecutor operationExecutor, org.apache.flink.table.gateway.api.operation.OperationHandle handle, org.apache.flink.table.catalog.ObjectIdentifier materializedTableIdentifier, Map<String,String> staticPartitions, Map<String,String> dynamicOptions, boolean isPeriodic, @Nullable String scheduleTime)
@VisibleForTesting protected static String getRefreshStatement(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, String definitionQuery, Map<String,String> partitionSpec, Map<String,String> dynamicOptions)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.