Class Reference
IRIS for UNIX 2019.4
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%DeepSee] >  [Shell]
Private  Storage   

class %DeepSee.Shell extends %RegisteredObject

This class implements a simple command line shell for executing queries against DeepSee cubes and viewing the results.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %Go %IncrementCount %IsA
%IsModified %ListMembers %New %NormalizeObject
%ObjectModified %OriginalNamespace %PackageName %RemoveFromSaveSet
%RunQueryFile %SerializeObject %SetModified %ValidateObject


Methods

• classmethod %Go(pAsync As %Boolean = 1, pCache As %Boolean = 1)
Simple command line shell for testing queries.
The shell will prompt for an MDX query, execute it and display its results to the console. Enter "q" and press Enter to exit the Shell.
• classmethod %ListMembers(ByRef pTree)
Write out members of the cube's dimension list.
• classmethod %RunQueryFile(pQueryFile As %String, pResultFile As %String = "", pShowStats As %Boolean = 1) as %Status
Read a series of MDX queries from file pQueryFile, execute them and write the results to file pResultFile.
A query consists of all text up to a line containing the command "go".
If pResultFile is not supplied, write results to the console.
If pShowStats is false, do not write query statistics.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.