Class ExpressionBlockBuilder
- java.lang.Object
-
- com.microstrategy.web.app.transforms.ExpressionBlockBuilder
-
- Direct Known Subclasses:
LimitExpressionBlockBuilder
,TransactionExpressionBlockBuilder
public class ExpressionBlockBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AppContext
_appContext
static java.lang.String
BLK_EXPNODE_EXPRESSION_TYPE
static java.lang.String
BLP_CUSTOMGROUP_PROPERTIES_AGGREGATION
static java.lang.String
BLP_CUSTOMGROUP_PROPERTIES_FILTERING
protected WebExpression
exp
-
Constructor Summary
Constructors Constructor Description ExpressionBlockBuilder(WebExpression owner, AppContext appContext, java.util.Locale locale)
-
Method Summary
-
-
-
Field Detail
-
BLP_CUSTOMGROUP_PROPERTIES_FILTERING
public static final java.lang.String BLP_CUSTOMGROUP_PROPERTIES_FILTERING
- See Also:
- Constant Field Values
-
BLP_CUSTOMGROUP_PROPERTIES_AGGREGATION
public static final java.lang.String BLP_CUSTOMGROUP_PROPERTIES_AGGREGATION
- See Also:
- Constant Field Values
-
BLK_EXPNODE_EXPRESSION_TYPE
public static final java.lang.String BLK_EXPNODE_EXPRESSION_TYPE
- See Also:
- Constant Field Values
-
_appContext
protected AppContext _appContext
-
exp
protected WebExpression exp
-
-
Constructor Detail
-
ExpressionBlockBuilder
public ExpressionBlockBuilder(WebExpression owner, AppContext appContext, java.util.Locale locale)
-
-
Method Detail
-
buildBasicProperties
public static void buildBasicProperties(Block objectInfoBlock, WebObjectInfo woi)
-
build
public Block build() throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildSubExpression
public Block buildSubExpression(WebNode elementNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildSubExpression
protected Block buildSubExpression(WebNode elementNode, boolean hasNotParent) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildExpNodeProperties
protected void buildExpNodeProperties(Block expNodeBlock, WebNode node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildFilterBranchQual
protected Block buildFilterBranchQual(WebNode branchOpNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addChildNodes
protected void addChildNodes(WebNode branchOpNode, BlockList children, boolean notNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isNotNode
protected boolean isNotNode(WebNode node)
-
getWebAttribute
protected WebAttribute getWebAttribute(WebNode node)
-
getWebAttributeForm
protected WebAttributeForm getWebAttributeForm(WebNode node)
-
buildFilterListQual
protected Block buildFilterListQual(WebNode flqNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createBasicProperties
protected void createBasicProperties(Block objectInfoBlock, WebObjectInfo woi)
-
buildObjectBlock
protected void buildObjectBlock(Block block, WebObjectInfo woi, java.lang.String propertyName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildAttributeFormBlock
protected void buildAttributeFormBlock(Block block, WebAttributeForm attrForm, java.lang.String propertyName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildFunctionProps
protected void buildFunctionProps(Block block, WebOperatorNode node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildSingleBaseFormQual
protected Block buildSingleBaseFormQual(WebNode opNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildConstantsBlock
protected void buildConstantsBlock(Block block, WebOperatorNode won) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildConstantBlock
protected Block buildConstantBlock(WebValueNode n) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildSingleMetricQual
protected Block buildSingleMetricQual(WebNode opNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildSingleBaseFormExpression
protected Block buildSingleBaseFormExpression(WebNode opNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildFilterMetricExpression
protected Block buildFilterMetricExpression(WebNode opNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildFilterEmbedQual
protected Block buildFilterEmbedQual(WebNode elementNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildReportQual
protected Block buildReportQual(WebNode elementNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildGenericQual
protected Block buildGenericQual(WebNode elementNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildRelationshipQual
protected Block buildRelationshipQual(WebNode elementNode) throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildPromptInformation
protected void buildPromptInformation(Block promptExpNode, WebPromptableNode node) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hasPrompts
protected boolean hasPrompts(WebPromptableNode node)
-
-