Home > Class Reference > %SYS namespace > %DeepSee.Query.Parser


class %DeepSee.Query.Parser extends %Library.RegisteredObject

Contains the DeepSee MDX query parser and related APIs.
This class contains no publicly accessible code.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property %Stack as %Integer [ MultiDimensional ];
Context stack.
Property methods: %StackDisplayToLogical(), %StackGet(), %StackIsValid(), %StackLogicalToDisplay(), %StackNormalize(), %StackSet()
property Bookmark as %Integer;
Current bookmark position within query text.
Property methods: BookmarkDisplayToLogical(), BookmarkGet(), BookmarkIsValid(), BookmarkLogicalToDisplay(), BookmarkNormalize(), BookmarkSet()
property CubeName as %DeepSee.Datatype.entityName;
Cubename within the current query.
Property methods: CubeNameDisplayToLogical(), CubeNameGet(), CubeNameIsValid(), CubeNameLogicalToDisplay(), CubeNameLogicalToOdbc(), CubeNameNormalize(), CubeNameSet()
property InSearch as %Boolean [ InitialExpression = 0 ];
Indicates the current tokens are within the %SEARCH context
Property methods: InSearchDisplayToLogical(), InSearchGet(), InSearchIsValid(), InSearchLogicalToDisplay(), InSearchNormalize(), InSearchSet()
property LastToken as %String;
Most recently parsed token (used for error reporting).
Property methods: LastTokenDisplayToLogical(), LastTokenGet(), LastTokenIsValid(), LastTokenLogicalToDisplay(), LastTokenLogicalToOdbc(), LastTokenNormalize(), LastTokenSet()
property Position as %Integer;
Current position within query text.
Property methods: PositionDisplayToLogical(), PositionGet(), PositionIsValid(), PositionLogicalToDisplay(), PositionNormalize(), PositionSet()
property Query as %DeepSee.Query.query;
The query object this parser is constructing.
Property methods: QueryGet(), QueryGetSwizzled(), QueryIsValid(), QueryNewObject(), QuerySet()
property Text as %String;
Query text.
Property methods: TextDisplayToLogical(), TextGet(), TextIsValid(), TextLogicalToDisplay(), TextLogicalToOdbc(), TextNormalize(), TextSet()
property Trace as %Boolean [ InitialExpression = 0 ];
Debug flag.
Property methods: TraceDisplayToLogical(), TraceGet(), TraceIsValid(), TraceLogicalToDisplay(), TraceNormalize(), TraceSet()

Methods (Including Private)

classmethod %BuildEscapedSpec(pIdentifierList As %List, Output pStatus As %Status) as %String [ Language = objectscript ]
Return a spec with escaped identifiers, translating each "]" into a "]]" to escape the closing quote. The argument pIdentifierList may be a list of any length. The method will terminate construction upon encountering the first null entry in the list.
This is not intended to add a "&[]"-enclosed key to the base spec
method %ParseWITH(pMode As %String = "with") as %Status [ Language = objectscript ]
Parse an MDX WITH statement. If pMode is "with", then this is a WITH clause of a query; If pMode is "set" or "member", then this is a CREATE statement;
method %ValidateText(pQuery As %DeepSee.Query.query = $$$NULLOREF, pText="") as %Status [ Language = objectscript ]
Perform initial checks on the MDX text itself to see if there are obvious errors that can be reported without further processing.

Inherited Members

Inherited Methods (Including Private)