HBASE-11053 - Change DeleteTracker APIs to work with Cell (Javadoc addendum)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1590553 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2c2792729
commit
d77f9291cb
|
@ -38,14 +38,14 @@ public interface DeleteTracker {
|
|||
* this row operation.
|
||||
* <p>
|
||||
* This is called when a Delete is encountered in a StoreFile.
|
||||
* @param Cell cell
|
||||
* @param cell - the delete cell
|
||||
*/
|
||||
void add(Cell cell);
|
||||
|
||||
/**
|
||||
* Check if the specified cell buffer has been deleted by a previously
|
||||
* seen delete.
|
||||
* @param Cell cell to check if deleted
|
||||
* @param cell - current cell to check if deleted by a previously deleted cell
|
||||
* @return deleteResult The result tells whether the KeyValue is deleted and why
|
||||
*/
|
||||
DeleteResult isDeleted(Cell cell);
|
||||
|
|
|
@ -66,11 +66,7 @@ public class ScanDeleteTracker implements DeleteTracker {
|
|||
* this row operation.
|
||||
* <p>
|
||||
* This is called when a Delete is encountered in a StoreFile.
|
||||
* @param buffer KeyValue buffer
|
||||
* @param qualifierOffset column qualifier offset
|
||||
* @param qualifierLength column qualifier length
|
||||
* @param timestamp timestamp
|
||||
* @param type delete type as byte
|
||||
* @param cell - the delete cell
|
||||
*/
|
||||
@Override
|
||||
public void add(Cell cell) {
|
||||
|
@ -109,7 +105,7 @@ public class ScanDeleteTracker implements DeleteTracker {
|
|||
* Check if the specified KeyValue buffer has been deleted by a previously
|
||||
* seen delete.
|
||||
*
|
||||
* @param Cell cell
|
||||
* @param cell - current cell to check if deleted by a previously seen delete
|
||||
* @return deleteResult
|
||||
*/
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue