thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nobuaki Sukegawa <nsu...@gmail.com>
Subject Re: Readlength for python client
Date Sun, 06 Dec 2015 01:51:51 GMT
Hi Pankarj,

Couldn't find setReadLength in *Java*.
Are you using customized version of Thrift Java ?

On Fri, Dec 4, 2015 at 12:41 PM Pankaj kr <pankaj.kr@huawei.com> wrote:

> Hi
>
> For java thrift client, we have the API to set the readLength, like
> TBinaryProtocol tBinaryProtocol = new TBinaryProtocol(transport);
> tBinaryProtocol.setReadLength(10);
>
>
> How to set readLength for python thrift client.
>         self.transport =
> TTransport.TBufferedTransport(TSocket.TSocket(hbaseThriftServerIP,
> hbaseThriftServerPort),True)
>         protocol = TBinaryProtocol.TBinaryProtocol(self.transport)
>
> Regards,
> Pankaj
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message