What a data space source reads (PLAN §11.25): a class of a data space, as the host's query builder queried it. Cube never reads either lambda: the host's editor writes both, and the emitter passes relation through. A source added from the source dialog has neither until its editor applies one: it is unset.

interface DataSpaceCoordinates {
    dataSpace: string;
    entity?: string;
    executionContext: string;
    query?: JsonObject;
    relation?: JsonObject;
}

Hierarchy (View Summary)

Properties

dataSpace: string

The data space's path, e.g. trading::TradesDataSpace

entity?: string

The path of the class the query starts from, e.g. trading::Trade

executionContext: string

The key of the data space's execution context the query runs in

query?: JsonObject

The query builder's lambda, as protocol JSON: what the editor opens

relation?: JsonObject

The same query as a Relation, as protocol JSON: a lambda with no parameters and one expression, which is what Cube runs