Re: Is the JSON that is sent to the server converted to Protobufs or is the Protobufs converted to JSON to be used by Phoenix

2016-09-08 Thread Josh Elser
Yup, Francis got it right. There are POJOs in Avatica which Jackson (un)marshals the JSON in-to/out-of and logic which constructs the POJOs from Protobuf and vice versa. In some hot-code paths, there are implementations in the server which can use protobuf objects directly (to avoid extra

Re: Is the JSON that is sent to the server converted to Protobufs or is the Protobufs converted to JSON to be used by Phoenix

2016-09-04 Thread F21
I am not sure what you mean here. The phoenix query server (which is based on avatica, which is a subproject in the Apache Calcite project) accepts both Protobufs and JSON depending on the value of "phoenix.queryserver.serialization". The server implements readers that will convert the

Is the JSON that is sent to the server converted to Protobufs or is the Protobufs converted to JSON to be used by Phoenix

2016-09-04 Thread Cheyenne Forbes
It would be great if this question could be answered. Thank you, Cheyenne