GPUdb C++ API  Version 6.2.0.3
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.

For unpivot details and examples, see Unpivot. For limitations, see Unpivot Limitations.

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 402 of file aggregate_unpivot.h.

Constructor & Destructor Documentation

◆ RawAggregateUnpivotResponse()

gpudb::RawAggregateUnpivotResponse::RawAggregateUnpivotResponse ( )
inline

Constructs a RawAggregateUnpivotResponse object with default parameter values.

Definition at line 409 of file aggregate_unpivot.h.

Member Data Documentation

◆ binaryEncodedResponse

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

Definition at line 421 of file aggregate_unpivot.h.

◆ hasMoreRecords

bool gpudb::RawAggregateUnpivotResponse::hasMoreRecords

Definition at line 424 of file aggregate_unpivot.h.

◆ jsonEncodedResponse

std::string gpudb::RawAggregateUnpivotResponse::jsonEncodedResponse

Definition at line 422 of file aggregate_unpivot.h.

◆ responseSchemaStr

std::string gpudb::RawAggregateUnpivotResponse::responseSchemaStr

Definition at line 420 of file aggregate_unpivot.h.

◆ tableName

std::string gpudb::RawAggregateUnpivotResponse::tableName

Definition at line 419 of file aggregate_unpivot.h.

◆ totalNumberOfRecords

int64_t gpudb::RawAggregateUnpivotResponse::totalNumberOfRecords

Definition at line 423 of file aggregate_unpivot.h.


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