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

A set of output parameters for const. More...

#include <gpudb/protocol/aggregate_unpivot.h>

Public Member Functions

 AggregateUnpivotResponse ()
 Constructs an AggregateUnpivotResponse object with default parameter values. More...
 

Public Attributes

std::string tableName
 
std::string responseSchemaStr
 
std::vector< gpudb::GenericRecorddata
 
int64_t totalNumberOfRecords
 
bool hasMoreRecords
 
std::map< std::string,
std::string > 
info
 
gpudb_type_ptr_t dataTypePtr
 

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

Constructor & Destructor Documentation

gpudb::AggregateUnpivotResponse::AggregateUnpivotResponse ( )
inline

Constructs an AggregateUnpivotResponse object with default parameter values.

Definition at line 550 of file aggregate_unpivot.h.

Member Data Documentation

std::vector<gpudb::GenericRecord> gpudb::AggregateUnpivotResponse::data

Definition at line 563 of file aggregate_unpivot.h.

gpudb_type_ptr_t gpudb::AggregateUnpivotResponse::dataTypePtr

Definition at line 567 of file aggregate_unpivot.h.

bool gpudb::AggregateUnpivotResponse::hasMoreRecords

Definition at line 565 of file aggregate_unpivot.h.

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

Definition at line 566 of file aggregate_unpivot.h.

std::string gpudb::AggregateUnpivotResponse::responseSchemaStr

Definition at line 562 of file aggregate_unpivot.h.

std::string gpudb::AggregateUnpivotResponse::tableName

Definition at line 561 of file aggregate_unpivot.h.

int64_t gpudb::AggregateUnpivotResponse::totalNumberOfRecords

Definition at line 564 of file aggregate_unpivot.h.


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