@Deprecated @InterfaceAudience.Private public class LegacyScanQueryMatcher extends ScanQueryMatcher
ScanQueryMatcher.MatchCode| Modifier and Type | Field and Description |
|---|---|
protected long |
earliestPutTs
Deprecated.
Oldest put in any of the involved store files Used to decide whether it is ok to delete family
delete marker of this store keeps deleted KVs.
|
columns, currentRow, now, oldestUnexpiredTS, rowComparator, startKey| Modifier and Type | Method and Description |
|---|---|
static LegacyScanQueryMatcher |
create(Scan scan,
ScanInfo scanInfo,
NavigableSet<byte[]> columns,
ScanType scanType,
long readPointToUse,
long earliestPutTs,
long oldestUnexpiredTS,
long now,
byte[] dropDeletesFromRow,
byte[] dropDeletesToRow,
RegionCoprocessorHost regionCoprocessorHost)
Deprecated.
|
Filter |
getFilter()
Deprecated.
|
Cell |
getNextKeyHint(Cell cell)
Deprecated.
Delegate to
Filter.getNextCellHint(Cell). |
boolean |
hasNullColumnInQuery()
Deprecated.
|
boolean |
isUserScan()
Deprecated.
|
ScanQueryMatcher.MatchCode |
match(Cell cell)
Deprecated.
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)
|
boolean |
moreRowsMayExistAfter(Cell cell)
Deprecated.
|
protected void |
reset()
Deprecated.
|
checkDeleted, clearCurrentRow, compareKeyForNextColumn, compareKeyForNextRow, createStartKeyFromRow, currentRow, getKeyForNextColumn, getStartKey, instantiateDeleteTracker, preCheck, setToNewRowprotected final long earliestPutTs
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.public boolean hasNullColumnInQuery()
hasNullColumnInQuery in class ScanQueryMatcherprotected void reset()
reset in class ScanQueryMatcherpublic boolean isUserScan()
isUserScan in class ScanQueryMatcherpublic boolean moreRowsMayExistAfter(Cell cell)
moreRowsMayExistAfter in class ScanQueryMatcherstopRow or we are scanning on row only because this Scan is for a Get,
etc.public Filter getFilter()
getFilter in class ScanQueryMatcherpublic Cell getNextKeyHint(Cell cell) throws IOException
ScanQueryMatcherFilter.getNextCellHint(Cell). If no filter, return null.getNextKeyHint in class ScanQueryMatcherIOExceptionpublic static LegacyScanQueryMatcher create(Scan scan, ScanInfo scanInfo, NavigableSet<byte[]> columns, ScanType scanType, long readPointToUse, long earliestPutTs, long oldestUnexpiredTS, long now, byte[] dropDeletesFromRow, byte[] dropDeletesToRow, RegionCoprocessorHost regionCoprocessorHost) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.