@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, setToNewRow
protected final long earliestPutTs
public ScanQueryMatcher.MatchCode match(Cell cell) throws IOException
ScanQueryMatcher
match
in class ScanQueryMatcher
cell
- KeyValue to checkIOException
- in case there is an internal consistency problem caused by a data
corruption.public boolean hasNullColumnInQuery()
hasNullColumnInQuery
in class ScanQueryMatcher
protected void reset()
reset
in class ScanQueryMatcher
public boolean isUserScan()
isUserScan
in class ScanQueryMatcher
public boolean moreRowsMayExistAfter(Cell cell)
moreRowsMayExistAfter
in class ScanQueryMatcher
stopRow
or we are scanning on row only because this Scan is for a Get,
etc.public Filter getFilter()
getFilter
in class ScanQueryMatcher
public Cell getNextKeyHint(Cell cell) throws IOException
ScanQueryMatcher
Filter.getNextCellHint(Cell)
. If no filter, return null
.getNextKeyHint
in class ScanQueryMatcher
IOException
public 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
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.