@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.ReadTypeDEFAULT_HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, HBASE_CLIENT_SCANNER_ASYNC_PREFETCH, SCAN_ATTRIBUTES_METRICS_DATA, SCAN_ATTRIBUTES_METRICS_ENABLE, SCAN_ATTRIBUTES_TABLE_NAMEcolFamTimeRangeMap, consistency, filter, loadColumnFamiliesOnDemand, targetReplicaIdID_ATRIBUTE| 构造器和说明 |
|---|
InternalScan(Get get) |
InternalScan(Scan scan) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, withStopRowdoLoadColumnFamiliesOnDemand, getACL, getAuthorizations, getColumnFamilyTimeRange, getConsistency, getIsolationLevel, getLoadColumnFamiliesOnDemandValue, getReplicaIdgetAttribute, getAttributeSize, getAttributesMap, getId, getPrioritypublic InternalScan(Get get)
get - get to model scan afterpublic InternalScan(Scan scan) throws IOException
scan - - original scan objectIOExceptionpublic void checkOnlyMemStore()
public void checkOnlyStoreFiles()
public boolean isCheckOnlyMemStore()
public boolean isCheckOnlyStoreFiles()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.