public class CognosComplexExpressionBuilder
extends java.lang.Object
assetnum = :assetnumand the resulting cognos relationship would look like
[Data Source View].[matusetrans].[assetnum] = [Data Source View].[asset].[assetnum]
Modifier and Type | Class and Description |
---|---|
class |
CognosComplexExpressionBuilder.MaxRelationshipParserHelper
Make ": FIELD" nodes appear with ParentField type and allow some keywords to exist, such as, and, or, is not, etc.
|
Constructor and Description |
---|
CognosComplexExpressionBuilder(java.lang.String relationshipName,
java.lang.String childName,
java.lang.String parentName,
java.lang.String databaseType)
Initialize the builder with the max relationship information.
|
CognosComplexExpressionBuilder(java.lang.String relationshipName,
java.lang.String childName,
java.lang.String parentName,
java.lang.String dataSourceViewNamespace,
java.lang.String databaseType)
Initialize the builder with the max relationship information.
|
Modifier and Type | Method and Description |
---|---|
Node |
buildComplexExpression(java.lang.String whereClause)
Givent the sql where clause, convert it to a Cognos complex relationship, or fail it, if it cannot be converted.
|
public CognosComplexExpressionBuilder(java.lang.String relationshipName, java.lang.String childName, java.lang.String parentName, java.lang.String dataSourceViewNamespace, java.lang.String databaseType)
relationshipName
- childName
- parentName
- databaseType
- dataSourceViewNamespace
- public CognosComplexExpressionBuilder(java.lang.String relationshipName, java.lang.String childName, java.lang.String parentName, java.lang.String databaseType)
relationshipName
- childName
- parentName
- databaseType
- public Node buildComplexExpression(java.lang.String whereClause) throws java.rmi.RemoteException, CognosTransformationException, MXException
assetnum = :assetnumand the resulting cognos relationship would look like
[Data Source View].[matusetrans].[assetnum] = [Data Source View].[asset].[assetnum]
whereClause
- java.rmi.RemoteException
MXException
CognosTransformationException