--- title: "Get a Table Instance" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/data-store/get-table-instance/ description: "This page describes the method to fetch the table instance using tableID and name from a table in the Data Store in your Java application with sample code snippets." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Data Store" url: /en/cloud-scale/help/data-store/introduction --- # Get Table Instance ### Get the table instance using tableID An empty _table instance_ is created as the first step to refer a table and perform its operations.This is done through the `getTableInstance()` method which actually doesn't fire a server side call. This does not hold any values. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.object.ZCObject; import com.zc.component.object.ZCTable; ``` ```java //Create a base Object Instance ZCObject object = ZCObject.getInstance(); //Get a Table Instance referring the tableID on base object ZCTable tableMeta =object.getTableInstance(1510000000110121L); ``` ### Get the table instance using table name Table name is passed as an argument here to refer the table, without firing the server side call which is equivalent to the previous case. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.object.ZCObject; import com.zc.component.object.ZCTable; ``` ```java //Create Base Object Instance ZCObject object = ZCObject.getInstance(); //Get a Table Instance referring the table ID on base object ZCTable tableMeta = object.getTableInstance("SampleTable"); ```