Skip to main content

◆ exportRecordsToTable() [1/2]

ExportRecordsToTableResponse kinetica.Kinetica.exportRecordsToTable (ExportRecordsToTableRequestrequest_)
inline

Exports records from source table to the specified target table in an external database.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 36000 of file KineticaFunctions.cs.

◆ exportRecordsToTable() [2/2]

ExportRecordsToTableResponse kinetica.Kinetica.exportRecordsToTable (stringtable_name,
stringremote_query = "",
IDictionary< string, string >options = null )
inline

Exports records from source table to the specified target table in an external database.

Parameters
table_nameName 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_queryParameterized insert query to export gpudb table data into remote database. The default value is ”.
optionsOptional parameters.
  • BATCH_SIZE: Batch size, which determines how many rows to export per round trip. The default value is ‘200000’.
  • DATASINK_NAME: Name of an existing external data sink to which table name specified in table_name will be exported.
  • JDBC_SESSION_INIT_STATEMENT: Executes the statement per each JDBC session before doing actual load. The default value is ”.
  • JDBC_CONNECTION_INIT_STATEMENT: Executes the statement once before doing actual load. The default value is ”.
  • REMOTE_TABLE: Name of the target table to which source table is exported. When this option is specified remote_query cannot be specified. The default value is ”.
  • USE_ST_GEOMFROM_CASTS: Wraps parameterized variables with st_geomfromtext or st_geomfromwkb based on source column type. Supported values:The default value is FALSE.
  • USE_INDEXED_PARAMETERS: Uses $n style syntax when generating insert query for remote_table option. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 36124 of file KineticaFunctions.cs.

◆ ExportRecordsToTableAsync() [1/2]

async System.Threading.Tasks.Task< ExportRecordsToTableResponse > kinetica.Kinetica.ExportRecordsToTableAsync (ExportRecordsToTableRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Exports records from source table to the specified target table in an external database.

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 36016 of file KineticaFunctions.cs.

◆ ExportRecordsToTableAsync() [2/2]

async System.Threading.Tasks.Task< ExportRecordsToTableResponse > kinetica.Kinetica.ExportRecordsToTableAsync (stringtable_name,
stringremote_query = "",
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Exports records from source table to the specified target table in an external database.

(async)

Parameters
table_nameName 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_queryParameterized insert query to export gpudb table data into remote database. The default value is ”.
optionsOptional parameters.
  • BATCH_SIZE: Batch size, which determines how many rows to export per round trip. The default value is ‘200000’.
  • DATASINK_NAME: Name of an existing external data sink to which table name specified in table_name will be exported.
  • JDBC_SESSION_INIT_STATEMENT: Executes the statement per each JDBC session before doing actual load. The default value is ”.
  • JDBC_CONNECTION_INIT_STATEMENT: Executes the statement once before doing actual load. The default value is ”.
  • REMOTE_TABLE: Name of the target table to which source table is exported. When this option is specified remote_query cannot be specified. The default value is ”.
  • USE_ST_GEOMFROM_CASTS: Wraps parameterized variables with st_geomfromtext or st_geomfromwkb based on source column type. Supported values:The default value is FALSE.
  • USE_INDEXED_PARAMETERS: Uses $n style syntax when generating insert query for remote_table option. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 36235 of file KineticaFunctions.cs.