SmartsServiceAPI.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class PredictAPI
  10. * @hideconstructor
  11. * @classdesc SmartsServiceAPI interface.
  12. */
  13. define([], function () {
  14. var SmartsServiceAPI = function () {
  15. function SmartsServiceAPI() {
  16. _classCallCheck(this, SmartsServiceAPI);
  17. }
  18. /**
  19. * @function SmartsServiceAPI#runQuery
  20. * @description Runs smarts query against a smart service (Predict execution, Smart annotations)
  21. * @public
  22. * @param {Object} options target and querySpec Mandatory: the query specification to be sent to explore service
  23. * @returns a promise
  24. */
  25. SmartsServiceAPI.prototype.runQuery = function runQuery() {};
  26. return SmartsServiceAPI;
  27. }();
  28. return SmartsServiceAPI;
  29. });
  30. //# sourceMappingURL=SmartsServiceAPI.js.map