InternalQueryServiceAPI.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2018, 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class InternalQueryServiceAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to execute queries.
  12. */
  13. define([], function () {
  14. var InternalQueryServiceAPI = function () {
  15. function InternalQueryServiceAPI() {
  16. _classCallCheck(this, InternalQueryServiceAPI);
  17. }
  18. /**
  19. * @function InternalQueryServiceAPI#executeQuery
  20. * @description Execute query.
  21. * @async
  22. *
  23. * @param {String} sourceId: The sourceId with which query is based on
  24. * @param {Object} querySpec The query specification.
  25. * @param {String} [senderId] The unique string identifier of the the query sender
  26. * @returns {Promise<Object>} Returns a promise resolved with a JSON object from server
  27. */
  28. InternalQueryServiceAPI.prototype.executeQuery = function executeQuery() {};
  29. return InternalQueryServiceAPI;
  30. }();
  31. return InternalQueryServiceAPI;
  32. });
  33. //# sourceMappingURL=InternalQueryServiceAPI.js.map