@InterfaceAudience.Private public class MajorCompactionTTLRequest extends MajorCompactionRequest
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
connection, region
Constructor and Description |
---|
MajorCompactionTTLRequest(Connection connection,
RegionInfo region) |
Modifier and Type | Method and Description |
---|---|
private Optional<MajorCompactionRequest> |
createRequest(Connection connection,
TableDescriptor htd) |
private long |
getColFamilyCutoffTime(ColumnFamilyDescriptor colDesc) |
(package private) Map<String,Long> |
getStoresRequiringCompaction(TableDescriptor htd) |
(package private) static Optional<MajorCompactionRequest> |
newRequest(Connection connection,
RegionInfo info,
TableDescriptor htd) |
protected boolean |
shouldIncludeStore(HRegionFileSystem fileSystem,
String family,
Collection<StoreFileInfo> storeFiles,
long ts) |
createRequest, familyHasReferenceFile, getFileSystem, getReferenceFilePaths, getRegion, getStores, getStoresRequiringCompaction, newRequest, setStores, shouldCFBeCompacted, toString
private static final org.slf4j.Logger LOG
MajorCompactionTTLRequest(Connection connection, RegionInfo region)
static Optional<MajorCompactionRequest> newRequest(Connection connection, RegionInfo info, TableDescriptor htd) throws IOException
IOException
private Optional<MajorCompactionRequest> createRequest(Connection connection, TableDescriptor htd) throws IOException
IOException
Map<String,Long> getStoresRequiringCompaction(TableDescriptor htd) throws IOException
IOException
private long getColFamilyCutoffTime(ColumnFamilyDescriptor colDesc)
protected boolean shouldIncludeStore(HRegionFileSystem fileSystem, String family, Collection<StoreFileInfo> storeFiles, long ts) throws IOException
shouldIncludeStore
in class MajorCompactionRequest
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.