For splits, I've used,

https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/schema/PTable.java#L267

To get a reference to a PTable,

https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java#L367

Not sure if this is exposed through JDBC.

On Mon, Jan 18, 2016 at 11:27 AM, Vladimir Rodionov <[email protected]>
wrote:

> Number of regions, I presume? You can get this info using standard HBase
> API.
>
> -Vlad
>
> On Mon, Jan 18, 2016 at 4:53 AM, Sumit Nigam <[email protected]> wrote:
>
>> Hi,
>>
>> Is there an easy way to know the number of splits a Phoenix table has?
>> Preferably through JDBC metadata API?
>>
>> Thanks,
>> Sumit
>>
>
>

Reply via email to