123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class InternalDataQueryExecutionAPI
- * @hideconstructor
- * @classdesc Data query execution API class.
- */
- define([], function () {
- var InternalDataQueryExecutionAPI = function () {
- function InternalDataQueryExecutionAPI() {
- _classCallCheck(this, InternalDataQueryExecutionAPI);
- }
- /**
- * @function InternalDataQueryExecutionAPI#queryChanged
- * @description Check if query is changed
- * @protected
- *
- * @return true if query spec has changed.
- */
- InternalDataQueryExecutionAPI.prototype.queryChanged = function queryChanged() {};
- /**
- * @function InternalDataQueryExecutionAPI#getRawResults
- * @description Get the post processed raw query results
- * @protected
- * @param {String} [id = 'data'] query dataset id
- *
- * @return {Object} Raw query results
- */
- InternalDataQueryExecutionAPI.prototype.getRawResult = function getRawResult() {};
- /**
- * @function InternalDataQueryExecutionAPI#setMinMaxQueryResults
- * @description Add a spec with max min value as min max query results to the current query results
- * @param {object} spec - includes data items and min max info
- * Note - a falsy spec will remove the existing min max query results
- * eg.
- * {
- * reveuneavg: {
- * min: 20,
- * max: 100,
- * columnId: 'revenue'
- * }
- * }
- * @protected
- *
- * @return {QueryResultsAPI} the current {@link QueryResultsAPI} object
- */
- InternalDataQueryExecutionAPI.prototype.setMinMaxQueryResults = function setMinMaxQueryResults() {};
- return InternalDataQueryExecutionAPI;
- }();
- return InternalDataQueryExecutionAPI;
- });
- //# sourceMappingURL=InternalDataQueryExecutionAPI.js.map
|