hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wellington Chevreuil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15447) Improve javadocs description for Delete methods
Date Fri, 11 Mar 2016 18:17:39 GMT
Wellington Chevreuil created HBASE-15447:

             Summary: Improve javadocs description for Delete methods
                 Key: HBASE-15447
                 URL: https://issues.apache.org/jira/browse/HBASE-15447
             Project: HBase
          Issue Type: Improvement
            Reporter: Wellington Chevreuil
            Priority: Minor

Current javadoc for Delete operation is a bit confusing. Even though initial section does
describe the proper behaviour, where calling delete without specifying timestamp will only
delete records from now to the past, this is not as clear in the method specific description

public Delete(byte[] row)
Create a Delete operation for the specified row.
If no further operations are done, this will delete everything associated with the specified
row (all versions of all columns in all families).

row - row key

The description can lead to the conclusion that all versions will be deleted. But that's not
true if a row has a future timestamp. Although this is a very unusual scenario (having a future
timestamp), it should still be clarified.

This message was sent by Atlassian JIRA

View raw message