Package io.trino.plugin.hive
Class PartitionUpdate
java.lang.Object
io.trino.plugin.hive.PartitionUpdate
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, Location writePath, Location targetPath, List<String> fileNames, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes) PartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, String writePath, String targetPath, List<String> fileNames, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes) -
Method Summary
Modifier and TypeMethodDescriptionlonggetName()longlongstatic List<PartitionUpdate>mergePartitionUpdates(Iterable<PartitionUpdate> unMergedUpdates) toString()withRowCount(int rowCount)
-
Constructor Details
-
PartitionUpdate
-
PartitionUpdate
-
-
Method Details
-
withRowCount
-
getName
-
getUpdateMode
-
getWritePath
-
getTargetPath
-
getFileNames
-
getJsonSerializableTargetPath
-
getJsonSerializableWritePath
-
getRowCount
public long getRowCount() -
getInMemoryDataSizeInBytes
public long getInMemoryDataSizeInBytes() -
getOnDiskDataSizeInBytes
public long getOnDiskDataSizeInBytes() -
toString
-
getStatistics
-
mergePartitionUpdates
public static List<PartitionUpdate> mergePartitionUpdates(Iterable<PartitionUpdate> unMergedUpdates)
-