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

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

#include <gpudb/protocol/filter_by_list.h>

Public Member Functions

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

Public Attributes

int64_t count
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Calculates which records from a table have values in the given list for the corresponding column. The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a viewName is passed in as part of the request.

For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"x":["10.1", "2.3"], "y":["0.0", "-31.5", "42.0"]} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond.

Definition at line 180 of file filter_by_list.h.

Constructor & Destructor Documentation

gpudb::FilterByListResponse::FilterByListResponse ( )
inline

Constructs a FilterByListResponse object with default parameter values.

Definition at line 187 of file filter_by_list.h.

Member Data Documentation

int64_t gpudb::FilterByListResponse::count

Definition at line 193 of file filter_by_list.h.

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

Definition at line 194 of file filter_by_list.h.


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