[
https://issues.apache.org/jira/browse/HBASE-26090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-26090:
------------------------------
Description:
The following methods have been removed:
public Scan setTimeStamp(long timestamp);
public Scan setSmall(boolean small);
public boolean isSmall();
The first method is just a typo, use setTimestamp instead. And for small scan,
just use setLimit to control the number of records to return, and use
setReadType to use pread when scanning. And for the one trip rpc optimizatoin,
now the openScanner call will always return results if any, and it will close
the scanner when limit is reached. So in this case the default implementation
is already 'one rpc', we do not need introduce a special one any more.
> Remove the deprecated methods in Scan which should be removed in 3.0.0
> ----------------------------------------------------------------------
>
> Key: HBASE-26090
> URL: https://issues.apache.org/jira/browse/HBASE-26090
> Project: HBase
> Issue Type: Sub-task
> Components: API, Client, scan
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-2
>
>
> The following methods have been removed:
> public Scan setTimeStamp(long timestamp);
> public Scan setSmall(boolean small);
> public boolean isSmall();
> The first method is just a typo, use setTimestamp instead. And for small
> scan, just use setLimit to control the number of records to return, and use
> setReadType to use pread when scanning. And for the one trip rpc
> optimizatoin, now the openScanner call will always return results if any, and
> it will close the scanner when limit is reached. So in this case the default
> implementation is already 'one rpc', we do not need introduce a special one
> any more.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)