NoSQL
Catalyst NoSQL is a fully managed non-relational, NoSQL data storage feature that enables you to store the semi-structured, unstructured, and disparate data of your applications. Catalyst supports document-type data storage in the key-value pair based JSON format.
The Catalyst NoSQL Java SDK package enables you to perform CRUD data operations on your NoSQL tables in your project. You can fetch the metadata of your NoSQL tables, create NoSQL items of various supported data types, and insert, update, fetch, or delete items in a specific table. You can also query tables or indexes of tables by specifying query conditions.
Early Access Note
NoSQL is currently only available in the early access mode. You will need to install the beta version of the Java SDK. The details are given below:
Installation Procedure:
-
Download the ZIP file from the given URL. The zip file contains the SDK files as .jar files.
-
Replace these jars in your Java functions to use the beta SDK.
The beta SDK will be installed for the new functions created from beta CLI by default.
Get Table Metadata
Catalyst enables you to fetch the metadata of a NoSQL table by obtaining an instance of the Java SDK using the getInstance() method. You can get the metadata of a single table or of all tables in your project.
Get Metadata of Single Table
The metadata of a single table in Catalyst NoSQL can be obtained in two ways as mentioned in this page. The response will contain details of the table configuration, such as the partition key and sort key, TTL attribute, and more.
Get Table Metadata with Table ID
You can fetch the metadata of a NoSQL table in your project by referring to its unique Table ID using the method getTable() as given below.
copy//public ZCNoSQLTable getTable(String tableName) throws Exception; //public ZCNoSQLTable getTable(Long tableId) throws Exception; // Get table metadata using the Table ID ZCNoSQL.getInstance().getTable(2144568989001);
Get Table Metadata with Table Name
You can fetch the metadata of a NoSQL table in your project by referring the table name using the method getTable() as given below.
copy//public ZCNoSQLTable getTable(String tableName) throws Exception; //public ZCNoSQLTable getTable(Long tableId) throws Exception; // Get table metadata using the Table name ZCNoSQL.getInstance().getTable('Employees');
Get Metadata of All Tables
Catalyst enables you to fetch the metadata of all the tables in your project using the getAllTables() method as shown below.
copy//public List<ZCNoSQLTable> getAllTables() throws Exception; ZCNoSQL.getInstance().getAllTables();
Last Updated 2025-06-20 16:21:48 +0530 +0530
Yes
No
Send your feedback to us