Source
pub async fn export_records_to_table( &self, table_name: String, remote_query: String, ) -> Result<ExportRecordsToTableResponse, KineticaError>
Exports records from source table to the specified target table in an external database
Exports records from source table to the specified target table in an external database.
table_name- Name of the table from which the data will be exported to remote database, in [schema_name.]table_name format, using standard name resolution rules.remote_query- Parameterized insert query to export gpudb table data into remote database.
Source
pub async fn export_records_to_table_with_opts( &self, table_name: String, remote_query: String, options: ExportRecordsToTableRequestOptions, ) -> Result<ExportRecordsToTableResponse, KineticaError>
Exports records from source table to the specified target table in an external database
Exports records from source table to the specified target table in an external database.
table_name- Name of the table from which the data will be exported to remote database, in [schema_name.]table_name format, using standard name resolution rules.remote_query- Parameterized insert query to export gpudb table data into remote database.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn export_records_to_table_raw( &self, request: &ExportRecordsToTableRequest, ) -> Result<ExportRecordsToTableResponse, KineticaError>
Sends a pre-built ExportRecordsToTableRequest to the /export/records/totable endpoint.
Source
pub async fn export_records_to_table_from_url( &self, url: &str, request: &ExportRecordsToTableRequest, ) -> Result<ExportRecordsToTableResponse, KineticaError>
Sends a pre-built ExportRecordsToTableRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.