@InterfaceAudience.LimitedPrivate(value="Coprocesssor") public class InternalScan extends Scan
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()
.
Scan.ReadType
Modifier and Type | Field and Description |
---|---|
private boolean |
filesOnly |
private boolean |
memOnly |
DEFAULT_HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, SCAN_ATTRIBUTES_METRICS_DATA, SCAN_ATTRIBUTES_METRICS_ENABLE, SCAN_ATTRIBUTES_TABLE_NAME
colFamTimeRangeMap, consistency, filter, loadColumnFamiliesOnDemand, targetReplicaId
ID_ATRIBUTE
Constructor and Description |
---|
InternalScan(Get get) |
InternalScan(Scan scan) |
Modifier and Type | Method and Description |
---|---|
void |
checkOnlyMemStore()
StoreFiles will not be scanned.
|
void |
checkOnlyStoreFiles()
MemStore will not be scanned.
|
boolean |
isCheckOnlyMemStore()
Returns true if only the MemStore should be checked.
|
boolean |
isCheckOnlyStoreFiles()
Returns true if only StoreFiles should be checked.
|
addColumn, addFamily, createScanFromCursor, getAllowPartialResults, getBatch, getCacheBlocks, getCaching, getFamilies, getFamilyMap, getFilter, getFingerprint, getLimit, getMaxResultSize, getMaxResultsPerColumnFamily, getMaxVersions, getReadType, getRowOffsetPerColumnFamily, getScanMetrics, getStartRow, getStopRow, getTimeRange, hasFamilies, hasFilter, includeStartRow, includeStopRow, isAsyncPrefetch, isGetScan, isNeedCursorResult, isRaw, isReversed, isScanMetricsEnabled, isSmall, numFamilies, readAllVersions, readVersions, setACL, setACL, setAllowPartialResults, setAsyncPrefetch, setAttribute, setAuthorizations, setBatch, setCacheBlocks, setCaching, setColumnFamilyTimeRange, setConsistency, setFamilyMap, setFilter, setId, setIsolationLevel, setLimit, setLoadColumnFamiliesOnDemand, setMaxResultSize, setMaxResultsPerColumnFamily, setMaxVersions, setMaxVersions, setNeedCursorResult, setOneRowLimit, setPriority, setRaw, setReadType, setReplicaId, setReversed, setRowOffsetPerColumnFamily, setRowPrefixFilter, setScanMetricsEnabled, setSmall, setStartRow, setStopRow, setTimeRange, setTimestamp, setTimeStamp, toMap, withStartRow, withStartRow, withStopRow, withStopRow
doLoadColumnFamiliesOnDemand, getACL, getAuthorizations, getColumnFamilyTimeRange, getConsistency, getIsolationLevel, getLoadColumnFamiliesOnDemandValue, getReplicaId
getAttribute, getAttributeSize, getAttributesMap, getId, getPriority
public InternalScan(Get get)
get
- get to model scan afterpublic InternalScan(Scan scan) throws IOException
scan
- - original scan objectIOException
public void checkOnlyMemStore()
public void checkOnlyStoreFiles()
public boolean isCheckOnlyMemStore()
public boolean isCheckOnlyStoreFiles()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.