Details
Description
In my work on HBASE-2400, implementing deletes for the Avro server felt quite awkward. Rather than the clean API of the Get object, which allows restrictions on the result set from a row to be expressed with addColumn, addFamily, setTimeStamp, setTimeRange, setMaxVersions, and setFilters, the Delete object hides these semantics behind various constructors to deleteColumn[s] an deleteFamily. From my naive vantage point, I see no reason why it would be a bad idea to mimic the Get API exactly, though I could quite possibly be missing something. Thoughts?
Attachments
Attachments
Issue Links
- is related to
-
HBASE-2051 Use builder pattern to improve usability of client API
- Closed
- relates to
-
HBASE-2648 API Rework: Have Delete and Put implement same Interface or subclass same 'Mutation' ancestor (Get too? And Result?)
- Closed
-
HBASE-2930 API Put takes List but Delete takes ArrayList - seems inconsistent
- Closed
-
HBASE-10856 Prep for 1.0
- Closed