new Token()
Do NOT instantiate this class directly. The token object should be
accessed and modified through the
Oracle.BDD.Portlets.Visualization.Model.QueryConfig#getToken function
ONLY.
For example, to set the direction of a sort token named "sort_token", do the
following: queryConfig.getToken("sort_token").setSortDirection("ASC");
- Source:
Methods
getType() → {string}
Gets the token type (e.g. 'metric', 'dimension', 'sort', data',
'dataview'
- Source:
Returns:
The token's type ('metric', 'dimension', etc.)
- Type
- string
getValue() → {string|Number}
Gets the value for token of the given name. This is the literal value
that replaced the value in the EQL query.
- Source:
Returns:
The token's value
- Type
- string | Number