@InterfaceAudience.Private public class PartitionedMobCompactionRequest extends MobCompactionRequest
MobCompactionRequest
that is used in
PartitionedMobCompactor
.
The mob files that have the same start key and date in their names belong to
the same partition.Modifier and Type | Class and Description |
---|---|
protected static class |
PartitionedMobCompactionRequest.CompactionDelPartition
The delete file partition in the mob compaction.
|
static class |
PartitionedMobCompactionRequest.CompactionDelPartitionId
The delete partition id that consists of start key and end key
|
protected static class |
PartitionedMobCompactionRequest.CompactionPartition
The partition in the mob compaction.
|
static class |
PartitionedMobCompactionRequest.CompactionPartitionId
The partition id that consists of start key and date of the mob file name.
|
MobCompactionRequest.CompactionType
Modifier and Type | Field and Description |
---|---|
protected Collection<PartitionedMobCompactionRequest.CompactionPartition> |
compactionPartitions |
protected List<PartitionedMobCompactionRequest.CompactionDelPartition> |
delPartitions |
selectionTime, type
Constructor and Description |
---|
PartitionedMobCompactionRequest(Collection<PartitionedMobCompactionRequest.CompactionPartition> compactionPartitions,
List<PartitionedMobCompactionRequest.CompactionDelPartition> delPartitions) |
Modifier and Type | Method and Description |
---|---|
Collection<PartitionedMobCompactionRequest.CompactionPartition> |
getCompactionPartitions()
Gets the compaction partitions.
|
List<PartitionedMobCompactionRequest.CompactionDelPartition> |
getDelPartitions()
Gets the del files.
|
getCompactionType, getSelectionTime, setCompactionType
protected List<PartitionedMobCompactionRequest.CompactionDelPartition> delPartitions
protected Collection<PartitionedMobCompactionRequest.CompactionPartition> compactionPartitions
public PartitionedMobCompactionRequest(Collection<PartitionedMobCompactionRequest.CompactionPartition> compactionPartitions, List<PartitionedMobCompactionRequest.CompactionDelPartition> delPartitions)
public Collection<PartitionedMobCompactionRequest.CompactionPartition> getCompactionPartitions()
public List<PartitionedMobCompactionRequest.CompactionDelPartition> getDelPartitions()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.