%DeepSee.REST.v1.DataServer
Class %DeepSee.REST.v1.DataServer Extends %DeepSee.REST.REST
This class is responsible for creating the JSON response to the DeepSee REST data services. For examples and a full list of available services see the documentation for %DeepSee.REST.v1<.class>.
XDatas
UrlMap
XData UrlMap
Methods
%ValidateRequest
ClassMethod %ValidateRequest(pUrl As %String, pMethod As %String) As %Status
Perform specific validation for the service that will handle the request. This is used as a callback in each service that extends %DeepSee.REST
WriteJSONfromMDX
ClassMethod WriteJSONfromMDX(namespace As %String) As %Status
Run any valid MDX (SELECT,DRILLTHROUGH,DRILLFACTS) query and returns the JSON resultset.
WriteJSONfromDrillthrough
ClassMethod WriteJSONfromDrillthrough(namespace As %String)
Run a listing from either the source or the fact table. Specific listings or a list of fields may be POSTed to add to the query.
WriteJSONfromPivot
ClassMethod WriteJSONfromPivot(namespace As %String) As %Status
Run any stored pivot table and return the associated JSON resultset.
WriteJSONfromKPI
ClassMethod WriteJSONfromKPI(namespace As %String) As %Status
Run any compiled KPI and return the associated JSON resultset.
CancelMDXQuery
ClassMethod CancelMDXQuery(namespace As %String, pQueryToken) As %Status
Cancel a running query using the cubeKey and queryKey provided in a previously returned resultset with ResultsComplete=0.
UpdateQueryResults
ClassMethod UpdateQueryResults(namespace As %String, pQueryToken) As %Status
Try to obtain results from a previous query that returned incomplete results.
WriteDSTIMEForClass
ClassMethod WriteDSTIMEForClass(namespace As %String, pClassName) As %Status
Retrieve the most recently processed ^OBJ.DSTIME stamp(s) for one or more classes from the ^DeepSee.Update global.
Test
ClassMethod Test(namespace As %String) As %Status
Test method to confirm connection in the service type