Applicable to JDK 6 and later.
To use the Table Store Java SDK in Maven, you only need to add the corresponding dependency to the
pom.xml file. Java SDK v4.3.1 is used as an example. Type the following content in the “dependency” section:
For Java SDK v4.2.1, the process is as follows:
Download the Java SDK.
Decompress the SDK.
tablestore-<versionId>.jarfile in the decompressed folder and copy all the files in the lib folder to your project.
In Eclipse, right-click your project and choose Properties > Java Build Path > Add JARs from the context menu.
Select all JAR files that you have copied in Step 3.
After completing the preceding steps, you can use the Table Store Java SDK in Eclipse.
The Table Store Java SDK provides diverse sample programs for your reference or use. You can get the sample program as follows:
Download and decompress the Table Store Java SDK.
Find the sample programs in the examples folder.