@Experimental public interface TableSinkExternalContext extends ExternalContext
Comparing with DataStreamSinkExternalContext, the data type of this external context
is fixed as RowData to test functionality of table source.
| Modifier and Type | Method and Description |
|---|---|
ExternalSystemDataReader<org.apache.flink.table.data.RowData> |
createSinkRowDataReader(TestingSinkSettings sinkOptions,
org.apache.flink.table.types.DataType dataType)
Create a new split in the external system and return a data writer corresponding to the new
split.
|
Map<String,String> |
getSinkTableOptions(TestingSinkSettings sinkSettings)
Get table options for building DDL of the connector sink table.
|
getConnectorJarPathscloseMap<String,String> getSinkTableOptions(TestingSinkSettings sinkSettings) throws UnsupportedOperationException
UnsupportedOperationExceptionExternalSystemDataReader<org.apache.flink.table.data.RowData> createSinkRowDataReader(TestingSinkSettings sinkOptions, org.apache.flink.table.types.DataType dataType)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.