public class DynamicTableSourceSpec extends Object
DynamicTableSourceSpec
describes how to serialize/deserialize dynamic table source table
and create DynamicTableSource
from the deserialization result.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_CATALOG_TABLE |
static String |
FIELD_NAME_SOURCE_ABILITIES |
Constructor and Description |
---|
DynamicTableSourceSpec(ContextResolvedTable contextResolvedTable,
List<SourceAbilitySpec> sourceAbilities) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ContextResolvedTable |
getContextResolvedTable() |
LookupTableSource |
getLookupTableSource(org.apache.flink.table.planner.calcite.FlinkContext context,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory) |
ScanTableSource |
getScanTableSource(org.apache.flink.table.planner.calcite.FlinkContext context,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory) |
List<SourceAbilitySpec> |
getSourceAbilities() |
int |
hashCode() |
void |
setTableSource(DynamicTableSource tableSource) |
String |
toString() |
public static final String FIELD_NAME_CATALOG_TABLE
public static final String FIELD_NAME_SOURCE_ABILITIES
public DynamicTableSourceSpec(ContextResolvedTable contextResolvedTable, @Nullable List<SourceAbilitySpec> sourceAbilities)
public ScanTableSource getScanTableSource(org.apache.flink.table.planner.calcite.FlinkContext context, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
public LookupTableSource getLookupTableSource(org.apache.flink.table.planner.calcite.FlinkContext context, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
public ContextResolvedTable getContextResolvedTable()
@Nullable public List<SourceAbilitySpec> getSourceAbilities()
public void setTableSource(DynamicTableSource tableSource)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.