Create Table Instance

Catalyst NoSQL enables you to fetch an empty table instance of a NoSQL table. You can then use this instance to refer to that table and perform all supported table operations. This process will not fire a server-side call.

You can get an instance of your NoSQL table in two ways as described in this section.

Get Instance with Table ID

Get a table instance by passing the unique ID of the table to getTableInstance() as shown below.

    
copy
//public ZCNoSQLTable getTableInstance(Long tableId); //public ZCNoSQLTable getTableInstance(String tableName); // Create a table instance with Table ID ZCNoSQL.getInstance().getTableInstance(37898901211);

Get Instance with Table Name

Get a table instance by passing the table name to getTableInstance() as shown below.

    
copy
//public ZCNoSQLTable getTableInstance(Long tableId); //public ZCNoSQLTable getTableInstance(String tableName); // Create a table instance with Table ID ZCNoSQL.getInstance().getTableInstance('Employees');

Last Updated 2025-06-17 19:07:31 +0530 +0530