Searched refs:binarySerializer (Results 1 – 4 of 4) sorted by relevance
30 private TSerializer binarySerializer; field in ThriftSerDe36 this.binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in ThriftSerDe()43 return binarySerializer.serialize(obj); in serializeBinary()
36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testCamelCaseSyntax() local42 byte[] serBytes = binarySerializer.serialize(obj); in testCamelCaseSyntax()
36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testReuseObject() local49 serBytes = binarySerializer.serialize(ru1); in testReuseObject()
59 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testIdentity() local81 binaryDeserializer.deserialize(ooe2, binarySerializer.serialize(ooe)); in testIdentity()87 binaryDeserializer.deserialize(n2, binarySerializer.serialize(n)); in testIdentity()93 binaryDeserializer.deserialize(hm2, binarySerializer.serialize(hm)); in testIdentity()101 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testDeepCopy() local106 byte[] binaryCopy = binarySerializer.serialize(hm); in testDeepCopy()