new QueryConfig()
Do NOT instantiate this class directly. A QueryConfig object is acquired through one of two means:
via Oracle.BDD.Portlets.Visualization.Renderers.BaseRenderer#getQueryConfig or from the
QueryResults object that is provided as an argument to the callback function of
Oracle.BDD.Portlets.Visualization.Renderers.BaseRenderer#executeQuery
For example:
init: function() { var queryConfig = this.getQueryConfig("eql"); this.executeQuery("eql", true, this.renderVisualization); }, renderVisualization: function(queryResults) { var queryConfig = queryResults.getQueryConfig(); ... }
- Source:
Methods
addRefinement(tokenName, value, value)
Adds a refinement of the attribute of the given token and value to the query. Adding a refinement not only refines the
visualization's data, but also refreshes all portlets on the page that respond to data change events call.
Parameters:
Name | Type | Description |
---|---|---|
tokenName |
string | The name of the attribute token the attribute of which the refinement is to apply |
value |
string | Number | The value to refine by |
value |
string | Number | Array.<Object> | The value to refine by. An array may be passed to add all enclosed values to the refinement. |
- Source:
getQueryName() → {string}
Gets the query name
- Source:
Returns:
queryName The queryName
- Type
- string
getToken(tokenName)
Returns the subclassed Oracle.BDD.Portlets.Visualization.Model.Token
of the given name.
Parameters:
Name | Type | Description |
---|---|---|
tokenName |
string | The name of the token to return |
- Source: