All Products
Search
Document Center

Tablestore:Overview

Last Updated:Nov 30, 2023

This topic describes the general procedures for using Tablestore SDK for Java with different data models and the version compatibility of Tablestore SDK for Java. This topic applies to Tablestore SDK for Java V5.0.0 or later.

Background information

Tablestore supports multiple data models, such as the Wide Column model, the TimeSeries model, and the Timeline model. This SDK reference mainly describes how to use the Wide Column model and the TimeSeries model. Use Tablestore SDK for Java based on the data model of your Tablestore instance, as described in the following table.

Note

For more information about the Timeline model, see Overview.

Data model

Procedure

Wide Column model

You can use Tablestore SDK for Java to manage the Wide Column model based on the following general procedure:

  1. Initialize a client to access your Tablestore instance. For more information, see Initialization.

  2. Create data tables to store data. For more information, see Operations on tables.

  3. Read data from or write data to the data tables. For more information, see Basic operations on data and Incremental data operations.

  4. Use indexes to improve query performance. For more information, see Search Index and Secondary Index.

  5. Execute SQL statements to query data. For more information, see SQL query.

Use other features based on your business requirements.

  • If you want to migrate data or use compute engines to process data, use Tunnel Service. For more information, see Tunnel service.

  • If you want to deliver the data of Tablestore to Object Storage Service (OSS) in real time for storage and analysis, use the data delivery feature. For more information, see Data Delivery.

TimeSeries model

You can use Tablestore SDK for Java to manage the TimeSeries model based on the following general procedure:

  1. Initialize a client to access your Tablestore instance. For more information, see Initialization.

  2. Create time series tables to store data. For more information, see Create a time series table.

  3. Read data from or write data to the time series tables. For more information, see Write time series data and Query time series data.

  4. Retrieve time series. For more information, see Retrieve time series.

  5. Execute SQL statements to query data. For more information, see SQL query.

Version compatibility

The latest version of Tablestore SDK for Java is V5.x.x. The following section describes the compatibility of the latest version with earlier versions:

  • Compatbile with Tablestore SDK for Java V4.x.x: yes

  • Compatbile with Tablestore SDK for Java V2.x.x: no

For more information, see Version history of Tablestore SDK for Java.

References