phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alex kamil <alex.ka...@gmail.com>
Subject Re: setFetchSize
Date Mon, 10 Mar 2014 21:35:50 GMT
thanks, James,

will use hbase.client.scanner.caching

Alex


On Mon, Mar 10, 2014 at 3:00 PM, James Taylor <jamestaylor@apache.org>wrote:

> The getFetchSize() is already based on the hbase.client.scanner.caching
> setting, so there's not a big need. The only advantage would be if per
> statement you wanted different caching. Is that the case for you?
>
> Thanks,
> James
>
>
> On Mon, Mar 10, 2014 at 10:11 AM, alex kamil <alex.kamil@gmail.com> wrote:
>
>> are there any plans to implement setFetchSize in PhoenixStatement?
>>
>>  when retrieving large number of rows the resultSet generates lots of
>> network calls back to Hbase
>>
>>
>>
>> phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
>>
>>  @Override
>>
>>     public void setFetchSize(int rows) throws SQLException {
>>
>>         // TODO: map to Scan.setBatch() ?
>>
>>         throw new SQLFeatureNotSupportedException();
>>
>>     }
>>
>
>

Mime
View raw message