skipcheck

TM1 client · Docs · Queries

ODataJson

import io.skipcheck.tm1.client.odata.ODataJson;

OData 4.0 JSON control information names, and helpers for writing them.

Members

CONTEXT staticThe context URL.
ETAG staticAn entity's ETag, for optimistic concurrency (If-Match).
TYPE staticThe (derived) type of an entity, e.g.
ID staticAn entity's ID.
NEXT_LINK staticThe next page of a partial collection.
DELTA_LINK staticThe link for changes since this response, with change tracking.
COUNT staticThe total number of items, with $count=true.
BIND_SUFFIX staticThe suffix binding a navigation property to existing entities in a request.
bind staticA single-valued binding, for a request body.
bind staticA collection-valued binding.

CONTEXT

static
String CONTEXT

The context URL.

ETAG

static
String ETAG

An entity's ETag, for optimistic concurrency (If-Match).

TYPE

static
String TYPE

The (derived) type of an entity, e.g. #ibm.tm1.api.v1.MDXView.

ID

static
String ID

An entity's ID.

COUNT

static
String COUNT

The total number of items, with $count=true.

BIND_SUFFIX

static
String BIND_SUFFIX

The suffix binding a navigation property to existing entities in a request.

bind

static
static Map<String,Object> bind(String navigation, ODataPath target)

A single-valued binding, for a request body: "Subset@odata.bind": "Dimensions('d')/Hierarchies('h')/Subsets('s')".

Parameters

navigation
the navigation property's name
target
the entity to bind to

Returns

a one-entry map, to merge into the request body

bind

static
static Map<String,Object> bind(String navigation, List<ODataPath> targets)

A collection-valued binding: "Dimensions@odata.bind": ["Dimensions('a')", ...]. In OData 4.0, which TM1 speaks, this is the only way to link to existing entities.

Parameters

navigation
the navigation property's name
targets
the entities to bind to

Returns

a one-entry map, to merge into the request body

Also in the Javadoc.