@InterfaceAudience.Private public abstract class NormalUserScanQueryMatcher extends UserScanQueryMatcher
ScanQueryMatcher.MatchCodefilter, hasNullColumn, stopRow, trcolumns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey| Modifier | Constructor and Description |
|---|---|
protected |
NormalUserScanQueryMatcher(Scan scan,
ScanInfo scanInfo,
ColumnTracker columns,
boolean hasNullColumn,
DeleteTracker deletes,
long oldestUnexpiredTS,
long now) |
| Modifier and Type | Method and Description |
|---|---|
static NormalUserScanQueryMatcher |
create(Scan scan,
ScanInfo scanInfo,
ColumnTracker columns,
boolean hasNullColumn,
long oldestUnexpiredTS,
long now,
RegionCoprocessorHost regionCoprocessorHost) |
protected boolean |
isGet() |
ScanQueryMatcher.MatchCode |
match(Cell cell)
Determines if the caller should do one of several things:
seek/skip to the next row (MatchCode.SEEK_NEXT_ROW)
seek/skip to the next column (MatchCode.SEEK_NEXT_COL)
include the current KeyValue (MatchCode.INCLUDE)
ignore the current KeyValue (MatchCode.SKIP)
got to the next row (MatchCode.DONE)
|
protected void |
reset() |
create, getFilter, getNextKeyHint, hasNullColumnInQuery, isUserScan, matchColumn, moreRowsMayExistAfter, moreRowsMayExistsAftercheckDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, instantiateDeleteTracker, preCheck, setToNewRowprotected NormalUserScanQueryMatcher(Scan scan, ScanInfo scanInfo, ColumnTracker columns, boolean hasNullColumn, DeleteTracker deletes, long oldestUnexpiredTS, long now)
public ScanQueryMatcher.MatchCode match(Cell cell) throws IOException
ScanQueryMatchermatch in class ScanQueryMatchercell - KeyValue to checkIOException - in case there is an internal consistency problem caused by a data
corruption.protected void reset()
reset in class ScanQueryMatcherprotected boolean isGet()
isGet in class UserScanQueryMatcherpublic static NormalUserScanQueryMatcher create(Scan scan, ScanInfo scanInfo, ColumnTracker columns, boolean hasNullColumn, long oldestUnexpiredTS, long now, RegionCoprocessorHost regionCoprocessorHost) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.