protected static class PartitionedMobCompactionRequest.CompactionPartition extends Object
构造器和说明 |
---|
CompactionPartition(PartitionedMobCompactionRequest.CompactionPartitionId partitionId) |
限定符和类型 | 方法和说明 |
---|---|
void |
addFile(org.apache.hadoop.fs.FileStatus file) |
byte[] |
getEndKey() |
int |
getFileCount() |
PartitionedMobCompactionRequest.CompactionPartitionId |
getPartitionId() |
byte[] |
getStartKey() |
List<org.apache.hadoop.fs.FileStatus> |
listFiles() |
void |
setEndKey(byte[] endKey)
Set end key of this partition, only if the input endKey is greater than
the current end key.
|
void |
setStartKey(byte[] startKey)
Set start key of this partition, only if the input startKey is less than
the current start key.
|
public CompactionPartition(PartitionedMobCompactionRequest.CompactionPartitionId partitionId)
public PartitionedMobCompactionRequest.CompactionPartitionId getPartitionId()
public void addFile(org.apache.hadoop.fs.FileStatus file)
public List<org.apache.hadoop.fs.FileStatus> listFiles()
public int getFileCount()
public byte[] getStartKey()
public void setStartKey(byte[] startKey)
public byte[] getEndKey()
public void setEndKey(byte[] endKey)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.