Class DynamicTableSourceSpec
- java.lang.Object
-
- org.apache.flink.table.planner.plan.nodes.exec.spec.DynamicTableSourceSpec
-
public class DynamicTableSourceSpec extends Object
DynamicTableSourceSpec
describes how to serialize/deserialize dynamic table source table and createDynamicTableSource
from the deserialization result.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_CATALOG_TABLE
static String
FIELD_NAME_SOURCE_ABILITIES
-
Constructor Summary
Constructors Constructor Description DynamicTableSourceSpec(ContextResolvedTable contextResolvedTable, List<SourceAbilitySpec> sourceAbilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
FIELD_NAME_CATALOG_TABLE
public static final String FIELD_NAME_CATALOG_TABLE
- See Also:
- Constant Field Values
-
FIELD_NAME_SOURCE_ABILITIES
public static final String FIELD_NAME_SOURCE_ABILITIES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DynamicTableSourceSpec
public DynamicTableSourceSpec(ContextResolvedTable contextResolvedTable, @Nullable List<SourceAbilitySpec> sourceAbilities)
-
-
Method Detail
-
getScanTableSource
public ScanTableSource getScanTableSource(org.apache.flink.table.planner.calcite.FlinkContext context, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
-
getLookupTableSource
public LookupTableSource getLookupTableSource(org.apache.flink.table.planner.calcite.FlinkContext context, org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
-
getContextResolvedTable
public ContextResolvedTable getContextResolvedTable()
-
getSourceAbilities
@Nullable public List<SourceAbilitySpec> getSourceAbilities()
-
setTableSource
public void setTableSource(DynamicTableSource tableSource)
-
-