Skip to main content

%DeepSee.Query.constant

Class %DeepSee.Query.constant Extends node [ System = 3 ]

This class defines a constant within a DeepSee query.

Properties

label

Property label As %DeepSee.Datatype.string(XMLPROJECTION = "attribute") [ InitialExpression = "Constant" ];

Axis label used for this constant.

formatString

Property formatString As %String(MAXLEN = 255, XMLPROJECTION = "attribute");

Format string to apply to this member.

finalValue

Property finalValue As %Boolean(XMLPROJECTION = "none") [ InitialExpression = 0 ];

Internal flag used for subquery functions--true means that the subquery has run and this value is the result of the query.

origValue

Property origValue As %String(XMLPROJECTION = "none");

If the value is a finalValue, this is used to remember the original value of the constant.

type

Property type As %String(XMLPROJECTION = "none");

If known, this is the type of the constant: "string" or "number".
This is used to keep track of string numerics: "123" v 123.

Methods

%ResolveValue

Method %ResolveValue() As %Status

If our value is a named parameter, resolve it.
We do this as soon as we are first asked for our value and then we hold onto the resolved value.

%GetType

Method %GetType() As %String

Return the type of this node.

%ToString

Method %ToString(Output pSC As %Status) As %String

Convert this node to its text representation.

%ProcessAxes

Method %ProcessAxes(pCube As %String, pKey As %String, ByRef pNodeNo As %Integer, Output pNewNodeNo As %Integer, pParent As %Integer, pVisible As %Boolean = 1) As %Status [ Internal ]

Execute and build the axes output for this constant.

%ProcessFilter

Method %ProcessFilter(ByRef pFilterTree As %List, pCube As %String, ByRef pNodeNo As %Integer, Output pNewNodeNo As %Integer, pParent As %Integer) As %Status [ Internal ]

Process the filter output for this constant.