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

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

#include <gpudb/protocol/create_projection.h>

Public Member Functions

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

Public Attributes

std::string projectionName
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Creates a new projection of an existing table. A projection represents a subset of the columns (potentially including derived columns) of a table.

For projection details and examples, see Projections. For limitations, see Projection Limitations and Cautions.

Window functions, which can perform operations like moving averages, are available through this endpoint as well as const.

A projection can be created with a different shard key than the source table. By specifying shard_key, the projection will be sharded according to the specified columns, regardless of how the source table is sharded. The source table can even be unsharded or replicated.

If tableName is empty, selection is performed against a single-row virtual table. This can be useful in executing temporal (NOW()), identity (USER()), or constant-based functions (GEODIST(-77.11, 38.88, -71.06, 42.36)).

Definition at line 312 of file create_projection.h.

Constructor & Destructor Documentation

gpudb::CreateProjectionResponse::CreateProjectionResponse ( )
inline

Constructs a CreateProjectionResponse object with default parameter values.

Definition at line 319 of file create_projection.h.

Member Data Documentation

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

Definition at line 326 of file create_projection.h.

std::string gpudb::CreateProjectionResponse::projectionName

Definition at line 325 of file create_projection.h.


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