Package io.trino.plugin.deltalake
Class DeltaLakeMergeSink
java.lang.Object
io.trino.plugin.deltalake.DeltaLakeMergeSink
- All Implemented Interfaces:
ConnectorMergeSink
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface io.trino.spi.connector.ConnectorMergeSink
DELETE_OPERATION_NUMBER, INSERT_OPERATION_NUMBER, UPDATE_DELETE_OPERATION_NUMBER, UPDATE_INSERT_OPERATION_NUMBER, UPDATE_OPERATION_NUMBER -
Constructor Summary
ConstructorsConstructorDescriptionDeltaLakeMergeSink(TypeOperators typeOperators, TrinoFileSystemFactory fileSystemFactory, ConnectorSession session, org.joda.time.DateTimeZone parquetDateTimeZone, String trinoVersion, io.airlift.json.JsonCodec<DataFileInfo> dataFileInfoCodec, io.airlift.json.JsonCodec<DeltaLakeMergeResult> mergeResultJsonCodec, DeltaLakeWriterStats writerStats, String rootTableLocation, ConnectorPageSink insertPageSink, List<DeltaLakeColumnHandle> tableColumns, int domainCompactionThreshold, Supplier<DeltaLakeCdfPageSink> cdfPageSinkSupplier, boolean cdfEnabled) -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()CompletableFuture<Collection<io.airlift.slice.Slice>>finish()voidstoreMergedRows(Page page)
-
Field Details
-
INSERT_CDF_LABEL
- See Also:
-
DELETE_CDF_LABEL
- See Also:
-
UPDATE_PREIMAGE_CDF_LABEL
- See Also:
-
UPDATE_POSTIMAGE_CDF_LABEL
- See Also:
-
-
Constructor Details
-
DeltaLakeMergeSink
public DeltaLakeMergeSink(TypeOperators typeOperators, TrinoFileSystemFactory fileSystemFactory, ConnectorSession session, org.joda.time.DateTimeZone parquetDateTimeZone, String trinoVersion, io.airlift.json.JsonCodec<DataFileInfo> dataFileInfoCodec, io.airlift.json.JsonCodec<DeltaLakeMergeResult> mergeResultJsonCodec, DeltaLakeWriterStats writerStats, String rootTableLocation, ConnectorPageSink insertPageSink, List<DeltaLakeColumnHandle> tableColumns, int domainCompactionThreshold, Supplier<DeltaLakeCdfPageSink> cdfPageSinkSupplier, boolean cdfEnabled)
-
-
Method Details
-
storeMergedRows
- Specified by:
storeMergedRowsin interfaceConnectorMergeSink
-
finish
- Specified by:
finishin interfaceConnectorMergeSink
-
abort
public void abort()- Specified by:
abortin interfaceConnectorMergeSink
-