@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()
.
HINT_LOOKAHEAD, SCAN_ATTRIBUTES_METRICS_DATA, SCAN_ATTRIBUTES_METRICS_ENABLE, SCAN_ATTRIBUTES_TABLE_NAME
consistency, filter, 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, doLoadColumnFamiliesOnDemand, getAllowPartialResults, getBatch, getCacheBlocks, getCaching, getFamilies, getFamilyMap, getFilter, getFingerprint, getLoadColumnFamiliesOnDemandValue, getMaxResultSize, getMaxResultsPerColumnFamily, getMaxVersions, getRowOffsetPerColumnFamily, getScanMetrics, getStartRow, getStopRow, getTimeRange, hasFamilies, hasFilter, isGetScan, isRaw, isReversed, isScanMetricsEnabled, isSmall, numFamilies, setACL, setACL, setAllowPartialResults, setAttribute, setAuthorizations, setBatch, setCacheBlocks, setCaching, setConsistency, setFamilyMap, setFilter, setId, setIsolationLevel, setLoadColumnFamiliesOnDemand, setMaxResultSize, setMaxResultsPerColumnFamily, setMaxVersions, setMaxVersions, setRaw, setReplicaId, setReversed, setRowOffsetPerColumnFamily, setRowPrefixFilter, setScanMetricsEnabled, setSmall, setStartRow, setStopRow, setTimeRange, setTimeStamp, toMap
getACL, getAuthorizations, getConsistency, getIsolationLevel, getReplicaId
getAttribute, getAttributeSize, getAttributesMap, getId
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()