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

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

#include <gpudb/protocol/export_records_to_files.h>

Public Member Functions

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

Public Attributes

std::string tableName
 
int64_t countExported
 
int64_t countSkipped
 
std::vector< std::string > files
 
int64_t lastTimestamp
 
std::vector< std::string > dataText
 
std::vector< std::vector
< uint8_t > > 
dataBytes
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Export records from a table to files. All tables can be exported, in full or partial (see columns_to_export and columns_to_skip). Additional filtering can be applied when using export table with expression through SQL. Default destination is KIFS, though other storage types (Azure, S3, GCS, and HDFS) are supported through datasink_name; see const.

Server's local file system is not supported. Default file format is delimited text. See options for different file types and different options for each file type. Table is saved to a single file if within max file size limits (may vary depending on datasink type). If not, then table is split into multiple files; these may be smaller than the max size limit.

All filenames created are returned in the response.

Definition at line 360 of file export_records_to_files.h.

Constructor & Destructor Documentation

gpudb::ExportRecordsToFilesResponse::ExportRecordsToFilesResponse ( )
inline

Constructs an ExportRecordsToFilesResponse object with default parameter values.

Definition at line 367 of file export_records_to_files.h.

Member Data Documentation

int64_t gpudb::ExportRecordsToFilesResponse::countExported

Definition at line 380 of file export_records_to_files.h.

int64_t gpudb::ExportRecordsToFilesResponse::countSkipped

Definition at line 381 of file export_records_to_files.h.

std::vector<std::vector<uint8_t> > gpudb::ExportRecordsToFilesResponse::dataBytes

Definition at line 385 of file export_records_to_files.h.

std::vector<std::string> gpudb::ExportRecordsToFilesResponse::dataText

Definition at line 384 of file export_records_to_files.h.

std::vector<std::string> gpudb::ExportRecordsToFilesResponse::files

Definition at line 382 of file export_records_to_files.h.

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

Definition at line 386 of file export_records_to_files.h.

int64_t gpudb::ExportRecordsToFilesResponse::lastTimestamp

Definition at line 383 of file export_records_to_files.h.

std::string gpudb::ExportRecordsToFilesResponse::tableName

Definition at line 379 of file export_records_to_files.h.


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