Hi Vivek,
You may use meta information for the connection. Once you created
connection using Phoenix jdbc-driver, you may run following code:

ResultSet rs = 
connection.meta.getTables(connection.meta.getConnection().getCatalog(),
null, "%", new String[] {"TABLE"});

Iterating over the result set you may get table name ("TABLE_NAME") and
schema ("TABLE_SCHEM") values.

Thanks,
Sergey
On Tue, Oct 25, 2016 at 1:51 AM, Vivek Paranthaman <
[email protected]> wrote:

> Hi,
>
> Anybody know, how to get Schema and available tables using jdbc-driver
> from Hbase?
>

Reply via email to