Open Exchange
Global Masters
Home > Class Reference > %SYS namespace > %DeepSee.Query.expression
Private  Storage   


class %DeepSee.Query.expression extends

This class defines an expression within a DeepSee query.
An expression belongs to a set. Though an expression is a group, it only makes use of its first two children.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 4


children formatString isScalarFunction label
operator parent scalarArgCount solveOrder

%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%CopyNode %DeleteNode %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetMemberProvider %GetParameter
%GetType %GetValue %HideNode %IncrementCount
%IsA %IsEnabled %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%PreProcess %PrintNode %ProcessAxes %ProcessFilter
%ReduceNode %RemoveFromSaveSet %SerializeObject %SetModified
%ToString %ValidateObject %XMLGenerate XMLAfterExport
XMLBeforeExport XMLDTD XMLExport XMLExportInternal
XMLExportToStream XMLExportToString XMLGetSchemaImports XMLImport
XMLImportInternal XMLIsObjectEmpty XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


• property formatString as %String(MAXLEN=255,XMLPROJECTION="attribute");
Format string to apply to this member.
• property isScalarFunction as %Boolean(XMLPROJECTION="attribute") [ InitialExpression = 0 ];
Set true if this operator is a scalar function.
• property label as %DeepSee.Datatype.string(XMLPROJECTION="attribute") [ InitialExpression = "Expression" ];
Axis label used for this expression.
• property operator as %DeepSee.Datatype.string(MAXLEN=25,XMLPROJECTION="attribute");
Logical operator that is applied to the children of this expression. This can be an operator (such as "+", or a SCALAR function, such as "SQRT").
• property scalarArgCount as %String(XMLPROJECTION="attribute") [ InitialExpression = 0 ];
If this operator is a scalar function, this is the number of expected arguments. This takes the form "arguments:optional arguments".
• property solveOrder as %Integer(MINVAL=0,XMLPROJECTION="attribute");
Solve order to apply to this expression (applied from outer calcMember).


• method %GetType() as %String
Return the type of this node.
• 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
Execute and build the axes output for this expression.
• method %ProcessFilter(ByRef pFilterTree As %List, pCube As %String, ByRef pNodeNo As %Integer, Output pNewNodeNo As %Integer, pParent As %Integer) as %Status
Process the filter output for this expression.
• method %ToString(Output pSC As %Status) as %String
Convert this node to its text representation.