Interface AnalyticsQueryOptions

interface AnalyticsQueryOptions {
    clientContextId?: string;
    parameters?: any[] | {
        [key: string]: any;
    };
    priority?: boolean;
    queryContext?: string;
    raw?: {
        [key: string]: any;
    };
    readOnly?: boolean;
    scanConsistency?: AnalyticsScanConsistency;
    timeout?: number;
}

Properties

clientContextId?: string

The returned client context id for this query.

parameters?: any[] | {
    [key: string]: any;
}

Values to be used for the placeholders within the query.

Type declaration

  • [key: string]: any
priority?: boolean

Indicates whether this query should be executed with a specific priority level.

queryContext?: string

Specifies the context within which this query should be executed. This can be scoped to a scope or a collection within the dataset.

raw?: {
    [key: string]: any;
}

Specifies any additional parameters which should be passed to the query engine when executing the query.

Type declaration

  • [key: string]: any
readOnly?: boolean

Indicates whether this query should be executed in read-only mode.

scanConsistency?: AnalyticsScanConsistency

Specifies the consistency requirements when executing the query.

See

AnalyticsScanConsistency

timeout?: number

The timeout for this operation, represented in milliseconds.