snowflake-sdk
Version:
Node.js driver for Snowflake
36 lines (35 loc) • 1.04 kB
TypeScript
/**
* Creates a new BindUploader.
*
* @param {Object} options
* @param {Object} services
* @param {Object} connectionConfig
* @param {*} requestId
*
* @constructor
*/
export function BindUploader(options: Object, services: Object, connectionConfig: Object, requestId: any): void;
export class BindUploader {
/**
* Creates a new BindUploader.
*
* @param {Object} options
* @param {Object} services
* @param {Object} connectionConfig
* @param {*} requestId
*
* @constructor
*/
constructor(options: Object, services: Object, connectionConfig: Object, requestId: any);
options: Object;
services: Object;
connectionConfig: Object;
requestId: any;
stagePath: string;
createStage: () => Promise<void>;
uploadFilestream: (fileName: any, fileData: any) => Promise<void>;
Upload: (bindings: any) => Promise<null | undefined>;
csvData: (data: any) => any;
}
export function GetCreateStageStmt(): string;
export function GetStageName(requestId: any): string;