Package com.gpudb.protocol
Class RawGpudbResponse
java.lang.Object
com.gpudb.protocol.RawGpudbResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for the raw wrapper for GPUdb responses.
Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getData()The Avro binary-encoded response payload; populated when binary encoding was requested.The JSON-encoded response payload; populated when JSON encoding was requested.The fully-qualified name of the response’s data type, or “none” if there is no data payload.Empty on success; otherwise the error message describing the failure.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Indicates the success (“OK”) or failure (“ERROR”) of the request.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setData(ByteBuffer data) The Avro binary-encoded response payload; populated when binary encoding was requested.setDataStr(String dataStr) The JSON-encoded response payload; populated when JSON encoding was requested.setDataType(String dataType) The fully-qualified name of the response’s data type, or “none” if there is no data payload.setMessage(String message) Empty on success; otherwise the error message describing the failure.Indicates the success (“OK”) or failure (“ERROR”) of the request.toString()