phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: setFetchSize
Date Mon, 10 Mar 2014 19:00:44 GMT
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