Updated on 2022-08-16 GMT+08:00

Opening a Table

Function

Use the KuduClient.openTable(final String name) method to open a table object.

Sample Code

The code snippet for opening the table is as follows:

// Open the Kudu table. 
KuduTable table = client.openTable(tableName);

In the sample code, tableName is the name of the table to be opened.