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, getCachedErrors, getCachedSyncState, getCachedValidationErrorMessage, getChildNamespaceId, getDisplayableObjectName, getFCOContainer, getFullName, getGUID, getInternalId, getName, getPropertyDefinitionOwner, getRootContainer, getStrongTypeClassName, getSyncState, getValueHolderValue, handleMapChangeEvent, hasAdapter, isNew, setCachedSyncState, validate, validategetBigNumericId, getGlobalId, getNumericId, getParentgetNamedump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validategetRootContainergetGlobalId, getInternalId, getParentgetBigNumericId, getName, getNumericIdgetNamegetBigNumericId, getGlobalId, getNumericIdpublic MapPhysicalNode getPushToNode()
public MapExpression getGeneratedLogicalExpression() throws MappingException, AdapterException
PropertyExceptionMappingExceptionAdapterExceptionpublic MapAttribute getGeneratedLogicalAttribute() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic MapPhysicalNode getPushedFrom()
public java.lang.String getGeneratedParsedText()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic java.lang.String getRefText()
IExpressionReferencedObjectgetRefText in interface IExpressionReferencedObjectpublic java.lang.String getGeneratedText()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic RootIssue isPushToAllowed(MapPhysicalNode node) throws MappingException, AdapterException
node - The node corresponding to the physical location where the expression
would be evaluated.MappingExceptionAdapterExceptionpublic void pushTo(MapPhysicalNode node) throws MappingException, AdapterException
node - The node corresponding to the physical location where the expression
will be evaluated.MappingExceptionAdapterExceptionpublic void restoreExpression()
public boolean isPushToAllowed(ExecutionUnit exUnit)
exUnit - The proposed push-to execution unit.MappingExceptionpublic void pushTo(ExecutionUnit exUnit) throws MappingException, AdapterException
exUnit - The target execution unit.MappingExceptionAdapterExceptionpublic ExecutionUnit getCurrentExecutionUnit()
public MapPhysicalNode getCurrentExecutionNode()
public ExecutionUnit getOwningExecutionUnit()
public java.util.List getPushToUnitCandidates()
MappingExceptionpublic 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()
IRootpublic boolean validate(java.util.List result,
boolean debug)
IRootvalidate in interface IRootvalidate in class oracle.odi.domain.root.Rootresult - 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
IMapExpressionOwnergetMapRootContainer in interface IMapExpressionOwneroracle.odi.domain.mapping.exception.MapComponentExceptionpublic boolean equals(java.lang.Object obj)
equals in class oracle.odi.domain.root.Rootpublic int hashCode()
hashCode in class oracle.odi.domain.root.Rootpublic java.lang.String toString()
toString in class oracle.odi.domain.root.Rootpublic java.lang.String getDisplayableTypeName()
IRootgetDisplayableTypeName in interface IRootgetDisplayableTypeName in class oracle.odi.domain.root.Rootpublic java.lang.String getAlias()
public IExpressionReferencedObject getRefObject()
public boolean hasSequence()
throws MappingException,
AdapterException
MappingExceptionAdapterExceptionpublic java.util.List getAllMapReferences()
getAllMapReferences in interface oracle.odi.domain.mapping.IMapReferenceOwnerpublic java.lang.String getMinimizedRefText()
throws AdapterException
IExpressionReferencedObjectgetMinimizedRefText in interface IExpressionReferencedObjectAdapterException