@Experimental public interface TableSourceExternalContext extends ExternalContext
Comparing with DataStreamSourceExternalContext, the data type of this external context
is fixed as RowData to test functionality of table source.
| Modifier and Type | Method and Description |
|---|---|
ExternalSystemSplitDataWriter<org.apache.flink.table.data.RowData> |
createSplitRowDataWriter(TestingSourceSettings sourceOptions,
org.apache.flink.table.types.DataType dataType)
Create a new split in the external system and return a data writer for writing
RowData corresponding to the new split. |
Map<String,String> |
getSourceTableOptions(TestingSourceSettings sourceSettings)
Get table options for building DDL of the connector source table.
|
getConnectorJarPathscloseMap<String,String> getSourceTableOptions(TestingSourceSettings sourceSettings) throws UnsupportedOperationException
UnsupportedOperationExceptionExternalSystemSplitDataWriter<org.apache.flink.table.data.RowData> createSplitRowDataWriter(TestingSourceSettings sourceOptions, org.apache.flink.table.types.DataType dataType)
RowData corresponding to the new split.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.