public class IcebergTableSink
extends java.lang.Object
implements org.apache.flink.table.sinks.AppendStreamTableSink<org.apache.flink.table.data.RowData>, org.apache.flink.table.sinks.OverwritableTableSink, org.apache.flink.table.sinks.PartitionableTableSink
Constructor and Description |
---|
IcebergTableSink(boolean isBounded,
TableLoader tableLoader,
org.apache.flink.table.api.TableSchema tableSchema) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData> |
configure(java.lang.String[] fieldNames,
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes) |
org.apache.flink.streaming.api.datastream.DataStreamSink<?> |
consumeDataStream(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> dataStream) |
org.apache.flink.table.types.DataType |
getConsumedDataType() |
org.apache.flink.table.api.TableSchema |
getTableSchema() |
void |
setOverwrite(boolean overwrite) |
void |
setStaticPartition(java.util.Map<java.lang.String,java.lang.String> partitions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public IcebergTableSink(boolean isBounded, TableLoader tableLoader, org.apache.flink.table.api.TableSchema tableSchema)
public org.apache.flink.streaming.api.datastream.DataStreamSink<?> consumeDataStream(org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.table.data.RowData> dataStream)
consumeDataStream
in interface org.apache.flink.table.sinks.StreamTableSink<org.apache.flink.table.data.RowData>
public org.apache.flink.table.types.DataType getConsumedDataType()
getConsumedDataType
in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData>
public org.apache.flink.table.api.TableSchema getTableSchema()
getTableSchema
in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData>
public org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData> configure(java.lang.String[] fieldNames, org.apache.flink.api.common.typeinfo.TypeInformation<?>[] fieldTypes)
configure
in interface org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData>
public void setOverwrite(boolean overwrite)
setOverwrite
in interface org.apache.flink.table.sinks.OverwritableTableSink
public void setStaticPartition(java.util.Map<java.lang.String,java.lang.String> partitions)
setStaticPartition
in interface org.apache.flink.table.sinks.PartitionableTableSink