Skip to content

1.0.0 Release Notes (2023 01 03)

IHEII edited this page Feb 2, 2023 · 2 revisions

OBKV Table Client Java v1.0.0 Release Notes

Previous Release Notes: None

1. Abstract

1.1 New Interface - Mutation

For convenience, we have implemented a set of new interfaces based on the old interfaces to provide users with more convenient use of OBKV.

1.2 Bug Fixes and Small Features

We have fixed some bugs and implemented some small features to improve user experience, among which serious bugs is worth noting.

1.3 Unsupported Features

At present, there are some features not supported by the observer. For details, see unsupported features.

2. New Interface - Mutation

2.1 Summary

The Mutation interface is a brand-new interface, and most of the basic operations can be completed by using Mutation. At present, the Mutation interface has defined Append/Delete/Increment/Insert/InsertOrUpdate/Replace/Update/BatchOperation.

In order to input key-value pairs more conveniently, we have implemented Row and ColumnValue. To reduce the use of new, we implemented a static function to help users use the Mutation interface more efficiently.

2.2 Usage

Could learn more from demo

client.insert("#tableName").setRowKey(row(colVal("column1", 0L), colVal("column2", "row_0")))
                           .addMutateColVal(colVal("column3", new byte[] { 1 }))
                           .addMutateColVal(colVal("column4", 100L))
                           .execute();

3. Bug Fixes and Small Features

  • Solved serious security issues, upgraded some dependencies.
  • Whole scan range will be used if no scan range is specified explicitly.
  • Support local index in odp mode

4. Unsupported Features

  • ObTableFilter: You can implement conditional operations through ObTableFilter in Mutation (using setFilter() in Append/Delete/Increment/Update), but the observer does not support it for the time being, and we will gradually improve this function in the future.
  • Atomic batch operation: The observer does not support atomic batch operation now.