org.apache.hadoop.hbase.regionserver
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
@InterfaceAudience.LimitedPrivate(value="Coprocesssor")
public class InternalScan
- extends Scan
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()
.
Fields inherited from class org.apache.hadoop.hbase.client.Query |
filter |
Methods inherited from class org.apache.hadoop.hbase.client.Scan |
addColumn, addFamily, doLoadColumnFamiliesOnDemand, getBatch, getCacheBlocks, getCaching, getFamilies, getFamilyMap, getFilter, getFingerprint, getLoadColumnFamiliesOnDemandValue, getMaxResultSize, getMaxResultsPerColumnFamily, getMaxVersions, getRowOffsetPerColumnFamily, getStartRow, getStopRow, getTimeRange, hasFamilies, hasFilter, isGetScan, isRaw, isReversed, isSmall, numFamilies, setBatch, setCacheBlocks, setCaching, setFamilyMap, setFilter, setLoadColumnFamiliesOnDemand, setMaxResultSize, setMaxResultsPerColumnFamily, setMaxVersions, setMaxVersions, setRaw, setReversed, setRowOffsetPerColumnFamily, setSmall, setStartRow, setStopRow, setTimeRange, setTimeStamp, toMap |
InternalScan
public InternalScan(Get get)
- Parameters:
get
- get to model scan after
InternalScan
public InternalScan(Scan scan)
throws IOException
- Parameters:
scan
- - original scan object
- Throws:
IOException
checkOnlyMemStore
public void checkOnlyMemStore()
- StoreFiles will not be scanned. Only MemStore will be scanned.
checkOnlyStoreFiles
public void checkOnlyStoreFiles()
- MemStore will not be scanned. Only StoreFiles will be scanned.
isCheckOnlyMemStore
public boolean isCheckOnlyMemStore()
- Returns true if only the MemStore should be checked. False if not.
- Returns:
- true to only check MemStore
isCheckOnlyStoreFiles
public boolean isCheckOnlyStoreFiles()
- Returns true if only StoreFiles should be checked. False if not.
- Returns:
- true if only check StoreFiles
Copyright © 2015 The Apache Software Foundation. All rights reserved.