[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2016-03-18 Thread Aki Sukegawa (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aki Sukegawa updated THRIFT-3480:
-
Fix Version/s: (was: 0.10.0)

> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Attachments: THRIFT-3480.patch
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {code}
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> {code}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.  And the truth 
> is that write function of this transport does nothing at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2015-12-09 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-3480:
--
Attachment: THRIFT-3480.patch

> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Fix For: 0.9.4
>
> Attachments: THRIFT-3480.patch
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {code}
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> {code}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2015-12-09 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-3480:
--
Attachment: (was: THRIFT-3480.patch)

> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Fix For: 0.9.4
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {code}
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> {code}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2015-12-09 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-3480:
--
Description: 
Hi Thrift guys, I would like to propose a transport for computing byte size of 
the serialized object.  Here is a example.

{code}
boost::shared_ptr transport{ new TWriteOnlyTransport };
boost::shared_ptr protocol{ new TBinaryProtocol(transport) 
};

size = object.write(protocol.get());
{code}

A write only transport can be written but never read.  It discards all data 
written to it but reports that the write operation succeeded.  And the truth is 
that write function of this transport does nothing at all.

  was:
Hi Thrift guys, I would like to propose a transport for computing byte size of 
the serialized object.  Here is a example.

{code}
boost::shared_ptr transport{ new TWriteOnlyTransport };
boost::shared_ptr protocol{ new TBinaryProtocol(transport) 
};

size = object.write(protocol.get());
{code}

A write only transport can be written but never read.  It discards all data 
written to it but reports that the write operation succeeded.


> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Fix For: 0.9.4
>
> Attachments: THRIFT-3480.patch
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {code}
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> {code}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.  And the truth 
> is that write function of this transport does nothing at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2015-12-08 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-3480:
--
Attachment: THRIFT-3480.patch

> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Fix For: 0.9.4
>
> Attachments: THRIFT-3480.patch
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {{
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> }}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (THRIFT-3480) offer a simple approach to compute byte size of the serialized object

2015-12-08 Thread Xiaoshuang LU (JIRA)

 [ 
https://issues.apache.org/jira/browse/THRIFT-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoshuang LU updated THRIFT-3480:
--
Description: 
Hi Thrift guys, I would like to propose a transport for computing byte size of 
the serialized object.  Here is a example.

{code}
boost::shared_ptr transport{ new TWriteOnlyTransport };
boost::shared_ptr protocol{ new TBinaryProtocol(transport) 
};

size = object.write(protocol.get());
{code}

A write only transport can be written but never read.  It discards all data 
written to it but reports that the write operation succeeded.

  was:
Hi Thrift guys, I would like to propose a transport for computing byte size of 
the serialized object.  Here is a example.

{{
boost::shared_ptr transport{ new TWriteOnlyTransport };
boost::shared_ptr protocol{ new TBinaryProtocol(transport) 
};

size = object.write(protocol.get());
}}

A write only transport can be written but never read.  It discards all data 
written to it but reports that the write operation succeeded.


> offer a simple approach to compute byte size of the serialized object
> -
>
> Key: THRIFT-3480
> URL: https://issues.apache.org/jira/browse/THRIFT-3480
> Project: Thrift
>  Issue Type: New Feature
>  Components: C++ - Library
>Affects Versions: 0.9.3
>Reporter: Xiaoshuang LU
> Fix For: 0.9.4
>
> Attachments: THRIFT-3480.patch
>
>
> Hi Thrift guys, I would like to propose a transport for computing byte size 
> of the serialized object.  Here is a example.
> {code}
> boost::shared_ptr transport{ new TWriteOnlyTransport 
> };
> boost::shared_ptr protocol{ new 
> TBinaryProtocol(transport) };
> size = object.write(protocol.get());
> {code}
> A write only transport can be written but never read.  It discards all data 
> written to it but reports that the write operation succeeded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)