Class InternalScan
java.lang.Object
org.apache.hadoop.hbase.client.Operation
org.apache.hadoop.hbase.client.OperationWithAttributes
org.apache.hadoop.hbase.client.Query
org.apache.hadoop.hbase.client.Scan
org.apache.hadoop.hbase.regionserver.InternalScan
- All Implemented Interfaces:
- Attributes
Special scanner, currently used for increment operations to allow additional server-side
 arguments for Scan operations.
 
Rather than adding new options/parameters to the public Scan API, this new class has been created.
 Supports adding an option to only read from the MemStore with checkOnlyMemStore() or to
 only read from StoreFiles with checkOnlyStoreFiles().
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.hadoop.hbase.client.ScanScan.ReadType
- 
Field SummaryFieldsFields inherited from class org.apache.hadoop.hbase.client.ScanDEFAULT_HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, SCAN_ATTRIBUTES_TABLE_NAMEFields inherited from class org.apache.hadoop.hbase.client.QuerycolFamTimeRangeMap, consistency, filter, loadColumnFamiliesOnDemand, queryMetricsEnabled, targetReplicaIdFields inherited from class org.apache.hadoop.hbase.client.OperationWithAttributesID_ATRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidStoreFiles will not be scanned.voidMemStore will not be scanned.booleanReturns true if only the MemStore should be checked.booleanReturns true if only StoreFiles should be checked.Methods inherited from class org.apache.hadoop.hbase.client.ScanaddColumn, addFamily, createScanFromCursor, getAllowPartialResults, getBatch, getCacheBlocks, getCaching, getFamilies, getFamilyMap, getFilter, getFingerprint, getLimit, getMaxResultSize, getMaxResultsPerColumnFamily, getMaxVersions, getReadType, getRowOffsetPerColumnFamily, getStartRow, getStopRow, getTimeRange, hasFamilies, hasFilter, includeStartRow, includeStopRow, isAsyncPrefetch, isGetScan, isNeedCursorResult, isRaw, isReversed, isScanMetricsByRegionEnabled, isScanMetricsEnabled, numFamilies, readAllVersions, readVersions, setACL, setACL, setAllowPartialResults, setAsyncPrefetch, setAttribute, setAuthorizations, setBatch, setCacheBlocks, setCaching, setColumnFamilyTimeRange, setConsistency, setEnableScanMetricsByRegion, setFamilyMap, setFilter, setId, setIsolationLevel, setLimit, setLoadColumnFamiliesOnDemand, setMaxResultSize, setMaxResultsPerColumnFamily, setNeedCursorResult, setOneRowLimit, setPriority, setRaw, setReadType, setReplicaId, setReversed, setRowOffsetPerColumnFamily, setRowPrefixFilter, setScanMetricsEnabled, setStartStopRowForPrefixScan, setTimeRange, setTimestamp, toMap, withStartRow, withStartRow, withStopRow, withStopRowMethods inherited from class org.apache.hadoop.hbase.client.QuerydoLoadColumnFamiliesOnDemand, getACL, getAuthorizations, getColumnFamilyTimeRange, getConsistency, getIsolationLevel, getLoadColumnFamiliesOnDemandValue, getReplicaId, isQueryMetricsEnabled, setQueryMetricsEnabledMethods inherited from class org.apache.hadoop.hbase.client.OperationWithAttributesgetAttribute, getAttributeSize, getAttributesMap, getId, getPriority
- 
Field Details- 
memOnly
- 
filesOnly
 
- 
- 
Constructor Details- 
InternalScan- Parameters:
- get- get to model scan after
 
- 
InternalScan- Parameters:
- scan- - original scan object
- Throws:
- IOException
 
 
- 
- 
Method Details- 
checkOnlyMemStoreStoreFiles will not be scanned. Only MemStore will be scanned.
- 
checkOnlyStoreFilesMemStore will not be scanned. Only StoreFiles will be scanned.
- 
isCheckOnlyMemStoreReturns true if only the MemStore should be checked. False if not.- Returns:
- true to only check MemStore
 
- 
isCheckOnlyStoreFilesReturns true if only StoreFiles should be checked. False if not.- Returns:
- true if only check StoreFiles
 
 
-