phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Kowalczyk <ma...@cloudability.com>
Subject Re: Number of splits
Date Mon, 18 Jan 2016 22:19:08 GMT
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 <vladrodionov@gmail.com>
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 <sumit_only@yahoo.com> wrote:
>
>> Hi,
>>
>> Is there an easy way to know the number of splits a Phoenix table has?
>> Preferably through JDBC metadata API?
>>
>> Thanks,
>> Sumit
>>
>
>

Mime
View raw message