IRISLIB database
Shell Class Reference

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

Inheritance diagram for Shell:
Collaboration diagram for Shell:

Static Private Member Functions

 Go (_.Library.Boolean pAsync, _.Library.Boolean pCache)
 Simple command line shell for testing queries. More...
 
 ListMembers (pTree)
 Write out members of the cube's dimension list.
 
_.Library.Status RunQueryFile (_.Library.String pQueryFile, _.Library.String pResultFile, _.Library.Boolean pShowStats)
 Read a series of MDX queries from file pQueryFile, execute them. More...
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

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

Member Function Documentation

◆ Go()

Go ( _.Library.Boolean  pAsync,
_.Library.Boolean  pCache 
)
staticprivate

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.

◆ RunQueryFile()

_.Library.Status RunQueryFile ( _.Library.String  pQueryFile,
_.Library.String  pResultFile,
_.Library.Boolean  pShowStats 
)
staticprivate

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.