public class MapPhysicalExpression extends oracle.odi.domain.root.Root implements IMapExpressionOwner, oracle.odi.domain.mapping.IMapReferenceOwner, IExpressionReferencedObject, IMapExpression
1) An expression cannot be pushed through a projector component, only through selector components.
2) If an expression is pushed upstream (for example from a target attribute), the component to which it is pushed must have all the expression's referenced attributes in scope.
3) If an expression is pushed downstream (for example from an expression component attribute), it cannot be pushed past a component where the expression is used.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MapPhysicalExpression |
findSourcePhysicalExpression()
Find the source physical expression corresponding to this pushed physical expression.
|
MapPhysicalExpression |
findTargetPhysicalExpression()
Find the target physical expression that was pushed to another node from this expression.
|
java.lang.String |
getAlias() |
java.util.List |
getAllMapReferences() |
MapPhysicalNode |
getCurrentExecutionNode()
Return the node where the expression will be executed.
|
ExecutionUnit |
getCurrentExecutionUnit()
Return the execution unit where this physical expression will be executed.
|
java.lang.String |
getDisplayableTypeName()
Get a user-displayable type name for the object.
|
MapAttribute |
getGeneratedLogicalAttribute()
Get MapAttribute from generated logical expression.
|
MapExpression |
getGeneratedLogicalExpression()
Get the logical expression that should be generated for this physical expression.
|
java.lang.String |
getGeneratedParsedText() |
java.lang.String |
getGeneratedText() |
IMapRootContainer |
getMapRootContainer()
Get the owning root container for this object.
|
java.lang.String |
getMinimizedRefText()
Gets the minimized reference text for this object.
|
IPropertyOwner |
getOwner()
Gets the mapping owner (or parent) of this object.
|
ExecutionUnit |
getOwningExecutionUnit() |
MapPhysicalNode |
getOwningNode()
Get the physical node that owns this expression.
|
MapPhysicalNode |
getPushedFrom() |
MapPhysicalNode |
getPushToNode()
Get the physical node to which this expression has been pushed.
|
ExecutionUnit |
getPushToUnit() |
java.util.List |
getPushToUnitCandidates()
Get a list of execution units to which this expression can be pushed.
|
MapExpression |
getRefLogicalExpression()
Get the referenced logical expression for this physical expression object.
|
IExpressionReferencedObject |
getRefObject() |
java.lang.String |
getRefText()
Gets the reference text for this object.
|
MapPhysicalNode |
getSourceNode()
Get the source node that corresponds to the logical component that owns the logical expression.
|
int |
hashCode() |
boolean |
hasSequence() |
boolean |
isPushed() |
boolean |
isPushedDueToHint() |
boolean |
isPushedFromOtherNode() |
boolean |
isPushToAllowed(ExecutionUnit exUnit)
Return true if this node can legally be pushed to the specified execution unit.
|
RootIssue |
isPushToAllowed(MapPhysicalNode node)
Return true if it is allowed to push the evaluation of the expression to the
specified physical node.
|
void |
pushTo(ExecutionUnit exUnit)
Push the expression execution to the specified execution unit.
|
void |
pushTo(MapPhysicalNode node)
Push the evaluation of the expression to the specified physical node.
|
void |
restoreExpression()
Undo any pushes that have been done on this expression.
|
void |
setIsPushedDueToHint(boolean value) |
java.lang.String |
toString() |
boolean |
validate(java.util.List result,
boolean debug)
Validates the object, and adds all error, warning, or informational issues
that are found by validation to the specified issue list.
|
addCachedIssue, addCachedIssues, clearIssueCache, delete, displayIssues, displayIssues, displayIssues, dump, dump, dump, dump, dumpToString, getAdapter, getCachedErrors, getCachedIssues, getCachedSyncState, getCachedValidationErrorMessage, getChildNamespaceId, getDisplayableObjectName, getFCOContainer, getFullName, getGUID, getInternalId, getName, getPropertyDefinitionOwner, getRootContainer, getSecurityContainer, getStrongTypeClassName, getSyncState, handleMapChangeEvent, hasAdapter, isNew, setCachedSyncState, validate, validate
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getName
dump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate
getRootContainer
getGlobalId, getInternalId, getSecurityContainer
getName, getNumericId
getGlobalId, getName, getNumericId
public MapPhysicalNode getPushToNode()
public MapExpression getGeneratedLogicalExpression() throws MappingException, AdapterException
PropertyException
MappingException
AdapterException
public MapAttribute getGeneratedLogicalAttribute() throws MappingException, AdapterException
MappingException
AdapterException
public MapPhysicalNode getPushedFrom()
public java.lang.String getGeneratedParsedText() throws MappingException, AdapterException
MappingException
AdapterException
public java.lang.String getRefText()
IExpressionReferencedObject
getRefText
in interface IExpressionReferencedObject
public java.lang.String getGeneratedText() throws MappingException, AdapterException
MappingException
AdapterException
public RootIssue isPushToAllowed(MapPhysicalNode node) throws MappingException, AdapterException
node
- The node corresponding to the physical location where the expression
would be evaluated.MappingException
AdapterException
public void pushTo(MapPhysicalNode node) throws MappingException, AdapterException
node
- The node corresponding to the physical location where the expression
will be evaluated.MappingException
AdapterException
public void restoreExpression()
public boolean isPushToAllowed(ExecutionUnit exUnit)
exUnit
- The proposed push-to execution unit.MappingException
public void pushTo(ExecutionUnit exUnit) throws MappingException, AdapterException
exUnit
- The target execution unit.MappingException
AdapterException
public ExecutionUnit getCurrentExecutionUnit()
public MapPhysicalNode getCurrentExecutionNode()
public ExecutionUnit getOwningExecutionUnit()
public java.util.List getPushToUnitCandidates()
MappingException
public ExecutionUnit getPushToUnit()
public MapPhysicalExpression findSourcePhysicalExpression()
physExpr
- The pushed physical expression.public MapPhysicalExpression findTargetPhysicalExpression()
physExpr
- The pushed physical expression.public boolean isPushed()
public boolean isPushedFromOtherNode()
public MapExpression getRefLogicalExpression()
public boolean isPushedDueToHint()
public void setIsPushedDueToHint(boolean value)
public MapPhysicalNode getSourceNode()
public MapPhysicalNode getOwningNode()
public IPropertyOwner getOwner()
IRoot
public boolean validate(java.util.List result, boolean debug)
IRoot
validate
in interface IRoot
validate
in class oracle.odi.domain.root.Root
result
- A list of issues that were found by validation.debug
- If true, then informational issues are added that provide information
about the structure of the metadata and the state of this object.public IMapRootContainer getMapRootContainer() throws oracle.odi.domain.mapping.exception.MapComponentException
IMapExpressionOwner
getMapRootContainer
in interface IMapExpressionOwner
oracle.odi.domain.mapping.exception.MapComponentException
public boolean equals(java.lang.Object obj)
equals
in class oracle.odi.domain.root.Root
public int hashCode()
hashCode
in class oracle.odi.domain.root.Root
public java.lang.String toString()
toString
in class oracle.odi.domain.root.Root
public java.lang.String getDisplayableTypeName()
IRoot
getDisplayableTypeName
in interface IRoot
getDisplayableTypeName
in class oracle.odi.domain.root.Root
public java.lang.String getAlias()
public IExpressionReferencedObject getRefObject()
public boolean hasSequence() throws MappingException, AdapterException
MappingException
AdapterException
public java.util.List getAllMapReferences()
getAllMapReferences
in interface oracle.odi.domain.mapping.IMapReferenceOwner
public java.lang.String getMinimizedRefText() throws AdapterException
IExpressionReferencedObject
getMinimizedRefText
in interface IExpressionReferencedObject
AdapterException