GPUdb C++ API  Version 6.1.0.0
gpudb::RawAggregateUnpivotResponse Struct Reference

A set of output parameters for aggregateUnpivotRaw(const AggregateUnpivotRequest&) const. More...

#include <gpudb/protocol/aggregate_unpivot.h>

Public Member Functions

 RawAggregateUnpivotResponse ()
 Constructs a RawAggregateUnpivotResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string responseSchemaStr
 
std::vector< uint8_t > binaryEncodedResponse
 
std::string jsonEncodedResponse
 
int64_t totalNumberOfRecords
 
bool hasMoreRecords
 

Detailed Description

A set of output parameters for aggregateUnpivotRaw(const AggregateUnpivotRequest&) const.

Rotate the column values into rows values.

The aggregate unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.

The response is returned as a dynamic schema. For details see: dynamic schemas documentation.

Definition at line 312 of file aggregate_unpivot.h.

Constructor & Destructor Documentation

◆ RawAggregateUnpivotResponse()

gpudb::RawAggregateUnpivotResponse::RawAggregateUnpivotResponse ( )
inline

Constructs a RawAggregateUnpivotResponse object with default parameter values.

Definition at line 319 of file aggregate_unpivot.h.

Member Data Documentation

◆ binaryEncodedResponse

std::vector<uint8_t> gpudb::RawAggregateUnpivotResponse::binaryEncodedResponse

Definition at line 331 of file aggregate_unpivot.h.

◆ hasMoreRecords

bool gpudb::RawAggregateUnpivotResponse::hasMoreRecords

Definition at line 334 of file aggregate_unpivot.h.

◆ jsonEncodedResponse

std::string gpudb::RawAggregateUnpivotResponse::jsonEncodedResponse

Definition at line 332 of file aggregate_unpivot.h.

◆ responseSchemaStr

std::string gpudb::RawAggregateUnpivotResponse::responseSchemaStr

Definition at line 330 of file aggregate_unpivot.h.

◆ tableName

std::string gpudb::RawAggregateUnpivotResponse::tableName

Definition at line 329 of file aggregate_unpivot.h.

◆ totalNumberOfRecords

int64_t gpudb::RawAggregateUnpivotResponse::totalNumberOfRecords

Definition at line 333 of file aggregate_unpivot.h.


The documentation for this struct was generated from the following file: