reveal-sdk-node
Version:
RevealBI Node.js SDK
39 lines (38 loc) • 1.5 kB
TypeScript
import { RVResourceBasedDataSourceItem } from "../AbstractClasses/RVResourceBasedDataSourceItem";
import { nullableString } from "../types";
import { RVDataSourceItem } from "../AbstractClasses/RVDataSourceItem";
/**
* The data source item used to represent a dataset from a CSV file, it includes
* optional settings like the separator to use when parsing the data.
*/
export declare class RVCsvDataSourceItem extends RVResourceBasedDataSourceItem {
constructor(resourceItem: RVDataSourceItem);
/** @hidden */
constructor(json: any);
/** @hidden */
toJson(): any;
private _dateFormat;
/**
* Optional date format to use when parsing/detecting date columns, if not specified Reveal
* will try to infer the date format to use for each column (if it detects the column
* is a date, date time or time column).
*/
get dateFormat(): nullableString;
set dateFormat(value: nullableString);
private _encoding;
/**
* The encoding to use, if not specified Reveal will try to detect it automatically.
*/
get encoding(): nullableString;
set encoding(value: nullableString);
private _separator;
/**
* The separator to use, one of ',', ';', or 'TAB'. If not specified it will be detected automatically.
*/
get separator(): nullableString;
set separator(value: nullableString);
/** @hidden */
getType(): string;
/** @hidden */
_getWrapper(): any;
}