GPUdb C++ API  Version 6.2.0.3
gpudb::AggregateUnpivotResponse Struct Reference

A set of output parameters for aggregateUnpivot(const AggregateUnpivotRequest&) 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
 
gpudb_type_ptr_t dataTypePtr
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AggregateUnpivotResponse()

gpudb::AggregateUnpivotResponse::AggregateUnpivotResponse ( )
inline

Constructs an AggregateUnpivotResponse object with default parameter values.

Definition at line 526 of file aggregate_unpivot.h.

Member Data Documentation

◆ data

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

Definition at line 538 of file aggregate_unpivot.h.

◆ dataTypePtr

gpudb_type_ptr_t gpudb::AggregateUnpivotResponse::dataTypePtr

Definition at line 541 of file aggregate_unpivot.h.

◆ hasMoreRecords

bool gpudb::AggregateUnpivotResponse::hasMoreRecords

Definition at line 540 of file aggregate_unpivot.h.

◆ responseSchemaStr

std::string gpudb::AggregateUnpivotResponse::responseSchemaStr

Definition at line 537 of file aggregate_unpivot.h.

◆ tableName

std::string gpudb::AggregateUnpivotResponse::tableName

Definition at line 536 of file aggregate_unpivot.h.

◆ totalNumberOfRecords

int64_t gpudb::AggregateUnpivotResponse::totalNumberOfRecords

Definition at line 539 of file aggregate_unpivot.h.


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