Class GcsTransactionLogSynchronizer
java.lang.Object
io.trino.plugin.deltalake.transactionlog.writer.GcsTransactionLogSynchronizer
- All Implemented Interfaces:
TransactionLogSynchronizer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisUnsafe()Whether or not writes using this Synchronizer need to be enabled with the "delta.enable-non-concurrent-writes" config property.voidwrite(ConnectorSession session, String clusterId, String newLogEntryPath, byte[] entryContents) Performs atomic write of transaction log entry file.
-
Constructor Details
-
GcsTransactionLogSynchronizer
-
-
Method Details
-
write
public void write(ConnectorSession session, String clusterId, String newLogEntryPath, byte[] entryContents) Description copied from interface:TransactionLogSynchronizerPerforms atomic write of transaction log entry file.- Specified by:
writein interfaceTransactionLogSynchronizer
-
isUnsafe
public boolean isUnsafe()Description copied from interface:TransactionLogSynchronizerWhether or not writes using this Synchronizer need to be enabled with the "delta.enable-non-concurrent-writes" config property.- Specified by:
isUnsafein interfaceTransactionLogSynchronizer- Returns:
- False if collision detection for writes from multiple clusters is supported, else true.
-