Package com.gpudb.protocol
Class RawAggregateGroupByResponse
java.lang.Object
com.gpudb.protocol.RawAggregateGroupByResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class RawAggregateGroupByResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.aggregateGroupByRaw.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theRawAggregateGroupByResponseparameterinfo.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.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.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.getTotalNumberOfRecords
public long getTotalNumberOfRecords()Total/Filtered number of records. This may be an over-estimate if a limit was applied and there are additional records (i.e., whenhasMoreRecordsis true).Returns:The current value oftotalNumberOfRecords.setTotalNumberOfRecords
Total/Filtered number of records. This may be an over-estimate if a limit was applied and there are additional records (i.e., whenhasMoreRecordsis true).Parameters:totalNumberOfRecords- The new value fortotalNumberOfRecords.Returns:thisto mimic the builder pattern.getInfo
Additional information.COUNT: Number of records written to the result table. Present only whenRESULT_TABLEwas given. UnliketotalNumberOfRecords, this is the post-limit/offset count, i.e. the number of records the result table actually holds.QUALIFIED_RESULT_TABLE_NAME: The fully qualified name of the table (i.e. including the schema) used to store the results.
Map.Returns:The current value ofinfo.setInfo
Additional information.COUNT: Number of records written to the result table. Present only whenRESULT_TABLEwas given. UnliketotalNumberOfRecords, this is the post-limit/offset count, i.e. the number of records the result table actually holds.QUALIFIED_RESULT_TABLE_NAME: The fully qualified name of the table (i.e. including the schema) used to store the results.
Map.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.