hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13287) Append is missing methods, such as addColumn()
Date Wed, 12 Jul 2017 15:54:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084206#comment-16084206

Chia-Ping Tsai commented on HBASE-13287:

bq. So why not moved those down too?
The sub class implements the setTTL() for overriding the return type.

Will mark this as duplicate and than close this.

> Append is missing methods, such as addColumn()
> ----------------------------------------------
>                 Key: HBASE-13287
>                 URL: https://issues.apache.org/jira/browse/HBASE-13287
>             Project: HBase
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.0
>            Reporter: Lars George
>            Assignee: Jan Hentschel
> Analog to Put, Delete, Get, etc. Append should have the same common method signature,
namely {{addColumn()}} as opposed to the older {{add()}}. Also consider adding the other variant
that Put has, including the _immutable_ versions.
> Question related: should those methods not better be in the Mutation class? All derived
classes implement them. {{setTTL()}} is in Mutation, and throws an exception when used with
{{Delete}}. So why not moved those down too? (cc [~saint.ack@gmail.com])

This message was sent by Atlassian JIRA

View raw message