Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7872

Delete(byte [] row, long timestamp) is marked as deprecated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.94.5
    • None
    • None
    • None

    Description

      I see that the constructor: public Delete(byte [] row, long timestamp, RowLock rowLock) was deprecated, but the following was also deprecated with a partial comment that looks like a copy/paste error, no?

      /**

      • Create a Delete operation for the specified row and timestamp.<p>
        *
      • If no further operations are done, this will delete all columns in all
      • families of the specified row with a timestamp less than or equal to the
      • specified timestamp.<p>
        *
      • This timestamp is ONLY used for a delete row operation. If specifying
      • families or columns, you must specify each timestamp individually.
      • @param row row key
      • @param timestamp maximum version timestamp (only for delete row)
      • @param rowLock previously acquired row lock, or null
      • @deprecated {@link RowLock}

        is deprecated, use #de
        */
        public Delete(byte [] row, long timestamp) {

      Attachments

        Activity

          People

            Unassigned Unassigned
            giacomotaylor James Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: