public class RolapCalculatedMember extends RolapMemberBase
RolapCalculatedMember
is a member based upon a
Formula
.
It is created before the formula has been resolved; the formula is responsible for setting the "format_string" property.
RolapMemberBase.DefaultPropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactoryFactory
Member.MemberType
OlapElement.LocalizedProperty
flags, level, parentMember, uniqueName
caption, visible
Modifier and Type | Method and Description |
---|---|
protected boolean |
computeCalculated(Member.MemberType memberType)
Computes the value to be returned by
MemberBase.isCalculated() , so it can
be cached in a variable. |
Map<String,Annotation> |
getAnnotationMap()
Returns a list of annotations.
|
RolapCube |
getBaseCube() |
Exp |
getExpression()
Returns the expression by which this member is calculated.
|
Formula |
getFormula() |
Object |
getPropertyValue(String propertyName,
boolean matchCase)
Returns the value of the property named
propertyName ,
matching according to the required case-sensitivity. |
int |
getSolveOrder()
Returns the solve order of this calculation.
|
boolean |
isCalculatedInQuery()
Returns whether this member is computed from a
WITH MEMBER
clause in an MDX query. |
void |
setBaseCube(RolapCube baseCube) |
childLevelHasApproxRowCount, compareTo, containsAggregateFunction, equals, equals, getAllMembers, getCaptionValue, getCompiledExpression, getDepth, getHierarchy, getHierarchyCardinality, getHierarchyOrdinal, getKey, getLevel, getLogger, getName, getOrderKey, getOrdinal, getParentMember, getProperties, getPropertyFormattedValue, getPropertyFromMap, getPropertyValue, hashCode, isAllMember, isHidden, isParentChildLeaf, keyToString, setCaptionValue, setContextIn, setName, setOrdinal, setOrdinals, setProperty, setUniqueName
getAncestorMembers, getCaption, getDataMember, getDescription, getDimension, getMemberType, getParentUniqueName, getQualifiedName, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isParentChildPhysicalMember, lookupChild
clone, computeHashCode, getLocalized, isVisible, setCaption, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getAncestorMembers, getDataMember, getMemberType, getParentUniqueName, isAll, isCalculated, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isParentChildPhysicalMember
getCaption, getDescription, getDimension, getLocalized, getQualifiedName, getUniqueName, isVisible, lookupChild
public int getSolveOrder()
getSolveOrder
in interface Member
getSolveOrder
in class MemberBase
public Object getPropertyValue(String propertyName, boolean matchCase)
Member
propertyName
,
matching according to the required case-sensitivity.getPropertyValue
in interface Member
getPropertyValue
in class RolapMemberBase
protected boolean computeCalculated(Member.MemberType memberType)
MemberBase
MemberBase.isCalculated()
, so it can
be cached in a variable.computeCalculated
in class MemberBase
memberType
- Member typepublic boolean isCalculatedInQuery()
Member
WITH MEMBER
clause in an MDX query.isCalculatedInQuery
in interface Member
isCalculatedInQuery
in class RolapMemberBase
public Exp getExpression()
MemberBase
getExpression
in interface Member
getExpression
in class MemberBase
public Formula getFormula()
public Map<String,Annotation> getAnnotationMap()
Annotated
The map may be empty, never null.
getAnnotationMap
in interface Annotated
getAnnotationMap
in class RolapMemberBase
public RolapCube getBaseCube()
public void setBaseCube(RolapCube baseCube)
Copyright © 2019 Hitachi Vantara. All rights reserved.