Creating and deleting a report
- create(String name, String query)
Creates a new report with a specified name, and returns the handle of the new report. If it fails, a null value will be returned.
- createReportSet(String name)
Creates a new report with a specified name.
- deleteReport(java.lang.String name)
Deletes an existing report with the specified name, and returns true if the report has been successfully removed.
Parameters
- name - The specified report name that is to be created or deleted.
- query - The query name on which the report is created.
Notes:
- The report should be created based on the existing catalog file, otherwise you will get an error.
- The query should exist in the given catalog, otherwise you will get an error.