diff options
author | Bryan Duxbury <bryanduxbury@apache.org> | 2009-10-01 20:53:45 +0000 |
---|---|---|
committer | Bryan Duxbury <bryanduxbury@apache.org> | 2009-10-01 20:53:45 +0000 |
commit | 51f288062dceebbb16886752ddeb0a24a8d04956 (patch) | |
tree | 39a9b4ee28f83ca7b5d6d227028805503c8ee9bf /test/DebugProtoTest.thrift | |
parent | 315a5dbe29213aa70750f4e93542e1d72f3b0bb9 (diff) | |
download | thrift-51f288062dceebbb16886752ddeb0a24a8d04956.tar.gz |
THRIFT-446. java: PartialDeserialization in Java
This patch adds a partialDeserialize method to TDeserializer that allows you to request a specific subfield of the serialized data.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@820786 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r-- | test/DebugProtoTest.thrift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift index 9ba60a264..9b3952e6c 100644 --- a/test/DebugProtoTest.thrift +++ b/test/DebugProtoTest.thrift @@ -265,4 +265,10 @@ union TestUnion { struct StructWithAUnion { 1: TestUnion test_union; +} + +struct PrimitiveThenStruct { + 1: i32 blah; + 2: i32 blah2; + 3: Backwards bw; }
\ No newline at end of file |