reveal-sdk-node
Version:
RevealBI Node.js SDK
42 lines (41 loc) • 1.54 kB
TypeScript
import { RVDashboardDataSource } from "../AbstractClasses/RVDashboardDataSource";
import { nullableString } from "../types";
/**
* DuckDB data source.
*/
export declare class RVDuckDBDataSource extends RVDashboardDataSource {
constructor();
/** @hidden */
constructor(json: any);
/** @hidden */
toJson(): any;
/** @hidden */
getProviderKey(): string;
/** @hidden */
getType(): string;
private _database;
/**
* Path of the DuckDB database file. Accepts both absolute paths and relative paths.
* For MotherDuck use "md:databaseName" as the database value.
*/
get database(): nullableString;
set database(value: nullableString);
private _schema;
/** Name of the schema to use. */
get schema(): nullableString;
set schema(value: nullableString);
private _processDataOnServerDefaultValue;
/**
* Sets the default value for "Process Data on Server" option for this data source, the
* end user can still change the value, unless {@link processDataOnServerReadOnly} is true.
*/
get processDataOnServerDefaultValue(): boolean;
set processDataOnServerDefaultValue(value: boolean);
private _processDataOnServerReadOnly;
/**
* When set to true the user will not be allowed to change the value for "Process Data on Server" option
* and the default value will be used.
*/
get processDataOnServerReadOnly(): boolean;
set processDataOnServerReadOnly(value: boolean);
}