@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<RowData> |
createSplitRowDataWriter(TestingSourceSettings sourceOptions,
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.
|
getConnectorJarPaths
close
Map<String,String> getSourceTableOptions(TestingSourceSettings sourceSettings) throws UnsupportedOperationException
UnsupportedOperationException
ExternalSystemSplitDataWriter<RowData> createSplitRowDataWriter(TestingSourceSettings sourceOptions, DataType dataType)
RowData
corresponding to the new split.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.