%DeepSee.Query.axis
Class %DeepSee.Query.axis Extends group [ System = 3 ]
This class defines an axis within a DeepSee query.
Properties
query
Relationship query As %DeepSee.Query.query(XMLPROJECTION = "none") [ Cardinality = one, Inverse = axes ];
Query that this axis belongs to.
subqueries
Property subqueries As list Of %DeepSee.ResultSet(XMLPROJECTION = "NONE");
Collection of subqueries associated with this axis.
nonEmpty
Property nonEmpty As %Boolean(XMLPROJECTION = "attribute") [ InitialExpression = 0 ];
If true, then empty tuples (e.g. complete rows or columns) are removed from the results of the query.
This is equivalent to the MDX "NON EMPTY" key word.
context
Property context As %String(VALUELIST = "axis,filter,filterAxis", XMLPROJECTION = "none") [ InitialExpression = "axis" ];
Reference to the context where this object is used in the overall query structure
%dependencies
Property %dependencies As %String [ Internal, MultiDimensional ];
List of facts this axis depends on.
%cmbrIndex
Property %cmbrIndex As %String [ Internal, MultiDimensional ];
List of current member markers along this axis.
%originalSpec
Property %originalSpec As %String;
Copy of the original string used to produce this axis object
%AxisKey
Property %AxisKey As %String;
Once calculated the axis key is stabilized for this particular object.
Methods
%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) As %Status [ Internal ]
Execute and build the axes output for this axis.
%CountTerms
Method %CountTerms(pCubeIndex As %String, pAxisKey As %String, Output pStatus As %Status) As %Integer
Review the contents of an axis and count the number of terms within it that will translate into bit operations. This performs a blind count and ignores chain/child structures so it can be called at any stage of axis construction.
%IsSearch
Method %IsSearch(Output pSC As %Status) As %Boolean [ Internal ]
Incates whether or not this axis is a placeholder %SEARCH axis.
%CopyComplexAggregate
ClassMethod %CopyComplexAggregate(pCube As %String, pKey As %String) As %Status [ Internal ]
If the axis contains a complex aggregate, copy it and set it aside in a special
^DeepSee.Cache.Axis(cubeKey,axisKey,"agg")
node. A complex aggregate is marked by the presence of $LI(node,24).