resultDataType = info.getField().getType();
break;
}
}
} catch (Throwable throwable) {
throw new ServiceException(throwable);
}
ClientProtos.QueryResultProto.Builder builder = ClientProtos.QueryResultProto.newBuilder();
builder.addResult(ProtobufUtil.toStringBytesPair(new KeyValue(Bytes.toBytes(type.getMethodName()),
Bytes.toBytes(info.getField().getFamily()), Bytes.toBytes(type.getMethodName()), value)));