LOG.info(_fqName + " QueryId:" + rpcContext.getInput().getCommonInfo().getQueryId() + " ObjectType:" + queryObjectType);
// and data type
String queryDataType = rpcContext.getInput().getQueryDataClassType();
LOG.info(_fqName + " QueryId:" + rpcContext.getInput().getCommonInfo().getQueryId() + " QueryDataType:" + queryDataType);
// allocate the object data type ..
RPCStruct queryData = createQueryDataObjectGivenType(queryDataType);
LOG.info(_fqName + " QueryId:" + rpcContext.getInput().getCommonInfo().getQueryId() + " DeSerializing Query Data");
// allocate an input stream
DataInputBuffer inputStream = new DataInputBuffer();
inputStream.reset(rpcContext.getInput().getQueryDataBuffer().getReadOnlyBytes(),0,rpcContext.getInput().getQueryDataBuffer().getCount());
// and deserialize into the structure
queryData.deserialize(inputStream,new BinaryProtocol());
LOG.info(_fqName + " QueryId:" + rpcContext.getInput().getCommonInfo().getQueryId() + " Allocating QueryOp Object of type:" + queryObjectType);
// allocate query object
Query queryObject = createQueryObjectGivenType(queryObjectType,rpcContext.getInput().getShardId(),queryData);
LOG.info(_fqName + " QueryId:" + rpcContext.getInput().getCommonInfo().getQueryId() + " Initializing QueryObject");
// initialize query