GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::RawAggregateUnpivotResponse Struct Reference

A set of output parameters for 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
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for 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 418 of file aggregate_unpivot.h.

Constructor & Destructor Documentation

gpudb::RawAggregateUnpivotResponse::RawAggregateUnpivotResponse ( )
inline

Constructs a RawAggregateUnpivotResponse object with default parameter values.

Definition at line 425 of file aggregate_unpivot.h.

Member Data Documentation

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

Definition at line 438 of file aggregate_unpivot.h.

bool gpudb::RawAggregateUnpivotResponse::hasMoreRecords

Definition at line 441 of file aggregate_unpivot.h.

std::map<std::string, std::string> gpudb::RawAggregateUnpivotResponse::info

Definition at line 442 of file aggregate_unpivot.h.

std::string gpudb::RawAggregateUnpivotResponse::jsonEncodedResponse

Definition at line 439 of file aggregate_unpivot.h.

std::string gpudb::RawAggregateUnpivotResponse::responseSchemaStr

Definition at line 437 of file aggregate_unpivot.h.

std::string gpudb::RawAggregateUnpivotResponse::tableName

Definition at line 436 of file aggregate_unpivot.h.

int64_t gpudb::RawAggregateUnpivotResponse::totalNumberOfRecords

Definition at line 440 of file aggregate_unpivot.h.


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