public class PartitionUpdate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionUpdate.UpdateMode |
| Constructor and Description |
|---|
PartitionUpdate(String name,
PartitionUpdate.UpdateMode updateMode,
org.apache.hadoop.fs.Path writePath,
org.apache.hadoop.fs.Path 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) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFileNames() |
long |
getInMemoryDataSizeInBytes() |
String |
getJsonSerializableTargetPath() |
String |
getJsonSerializableWritePath() |
String |
getName() |
long |
getOnDiskDataSizeInBytes() |
long |
getRowCount() |
HiveBasicStatistics |
getStatistics() |
org.apache.hadoop.fs.Path |
getTargetPath() |
PartitionUpdate.UpdateMode |
getUpdateMode() |
org.apache.hadoop.fs.Path |
getWritePath() |
static List<PartitionUpdate> |
mergePartitionUpdates(Iterable<PartitionUpdate> unMergedUpdates) |
String |
toString() |
public PartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, String writePath, String targetPath, List<String> fileNames, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes)
public PartitionUpdate(String name, PartitionUpdate.UpdateMode updateMode, org.apache.hadoop.fs.Path writePath, org.apache.hadoop.fs.Path targetPath, List<String> fileNames, long rowCount, long inMemoryDataSizeInBytes, long onDiskDataSizeInBytes)
public String getName()
public PartitionUpdate.UpdateMode getUpdateMode()
public org.apache.hadoop.fs.Path getWritePath()
public org.apache.hadoop.fs.Path getTargetPath()
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–2019. All rights reserved.