|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StoreFile | |
---|---|
org.apache.hadoop.hbase.backup | |
org.apache.hadoop.hbase.coprocessor | Table of Contents |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.compactions |
Uses of StoreFile in org.apache.hadoop.hbase.backup |
---|
Method parameters in org.apache.hadoop.hbase.backup with type arguments of type StoreFile | |
---|---|
static void |
HFileArchiver.archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
HRegionInfo regionInfo,
org.apache.hadoop.fs.Path tableDir,
byte[] family,
Collection<StoreFile> compactedFiles)
Remove the store files, either by archiving them or outright deletion |
Uses of StoreFile in org.apache.hadoop.hbase.coprocessor |
---|
Uses of StoreFile in org.apache.hadoop.hbase.regionserver |
---|
Fields in org.apache.hadoop.hbase.regionserver with type parameters of type StoreFile | |
---|---|
static Comparator<StoreFile> |
StoreFile.Comparators.SEQ_ID
Comparator that compares based on the Sequence Ids of the the StoreFiles. |
static Comparator<StoreFile> |
StoreFile.Comparators.SEQ_ID_MAX_TIMESTAMP
Comparator for time-aware compaction. |
Methods in org.apache.hadoop.hbase.regionserver that return StoreFile | |
---|---|
StoreFile |
StoreFile.cloneForReader()
Clone a StoreFile for opening private reader. |
Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type StoreFile | |
---|---|
com.google.common.collect.ImmutableCollection<StoreFile> |
StripeStoreFileManager.clearFiles()
|
com.google.common.collect.ImmutableCollection<StoreFile> |
StoreFileManager.clearFiles()
Clears all the files currently in use and returns them. |
com.google.common.collect.ImmutableCollection<StoreFile> |
HStore.close()
|
Map<byte[],List<StoreFile>> |
HRegion.close()
Close down this HRegion. |
Collection<StoreFile> |
Store.close()
Close all the readers We don't need to worry about subsequent requests because the HRegion holds a write lock that will prevent any more reads or writes. |
Map<byte[],List<StoreFile>> |
HRegion.close(boolean abort)
Close down this HRegion. |
List<StoreFile> |
HStore.compact(CompactionContext compaction,
CompactionThroughputController throughputController)
Compact the StoreFiles. |
List<StoreFile> |
Store.compact(CompactionContext compaction,
CompactionThroughputController throughputController)
Deprecated. see compact(CompactionContext, CompactionThroughputController, User) |
List<StoreFile> |
HStore.compact(CompactionContext compaction,
CompactionThroughputController throughputController,
User user)
|
List<StoreFile> |
Store.compact(CompactionContext compaction,
CompactionThroughputController throughputController,
User user)
|
Iterator<StoreFile> |
StripeStoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue targetKey)
See StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue)
for details on this methods. |
Iterator<StoreFile> |
StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue targetKey)
Gets initial, full list of candidate store files to check for row-key-before. |
Collection<StoreFile> |
StripeStoreFileManager.getFilesForScanOrGet(boolean isGet,
byte[] startRow,
byte[] stopRow)
|
Collection<StoreFile> |
StoreFileManager.getFilesForScanOrGet(boolean isGet,
byte[] startRow,
byte[] stopRow)
Gets the store files to scan for a Scan or Get request. |
List<StoreFile> |
StripeStoreFileManager.getLevel0Files()
|
Comparator<StoreFile> |
StripeStoreFileManager.getStoreFileComparator()
|
Comparator<StoreFile> |
StoreFileManager.getStoreFileComparator()
|
Collection<StoreFile> |
StripeStoreFileManager.getStorefiles()
|
Collection<StoreFile> |
StoreFileManager.getStorefiles()
Gets the snapshot of the store files currently in use. |
Collection<StoreFile> |
HStore.getStorefiles()
|
Collection<StoreFile> |
Store.getStorefiles()
|
ArrayList<com.google.common.collect.ImmutableList<StoreFile>> |
StripeStoreFileManager.getStripes()
|
Collection<StoreFile> |
StripeStoreFileManager.getUnneededFiles(long maxTs,
List<StoreFile> filesCompacting)
|
Collection<StoreFile> |
StoreFileManager.getUnneededFiles(long maxTs,
List<StoreFile> filesCompacting)
|
Iterator<StoreFile> |
StripeStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<StoreFile> candidateFiles,
KeyValue targetKey,
KeyValue candidate)
See StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue) and
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator, KeyValue, KeyValue)
for details on this methods. |
Iterator<StoreFile> |
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<StoreFile> candidateFiles,
KeyValue targetKey,
KeyValue candidate)
Updates the candidate list for finding row key before. |
Methods in org.apache.hadoop.hbase.regionserver with parameters of type StoreFile | |
---|---|
void |
RegionCoprocessorHost.postCompact(Store store,
StoreFile resultFile,
CompactionRequest request)
Called after the store compaction has completed. |
void |
RegionCoprocessorHost.postFlush(Store store,
StoreFile storeFile)
Invoked after a memstore flush |
Method parameters in org.apache.hadoop.hbase.regionserver with type arguments of type StoreFile | |
---|---|
void |
StripeStoreFileManager.addCompactionResults(Collection<StoreFile> compactedFiles,
Collection<StoreFile> results)
|
void |
StripeStoreFileManager.addCompactionResults(Collection<StoreFile> compactedFiles,
Collection<StoreFile> results)
|
void |
StoreFileManager.addCompactionResults(Collection<StoreFile> compactedFiles,
Collection<StoreFile> results)
Adds compaction results into the structure. |
void |
StoreFileManager.addCompactionResults(Collection<StoreFile> compactedFiles,
Collection<StoreFile> results)
Adds compaction results into the structure. |
protected void |
HStore.completeCompaction(Collection<StoreFile> compactedFiles)
|
static Integer |
StoreUtils.getDeterministicRandomSeed(Collection<StoreFile> files)
Creates a deterministic hash code for store file collection. |
static long |
StoreUtils.getLowestTimestamp(Collection<StoreFile> candidates)
Gets lowest timestamp from candidate StoreFiles |
static long |
StoreFile.getMaxMemstoreTSInList(Collection<StoreFile> sfs)
Return the largest memstoreTS found across all storefiles in the given list. |
static long |
StoreFile.getMaxSequenceIdInList(Collection<StoreFile> sfs)
Return the highest sequence ID found across all storefiles in the given list. |
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<StoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
boolean useDropBehind,
long readPt)
Return an array of scanners corresponding to the given set of store files. |
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<StoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
boolean canUseDrop,
ScanQueryMatcher matcher,
long readPt)
Return an array of scanners corresponding to the given set of store files, And set the ScanQueryMatcher for each store file scanner for further optimization |
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<StoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
long readPt)
Return an array of scanners corresponding to the given set of store files. |
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<StoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
ScanQueryMatcher matcher,
long readPt)
Return an array of scanners corresponding to the given set of store files, And set the ScanQueryMatcher for each store file scanner for further optimization |
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<StoreFile> files,
boolean cacheBlocks,
boolean usePread,
long readPt)
Return an array of scanners corresponding to the given set of store files. |
Collection<StoreFile> |
StripeStoreFileManager.getUnneededFiles(long maxTs,
List<StoreFile> filesCompacting)
|
Collection<StoreFile> |
StoreFileManager.getUnneededFiles(long maxTs,
List<StoreFile> filesCompacting)
|
static boolean |
StoreUtils.hasReferences(Collection<StoreFile> files)
Determines whether any files in the collection are references. |
void |
StripeStoreFileManager.insertNewFiles(Collection<StoreFile> sfs)
|
void |
StoreFileManager.insertNewFiles(Collection<StoreFile> sfs)
Adds new files, either for from MemStore flush or bulk insert, into the structure. |
void |
StripeStoreFileManager.loadFiles(List<StoreFile> storeFiles)
|
void |
StoreFileManager.loadFiles(List<StoreFile> storeFiles)
Loads the initial store files into empty StoreFileManager. |
abstract boolean |
StoreEngine.needsCompaction(List<StoreFile> filesCompacting)
|
boolean |
StripeStoreEngine.needsCompaction(List<StoreFile> filesCompacting)
|
boolean |
DateTieredStoreEngine.needsCompaction(List<StoreFile> filesCompacting)
|
boolean |
DefaultStoreEngine.needsCompaction(List<StoreFile> filesCompacting)
|
void |
RegionCoprocessorHost.postCompactSelection(Store store,
com.google.common.collect.ImmutableList<StoreFile> selected,
CompactionRequest request)
Called after the StoreFile s to be compacted have been selected from the available
candidates. |
boolean |
RegionCoprocessorHost.preCompactSelection(Store store,
List<StoreFile> candidates,
CompactionRequest request)
Called prior to selecting the StoreFile s for compaction from the list of currently
available candidates. |
void |
HRegionFileSystem.removeStoreFiles(String familyName,
Collection<StoreFile> storeFiles)
Closes and archives the specified store files from the specified family. |
Iterator<StoreFile> |
StripeStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<StoreFile> candidateFiles,
KeyValue targetKey,
KeyValue candidate)
See StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue) and
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator, KeyValue, KeyValue)
for details on this methods. |
Iterator<StoreFile> |
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<StoreFile> candidateFiles,
KeyValue targetKey,
KeyValue candidate)
Updates the candidate list for finding row key before. |
Constructors in org.apache.hadoop.hbase.regionserver with parameters of type StoreFile | |
---|---|
StoreFile(StoreFile other)
Clone |
Uses of StoreFile in org.apache.hadoop.hbase.regionserver.compactions |
---|
Methods in org.apache.hadoop.hbase.regionserver.compactions that return types with arguments of type StoreFile | |
---|---|
protected ArrayList<StoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(ArrayList<StoreFile> candidates,
boolean mayUseOffPeak,
boolean mightBeStuck)
|
protected ArrayList<StoreFile> |
RatioBasedCompactionPolicy.applyCompactionPolicy(ArrayList<StoreFile> candidates,
boolean mayUseOffPeak,
boolean mayBeStuck)
|
List<StoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(List<StoreFile> candidates,
boolean mightBeStuck,
boolean mayUseOffPeak,
int minFiles,
int maxFiles)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.checkMinFilesCriteria(ArrayList<StoreFile> candidates,
int minFiles)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.filterBulk(ArrayList<StoreFile> candidates)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<StoreFile> candidateFiles,
List<StoreFile> filesCompacting)
|
Collection<StoreFile> |
CompactionRequest.getFiles()
|
List<StoreFile> |
StripeCompactionPolicy.StripeInformationProvider.getLevel0Files()
|
Collection<StoreFile> |
StripeCompactionPolicy.StripeInformationProvider.getStorefiles()
|
ArrayList<com.google.common.collect.ImmutableList<StoreFile>> |
StripeCompactionPolicy.StripeInformationProvider.getStripes()
|
abstract List<StoreFile> |
CompactionContext.preSelect(List<StoreFile> filesCompacting)
Called before coprocessor preCompactSelection and should filter the candidates for coprocessor; i.e. |
List<StoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<StoreFile> candidates,
List<StoreFile> filesCompacting)
|
List<StoreFile> |
StripeCompactionPolicy.preSelectFilesForCoprocessor(StripeCompactionPolicy.StripeInformationProvider si,
List<StoreFile> filesCompacting)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.skipLargeFiles(ArrayList<StoreFile> candidates)
|
Method parameters in org.apache.hadoop.hbase.regionserver.compactions with type arguments of type StoreFile | |
---|---|
protected ArrayList<StoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(ArrayList<StoreFile> candidates,
boolean mayUseOffPeak,
boolean mightBeStuck)
|
protected ArrayList<StoreFile> |
RatioBasedCompactionPolicy.applyCompactionPolicy(ArrayList<StoreFile> candidates,
boolean mayUseOffPeak,
boolean mayBeStuck)
|
List<StoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(List<StoreFile> candidates,
boolean mightBeStuck,
boolean mayUseOffPeak,
int minFiles,
int maxFiles)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.checkMinFilesCriteria(ArrayList<StoreFile> candidates,
int minFiles)
|
List<org.apache.hadoop.fs.Path> |
DefaultCompactor.compactForTesting(Collection<StoreFile> filesToCompact,
boolean isMajor)
Compact a list of files for testing. |
protected List<StoreFileScanner> |
Compactor.createFileScanners(Collection<StoreFile> filesToCompact,
long smallestReadPoint,
boolean useDropBehind)
Creates file scanners for compaction. |
protected ArrayList<StoreFile> |
SortedCompactionPolicy.filterBulk(ArrayList<StoreFile> candidates)
|
protected CompactionRequest |
RatioBasedCompactionPolicy.getCompactionRequest(ArrayList<StoreFile> candidateSelection,
boolean tryingMajor,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean mayBeStuck)
|
protected CompactionRequest |
DateTieredCompactionPolicy.getCompactionRequest(ArrayList<StoreFile> candidateSelection,
boolean tryingMajor,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean mayBeStuck)
|
protected abstract CompactionRequest |
SortedCompactionPolicy.getCompactionRequest(ArrayList<StoreFile> candidateSelection,
boolean tryingMajor,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean mayBeStuck)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<StoreFile> candidateFiles,
List<StoreFile> filesCompacting)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<StoreFile> candidateFiles,
List<StoreFile> filesCompacting)
|
protected Compactor.FileDetails |
Compactor.getFileDetails(Collection<StoreFile> filesToCompact,
boolean calculatePutTs)
Extracts some details about the files to compact that are commonly needed by compactors. |
long |
SortedCompactionPolicy.getNextMajorCompactTime(Collection<StoreFile> filesToCompact)
|
static long |
StripeCompactionPolicy.getTotalFileSize(Collection<StoreFile> candidates)
|
boolean |
DateTieredCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
Heuristics for guessing whether we need minor compaction. |
boolean |
DateTieredCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
Heuristics for guessing whether we need minor compaction. |
boolean |
FIFOCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
|
boolean |
FIFOCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
|
boolean |
SortedCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
A heuristic method to decide whether to schedule a compaction request |
boolean |
SortedCompactionPolicy.needsCompaction(Collection<StoreFile> storeFiles,
List<StoreFile> filesCompacting)
A heuristic method to decide whether to schedule a compaction request |
boolean |
StripeCompactionPolicy.needsCompactions(StripeCompactionPolicy.StripeInformationProvider si,
List<StoreFile> filesCompacting)
|
abstract List<StoreFile> |
CompactionContext.preSelect(List<StoreFile> filesCompacting)
Called before coprocessor preCompactSelection and should filter the candidates for coprocessor; i.e. |
List<StoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<StoreFile> candidates,
List<StoreFile> filesCompacting)
|
List<StoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<StoreFile> candidates,
List<StoreFile> filesCompacting)
|
List<StoreFile> |
StripeCompactionPolicy.preSelectFilesForCoprocessor(StripeCompactionPolicy.StripeInformationProvider si,
List<StoreFile> filesCompacting)
|
protected void |
SortedCompactionPolicy.removeExcessFiles(ArrayList<StoreFile> candidates,
boolean isUserCompaction,
boolean isMajorCompaction)
|
abstract boolean |
CompactionContext.select(List<StoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
Called to select files for compaction. |
CompactionRequest |
FIFOCompactionPolicy.selectCompaction(Collection<StoreFile> candidateFiles,
List<StoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
|
CompactionRequest |
FIFOCompactionPolicy.selectCompaction(Collection<StoreFile> candidateFiles,
List<StoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
|
CompactionRequest |
SortedCompactionPolicy.selectCompaction(Collection<StoreFile> candidateFiles,
List<StoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
|
CompactionRequest |
SortedCompactionPolicy.selectCompaction(Collection<StoreFile> candidateFiles,
List<StoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
|
StripeCompactionPolicy.StripeCompactionRequest |
StripeCompactionPolicy.selectCompaction(StripeCompactionPolicy.StripeInformationProvider si,
List<StoreFile> filesCompacting,
boolean isOffpeak)
|
CompactionRequest |
DateTieredCompactionPolicy.selectMajorCompaction(ArrayList<StoreFile> candidateSelection)
|
CompactionRequest |
DateTieredCompactionPolicy.selectMinorCompaction(ArrayList<StoreFile> candidateSelection,
boolean mayUseOffPeak,
boolean mayBeStuck)
We receive store files sorted in ascending order by seqId then scan the list of files. |
abstract boolean |
CompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
boolean |
RatioBasedCompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
boolean |
DateTieredCompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
boolean |
FIFOCompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
boolean |
StripeCompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
abstract boolean |
SortedCompactionPolicy.shouldPerformMajorCompaction(Collection<StoreFile> filesToCompact)
|
protected ArrayList<StoreFile> |
SortedCompactionPolicy.skipLargeFiles(ArrayList<StoreFile> candidates)
|
void |
CompactionRequest.updateFiles(Collection<StoreFile> files)
|
Constructor parameters in org.apache.hadoop.hbase.regionserver.compactions with type arguments of type StoreFile | |
---|---|
CompactionRequest(Collection<StoreFile> files)
|
|
DateTieredCompactionRequest(Collection<StoreFile> files,
List<Long> boundaryList)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |