public class PartitionUpdate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PartitionUpdate.FileWriteInfo |
static class |
PartitionUpdate.UpdateMode |
Constructor and Description |
---|
PartitionUpdate(String name,
PartitionUpdate.UpdateMode updateMode,
Path writePath,
Path targetPath,
List<PartitionUpdate.FileWriteInfo> fileWriteInfos,
long rowCount,
long inMemoryDataSizeInBytes,
long onDiskDataSizeInBytes) |
PartitionUpdate(String name,
PartitionUpdate.UpdateMode updateMode,
String writePath,
String targetPath,
List<PartitionUpdate.FileWriteInfo> fileWriteInfos,
long rowCount,
long inMemoryDataSizeInBytes,
long onDiskDataSizeInBytes) |
Modifier and Type | Method and Description |
---|---|
List<PartitionUpdate.FileWriteInfo> |
getFileWriteInfos() |
long |
getInMemoryDataSizeInBytes() |
String |
getJsonSerializableTargetPath() |
String |
getJsonSerializableWritePath() |
String |
getName() |
long |
getOnDiskDataSizeInBytes() |
long |
getRowCount() |
HiveBasicStatistics |
getStatistics() |
Path |
getTargetPath() |
PartitionUpdate.UpdateMode |
getUpdateMode() |
Path |
getWritePath() |
static List<PartitionUpdate> |
mergePartitionUpdates(Iterable<PartitionUpdate> unMergedUpdates) |
String |
toString() |
public PartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, String writePath, String targetPath, List<PartitionUpdate.FileWriteInfo> fileWriteInfos, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes)
public PartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, Path writePath, Path targetPath, List<PartitionUpdate.FileWriteInfo> fileWriteInfos, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes)
public String getName()
public PartitionUpdate.UpdateMode getUpdateMode()
public Path getWritePath()
public Path getTargetPath()
public List<PartitionUpdate.FileWriteInfo> getFileWriteInfos()
public String getJsonSerializableTargetPath()
public String getJsonSerializableWritePath()
public long getRowCount()
public long getInMemoryDataSizeInBytes()
public long getOnDiskDataSizeInBytes()
public HiveBasicStatistics getStatistics()
public static List<PartitionUpdate> mergePartitionUpdates(Iterable<PartitionUpdate> unMergedUpdates)
Copyright © 2012–2020. All rights reserved.