reveal-sdk-node
Version:
RevealBI Node.js SDK
44 lines (43 loc) • 1.74 kB
TypeScript
import { RVDashboardDataSource } from "../rvDataSourceExports";
/**
* Elasticsearch data source
*/
export declare class RVElasticsearchDataSource extends RVDashboardDataSource {
private _processDataOnServerReadOnly;
constructor();
/** @hidden */
constructor(json: any);
private _certificateFingerprint;
/**
* (Optional) The hex-encoded SHA-256 fingerprint of the Elasticsearch CA certificate used to establish trust for SSL/TLS connections.
*/
get certificateFingerprint(): string | null;
set certificateFingerprint(value: string | null);
private _nodes;
/**
* List of Elasticsearch node endpoints to connect to in the cluster.
*/
get nodes(): string[] | null;
set nodes(value: string[] | null);
private _fieldMultiValueLeniency;
/**
* (Optional) Controls behavior when SQL queries encounter fields with multiple values.
* If false, an error is returned for fields containing array values.
* If true, returns the first value from the array with no guarantee of consistent ordering.
* Defaults to `false`.
*/
get fieldMultiValueLeniency(): boolean | null;
set fieldMultiValueLeniency(value: boolean | null);
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);
/** @hidden */
toJson(): any;
/** @hidden */
getProviderKey(): string;
/** @hidden */
getType(): string;
}