thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj kr <pankaj...@huawei.com>
Subject RE: Readlength for python client
Date Mon, 07 Dec 2015 01:52:57 GMT
Thanks Nobuaki for replying, we are using libthrift-0.9.0 jar.
setReadLength exist in TBinaryProtocol.

Regards,
Pankaj
-----Original Message-----
From: Nobuaki Sukegawa [mailto:nsukeg@gmail.com] 
Sent: 06 December 2015 09:52
To: user@thrift.apache.org
Subject: Re: Readlength for python client

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
View raw message