[protobuf] Serialized Object as a value in Key-Value store.

2011-09-22 Thread Suraj
Hi, We are planning to use protocol buffer to serialized the data before inserting it into the db. Then we will be inserting this serialized string into the db. We will be storing this on SSD so look up throughput is pretty high. But since SSD's are costly, to save on the disk cost, I am

[protobuf] messages of different types Serialized to string.

2011-09-22 Thread Suraj
Hi, Say I have two messages a and b of types A and B respectively. Can I serialize them to the same string? Something like.. a.SerializeToString(str); b.SerializeTostring(str_new); str.append(str_new); Then while parsing, I will do, a.ParseFromString(str) and b.ParseFromString(str). I have

[protobuf] Re: Serialized Object as a value in Key-Value store.

2011-09-22 Thread Suraj
.] } repeated inner2 rec = 2; } repeated inner1 in = 2; } But this will be changing over time and we do plan to push lot of the more information(hence change in the proto) to this store once the basic version is rolled out. Thanks and Regards, Suraj Narkhede On Sep

[protobuf] Deleting a member at particular index in a repeated member

2011-10-17 Thread Suraj
Can we delete an entry at a particular index in a repeated member in a protobuff object? -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send