Package com.gpudb.protocol
Class RawAggregateUnpivotResponse
java.lang.Object
com.gpudb.protocol.RawAggregateUnpivotResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class RawAggregateUnpivotResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.aggregateUnpivotRaw.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theRawAggregateUnpivotResponseparameterinfo.Constructor Summary
ConstructorsConstructorDescriptionConstructs a RawAggregateUnpivotResponse object with default parameters.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.Typically shows the result-table name if provided in the request (Ignore otherwise).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) Typically shows the result-table name if provided in the request (Ignore otherwise).setTotalNumberOfRecords(long totalNumberOfRecords) Total/Filtered number of records.toString()
Method Details
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.setTableName
Typically shows the result-table name if provided in the request (Ignore otherwise).Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.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.getBinaryEncodedResponse
Avro binary encoded response.Returns:The current value ofbinaryEncodedResponse.setBinaryEncodedResponse
Avro binary encoded response.Parameters:binaryEncodedResponse- The new value forbinaryEncodedResponse.Returns:thisto mimic the builder pattern.setJsonEncodedResponse
Avro JSON encoded response.Parameters:jsonEncodedResponse- The new value forjsonEncodedResponse.Returns:thisto mimic the builder pattern.getTotalNumberOfRecords
public long getTotalNumberOfRecords()Total/Filtered number of records.Returns:The current value oftotalNumberOfRecords.setTotalNumberOfRecords
Total/Filtered number of records.Parameters:totalNumberOfRecords- The new value fortotalNumberOfRecords.Returns:thisto mimic the builder pattern.getHasMoreRecords
public boolean getHasMoreRecords()Too many records. Returned a partial set.Returns:The current value ofhasMoreRecords.setHasMoreRecords
Too many records. Returned a partial set.Parameters:hasMoreRecords- The new value forhasMoreRecords.Returns:thisto mimic the builder pattern.setInfo
Additional information.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.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: