Class DeltaTableOptimizeHandle
- java.lang.Object
-
- io.trino.plugin.deltalake.procedure.DeltaTableProcedureHandle
-
- io.trino.plugin.deltalake.procedure.DeltaTableOptimizeHandle
-
public class DeltaTableOptimizeHandle extends DeltaTableProcedureHandle
-
-
Constructor Summary
Constructors Constructor Description DeltaTableOptimizeHandle(MetadataEntry metadataEntry, List<DeltaLakeColumnHandle> tableColumns, List<String> originalPartitionColumns, io.airlift.units.DataSize maxScannedFileSize, Optional<Long> currentVersion, boolean retriesEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Long>getCurrentVersion()io.airlift.units.DataSizegetMaxScannedFileSize()MetadataEntrygetMetadataEntry()List<String>getOriginalPartitionColumns()Returns partition column names with case preserved.List<DeltaLakeColumnHandle>getTableColumns()booleanisRetriesEnabled()DeltaTableOptimizeHandlewithCurrentVersion(long currentVersion)
-
-
-
Constructor Detail
-
DeltaTableOptimizeHandle
public DeltaTableOptimizeHandle(MetadataEntry metadataEntry, List<DeltaLakeColumnHandle> tableColumns, List<String> originalPartitionColumns, io.airlift.units.DataSize maxScannedFileSize, Optional<Long> currentVersion, boolean retriesEnabled)
-
-
Method Detail
-
withCurrentVersion
public DeltaTableOptimizeHandle withCurrentVersion(long currentVersion)
-
getMetadataEntry
public MetadataEntry getMetadataEntry()
-
getTableColumns
public List<DeltaLakeColumnHandle> getTableColumns()
-
getOriginalPartitionColumns
public List<String> getOriginalPartitionColumns()
Returns partition column names with case preserved.
-
getMaxScannedFileSize
public io.airlift.units.DataSize getMaxScannedFileSize()
-
isRetriesEnabled
public boolean isRetriesEnabled()
-
-