Uses of Interface
org.apache.hadoop.hbase.regionserver.KeyValueScanner
Packages that use KeyValueScanner
Package
Description
-
Uses of KeyValueScanner in org.apache.hadoop.hbase.regionserver
Classes in org.apache.hadoop.hbase.regionserver that implement KeyValueScannerModifier and TypeClassDescriptionclassImplements a heap merge across any number of KeyValueScanners.classScanner scans both the memstore and the MOB Store.classA "non-lazy" scanner which always does a real seek operation.classA "non-reversed & non-lazy" scanner which does not support backward scanning and always does a real seek operation.classReversedKeyValueHeap is used for supporting reversed scanning.classReversedMobStoreScanner extends from ReversedStoreScanner, and is used to support reversed scanning in both the memstore and the MOB store.classReversedStoreScanner extends from StoreScanner, and is used to support reversed scanning.classA scanner of a single memstore segment.classA basic SegmentScanner used against an ImmutableScanner snapshot Used flushing where we do a single pass, no reverse scanning or inserts happening.classKeyValueScanner adaptor over the Reader.classScanner scans both the memstore and the Store.Fields in org.apache.hadoop.hbase.regionserver declared as KeyValueScannerModifier and TypeFieldDescriptionprotected KeyValueScannerKeyValueHeap.currentThe current sub-scanner, i.e.Fields in org.apache.hadoop.hbase.regionserver with type parameters of type KeyValueScannerModifier and TypeFieldDescription(package private) final List<KeyValueScanner>StoreScanner.currentScannersprivate final List<KeyValueScanner>StoreScanner.flushedstoreFileScannersprotected PriorityQueue<KeyValueScanner>KeyValueHeap.heapprivate final List<KeyValueScanner>StoreScanner.memStoreScannersAfterFlush(package private) List<KeyValueScanner>MemStoreMergerSegmentsIterator.scannersprotected List<KeyValueScanner>KeyValueHeap.scannersForDelayedCloseprivate final List<KeyValueScanner>StoreScanner.scannersForDelayedCloseMethods in org.apache.hadoop.hbase.regionserver that return KeyValueScannerModifier and TypeMethodDescriptionprotected KeyValueScannerHMobStore.createScanner(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> targetCols, long readPt) Gets the MobStoreScanner or MobReversedStoreScanner.protected KeyValueScannerHStore.createScanner(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> targetCols, long readPt) (package private) KeyValueScannerKeyValueHeap.getCurrentForTesting()CompositeImmutableSegment.getScanner(long readPoint) Creates the scanner for the given read pointHStore.getScanner(Scan scan, NavigableSet<byte[]> targetCols, long readPt) Return a scanner for both the memstore and the HStore files.protected KeyValueScannerSegment.getScanner(long readPoint) Creates the scanner for the given read pointprotected KeyValueScannerKeyValueHeap.pollRealKV()Fetches the top sub-scanner from the priority queue, ensuring that a real seek has been done on it.Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type KeyValueScannerModifier and TypeMethodDescriptionprotected List<KeyValueScanner>CompactingMemStore.createList(int capacity) (package private) List<KeyValueScanner>StoreScanner.getAllScannersForTesting()Used in testing.KeyValueHeap.getHeap()Returns the current HeapCompactingMemStore.getScanners(long readPt) This method is protected underHStore#lockread lock.CompositeImmutableSegment.getScanners(long readPoint) DefaultMemStore.getScanners(long readPt) HStore.getScanners(boolean cacheBlocks, boolean isGet, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, byte[] stopRow, long readPt, boolean onlyLatestVersion) Get all scanners with no filtering based on TTL (that happens further down the line).HStore.getScanners(boolean cacheBlocks, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, boolean includeStartRow, byte[] stopRow, boolean includeStopRow, long readPt, boolean onlyLatestVersion) Get all scanners with no filtering based on TTL (that happens further down the line).HStore.getScanners(List<HStoreFile> files, boolean cacheBlocks, boolean isGet, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, byte[] stopRow, long readPt, boolean includeMemstoreScanner, boolean onlyLatestVersion) Create scanners on the given files and if needed on the memstore with no filtering based on TTL (that happens further down the line).HStore.getScanners(List<HStoreFile> files, boolean cacheBlocks, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, boolean includeStartRow, byte[] stopRow, boolean includeStopRow, long readPt, boolean includeMemstoreScanner, boolean onlyLatestVersion) Create scanners on the given files and if needed on the memstore with no filtering based on TTL (that happens further down the line).MemStore.getScanners(long readPt) MemStoreSnapshot.getScanners()Create newSnapshotSegmentScanners for iterating over the snapshot.Segment.getScanners(long readPoint) (package private) List<KeyValueScanner>CompositeImmutableSegment.getSnapshotScanners()(package private) List<KeyValueScanner>ImmutableSegment.getSnapshotScanners()We create a newSnapshotSegmentScannerto increase the reference count ofMemStoreLABImplused by this segment.HStore.recreateScanners(List<KeyValueScanner> currentFileScanners, boolean cacheBlocks, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, boolean includeStartRow, byte[] stopRow, boolean includeStopRow, long readPt, boolean includeMemstoreScanner) Recreates the scanners on the current list of active store file scannersprotected List<KeyValueScanner>StoreScanner.selectScannersFrom(HStore store, List<? extends KeyValueScanner> allScanners) Filters the given list of scanners using Bloom filter, time range, and TTL.Methods in org.apache.hadoop.hbase.regionserver with parameters of type KeyValueScannerModifier and TypeMethodDescriptionintKeyValueHeap.KVScannerComparator.compare(KeyValueScanner left, KeyValueScanner right) intReversedKeyValueHeap.ReversedKVScannerComparator.compare(KeyValueScanner left, KeyValueScanner right) static booleanNonLazyKeyValueScanner.doRealSeek(KeyValueScanner scanner, ExtendedCell kv, boolean forward) private voidCellArrayImmutableSegment.reinitializeCellSet(int numOfCells, KeyValueScanner segmentScanner, CellSet<ExtendedCell> oldCellSet, MemStoreCompactionStrategy.Action action) private voidCellChunkImmutableSegment.reinitializeCellSet(int numOfCells, KeyValueScanner segmentScanner, CellSet<ExtendedCell> oldCellSet, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action) Method parameters in org.apache.hadoop.hbase.regionserver with type arguments of type KeyValueScannerModifier and TypeMethodDescriptionprivate voidStoreScanner.addCurrentScanners(List<? extends KeyValueScanner> scanners) protected static voidAbstractMemStore.addToScanners(Segment segment, long readPt, List<KeyValueScanner> scanners) private static voidHStore.clearAndClose(List<KeyValueScanner> scanners) private static voidStoreScanner.clearAndClose(List<KeyValueScanner> scanners) private InternalScannerMemStoreCompactorSegmentsIterator.createScanner(HStore store, List<KeyValueScanner> scanners) Creates the scanner for compacting the pipeline.protected final InternalScannerStoreFlusher.createScanner(List<KeyValueScanner> snapshotScanners, FlushLifeCycleTracker tracker) Creates the scanner for flushing snapshot.HRegion.getScanner(Scan scan, List<KeyValueScanner> additionalScanners) private RegionScannerImplHRegion.getScanner(Scan scan, List<KeyValueScanner> additionalScanners, long nonceGroup, long nonce) Region.getScanner(Scan scan, List<KeyValueScanner> additionalScanners) Return an iterator that scans over the HRegion, returning the indicated columns and rows specified by theScan.private IOExceptionRegionScannerImpl.handleException(List<KeyValueScanner> instantiatedScanners, Throwable t) protected voidRegionScannerImpl.initializeKVHeap(List<KeyValueScanner> scanners, List<KeyValueScanner> joinedScanners, HRegion region) protected voidReversedRegionScannerImpl.initializeKVHeap(List<KeyValueScanner> scanners, List<KeyValueScanner> joinedScanners, HRegion region) private voidRegionScannerImpl.initializeScanners(Scan scan, List<KeyValueScanner> additionalScanners) protected RegionScannerImplHRegion.instantiateRegionScanner(Scan scan, List<KeyValueScanner> additionalScanners, long nonceGroup, long nonce) protected KeyValueHeapReversedStoreScanner.newKVHeap(List<? extends KeyValueScanner> scanners, CellComparator comparator) protected KeyValueHeapStoreScanner.newKVHeap(List<? extends KeyValueScanner> scanners, CellComparator comparator) private voidStoreScanner.parallelSeek(List<? extends KeyValueScanner> scanners, ExtendedCell kv) Seek storefiles in parallel to optimize IO latency as much as possibleHStore.recreateScanners(List<KeyValueScanner> currentFileScanners, boolean cacheBlocks, boolean usePread, boolean isCompaction, ScanQueryMatcher matcher, byte[] startRow, boolean includeStartRow, byte[] stopRow, boolean includeStopRow, long readPt, boolean includeMemstoreScanner) Recreates the scanners on the current list of active store file scannersprotected voidStoreScanner.resetKVHeap(List<? extends KeyValueScanner> scanners, CellComparator comparator) private voidStoreScanner.seekAllScanner(ScanInfo scanInfo, List<? extends KeyValueScanner> scanners) protected voidReversedStoreScanner.seekScanners(List<? extends KeyValueScanner> scanners, ExtendedCell seekKey, boolean isLazy, boolean isParallelSeek) protected voidStoreScanner.seekScanners(List<? extends KeyValueScanner> scanners, ExtendedCell seekKey, boolean isLazy, boolean isParallelSeek) Seek the specified scanners with the given keyprotected List<KeyValueScanner>StoreScanner.selectScannersFrom(HStore store, List<? extends KeyValueScanner> allScanners) Filters the given list of scanners using Bloom filter, time range, and TTL.Constructor parameters in org.apache.hadoop.hbase.regionserver with type arguments of type KeyValueScannerModifierConstructorDescriptionKeyValueHeap(List<? extends KeyValueScanner> scanners, CellComparator comparator) Constructor.(package private)KeyValueHeap(List<? extends KeyValueScanner> scanners, KeyValueHeap.KVScannerComparator comparator) Constructor.(package private)RegionScannerImpl(Scan scan, List<KeyValueScanner> additionalScanners, HRegion region, long nonceGroup, long nonce) ReversedKeyValueHeap(List<? extends KeyValueScanner> scanners, CellComparator comparator) (package private)ReversedRegionScannerImpl(Scan scan, List<KeyValueScanner> additionalScanners, HRegion region, long nonceGroup, long nonce) ReversedStoreScanner(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> columns, List<? extends KeyValueScanner> scanners) Constructor for testing.(package private)StoreScanner(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> columns, List<? extends KeyValueScanner> scanners) (package private)StoreScanner(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> columns, List<? extends KeyValueScanner> scanners, ScanType scanType) StoreScanner(HStore store, ScanInfo scanInfo, List<? extends KeyValueScanner> scanners, long smallestReadPoint, long earliestPutTs, byte[] dropDeletesFromRow, byte[] dropDeletesToRow) Used for compactions that drop deletes from a limited range of rows.StoreScanner(HStore store, ScanInfo scanInfo, List<? extends KeyValueScanner> scanners, ScanType scanType, long smallestReadPoint, long earliestPutTs) Used for store file compaction and memstore compaction.privateStoreScanner(HStore store, ScanInfo scanInfo, List<? extends KeyValueScanner> scanners, ScanType scanType, long smallestReadPoint, long earliestPutTs, byte[] dropDeletesFromRow, byte[] dropDeletesToRow) (package private)StoreScanner(ScanInfo scanInfo, int maxVersions, ScanType scanType, List<? extends KeyValueScanner> scanners) StoreScanner(ScanInfo scanInfo, ScanType scanType, List<? extends KeyValueScanner> scanners) -
Uses of KeyValueScanner in org.apache.hadoop.hbase.regionserver.handler
Fields in org.apache.hadoop.hbase.regionserver.handler declared as KeyValueScannerConstructors in org.apache.hadoop.hbase.regionserver.handler with parameters of type KeyValueScannerModifierConstructorDescriptionParallelSeekHandler(KeyValueScanner scanner, ExtendedCell keyValue, long readPoint, CountDownLatch latch) -
Uses of KeyValueScanner in org.apache.hadoop.hbase.util
Classes in org.apache.hadoop.hbase.util that implement KeyValueScannerModifier and TypeClassDescriptionclassUtility scanner that wraps a sortable collection and serves as a KeyValueScanner.