Package com.gpudb.protocol
Class RawGetRecordsByColumnResponse
java.lang.Object
com.gpudb.protocol.RawGetRecordsByColumnResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class RawGetRecordsByColumnResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.getRecordsByColumnRaw.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.Avro binary encoded response.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.booleanToo many records.getInfo()Additional information.Avro JSON encoded response.Avro schema ofbinaryEncodedResponseorjsonEncodedResponse.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The same table name as was passed in the parameter list.longTotal/Filtered number of records.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setBinaryEncodedResponse(ByteBuffer binaryEncodedResponse) Avro binary encoded response.setHasMoreRecords(boolean hasMoreRecords) Too many records.Additional information.setJsonEncodedResponse(String jsonEncodedResponse) Avro JSON encoded response.setResponseSchemaStr(String responseSchemaStr) Avro schema ofbinaryEncodedResponseorjsonEncodedResponse.setTableName(String tableName) The same table name as was passed in the parameter list.setTotalNumberOfRecords(long totalNumberOfRecords) Total/Filtered number of records.toString()
Method Details
getResponseSchemaStr
Avro schema ofbinaryEncodedResponseorjsonEncodedResponse.Returns:The current value ofresponseSchemaStr.setResponseSchemaStr
Avro schema ofbinaryEncodedResponseorjsonEncodedResponse.Parameters:responseSchemaStr- The new value forresponseSchemaStr.Returns:thisto mimic the builder pattern.