@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<RowData> |
createSinkRowDataReader(TestingSinkSettings sinkOptions,
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.
|
getConnectorJarPaths
close
Map<String,String> getSinkTableOptions(TestingSinkSettings sinkSettings) throws UnsupportedOperationException
UnsupportedOperationException
ExternalSystemDataReader<RowData> createSinkRowDataReader(TestingSinkSettings sinkOptions, DataType dataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.