create_datasink
- create_datasink(
name: string,
destination: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<CreateDatasinkResponse>Parameters
- name: string
Name of the data sink to be created.
- destination: string
Destination for the output data in format ‘storage_provider_type://path[:port]’.
Supported storage provider types are ‘azure’, ‘gcs’, ‘hdfs’, ‘http’, ‘https’, ‘jdbc’, ‘kafka’, and ‘s3’.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateDatasinkResponse>
Promise<Types.CreateDatasinkResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5654
- name: string
create_datasink_request
- create_datasink_request(
request: CreateDatasinkRequest,
callback?: GPUdbCallback,
): Promise<CreateDatasinkResponse>Creates a data sink, which contains the destination information for a data sink that is external to the database.
Parameters
- request: CreateDatasinkRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<CreateDatasinkResponse>
Promise<Types.CreateDatasinkResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5624
- request: CreateDatasinkRequest
Creates a data sink, which contains the destination information for a data sink that is external to the database.