public class LookupComponent extends JoinComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
LookupComponent.LookupType |
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegateoracle.odi.domain.mapping.MapComponentDelegate.AttributeDelegate, oracle.odi.domain.mapping.MapComponentDelegate.MapConnectorPointDelegateIMapComponent.ComponentCategory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name.
|
static java.lang.String |
DRIVER_ROLE |
static java.lang.String |
JOIN_TYPE_EXPRESSION_IN_SELECT
Join type property value for expression in select.
|
static java.lang.String |
LOOKUP_ROLE |
static java.lang.String |
PROPKEY_LOOKUP_INPUT_ROLE |
static java.lang.String |
PROPKEY_LOOKUP_TABLE |
JOIN_TYPE_CROSS, JOIN_TYPE_FULL_OUTER, JOIN_TYPE_INNER, JOIN_TYPE_LEFT_OUTER, JOIN_TYPE_NATURAL, JOIN_TYPE_RIGHT_OUTER, PROPKEY_ACTIVE_INDICATOR, PROPKEY_DEFAULT_JOIN, PROPKEY_DERIVED_FROM, PROPKEY_DERIVED_JOINS, PROPKEY_GENERATE_ANSI, PROPKEY_JOIN_CONDITION, PROPKEY_JOIN_INPUT_ROLE, PROPKEY_JOIN_ORDER, PROPKEY_JOIN_SOURCE_ORDER, PROPKEY_JOIN_TYPE, PROPKEY_TECHNICAL_DESCRIPTIONVARIABLE_COMPONENT_TYPE_NAME| Constructor and Description |
|---|
LookupComponent(MapComponent component) |
LookupComponent(MapComponentOwner owner,
java.lang.String name)
Construct a new persistent lookup component.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupComponent |
createLookup(IMapComponent driverSource,
IMapComponent lookupSource,
java.lang.String joinConditionText)
Creates a new lookup component with the specified driver and lookup sources,
using the specified join condition.
|
static LookupComponent |
createLookup(java.lang.String lookupName,
IMapComponent driverSource,
IMapComponent lookupSource,
java.lang.String joinConditionText)
A convenience method to create a new lookup component with the specified driver and lookup sources,
using the specified join condition.
|
IMapComponent |
getComponentForRole(java.lang.String inputRole)
Gets the source component playing the specified input role, which can be either LEFT or RIGHT.
|
MapConnectorPoint |
getDriverConnectorPoint() |
IMapComponent |
getDriverSource() |
java.lang.String |
getDriverSourceName() |
MapExpression.ExecuteOnLocation |
getExecuteOnHint()
Return an execute location hint if the component supports it, otherwise "NO_HINT".
|
java.util.Map |
getInScopeAttributeXMap(MapConnectorPoint inputPoint) |
MapConnectorPoint |
getLookupConnectorPoint() |
IMapComponent |
getLookupSource() |
java.lang.String |
getLookupSourceName() |
void |
initializeConnectorPoint(MapConnectorPoint point)
Initializes the connector points.
|
boolean |
isDerived()
Checks if this join component is a derived join.
|
boolean |
isGenerateANSISyntax()
Determines whether ANSI syntax will be generated.
|
void |
setDriverTable(IDataStore driverTable) |
void |
setDriverTable(ReusableMapping driverRM) |
void |
setExecuteOnHint(MapExpression.ExecuteOnLocation hint)
Set the execute-on hint for this component, if applicable, otherwise throw exception.
|
void |
setJoinType(oracle.odi.mapping.generation.JoinTable.JoinType type)
Sets the join type as enum.
|
void |
setJoinType(java.lang.String type)
Sets the join condition type as a string.
|
void |
setLookupTable(IDataStore lookupTable) |
void |
setLookupTable(ReusableMapping lookupRM) |
void |
setLookupType(LookupComponent.LookupType type) |
void |
setLookupType(java.lang.String type) |
addJoinSource, connectReferencedSourcesToJoin, createInputConnectorPoint, findConnectorPointWithRole, getDerivedFromText, getDerivedJoins, getDerivedJoinsText, getJoinCondition, getJoinConditionText, getJoinOrder, getJoinSourceOrderText, getJoinType, getJoinTypeAsEnum, getLeftSourceName, getOrderedJoinSources, getReferencedSources, getRightSourceName, getSourceNameForRole, getTechnicalDescription, handleMapChangeEvent, hasUserDefinedJoinOrder, isCrossJoin, isDefaultJoin, isFullOuterJoin, isInnerJoin, isJoinInsideDataset, isLeftOrRightOuterJoin, isLeftOuterJoin, isNaturalJoin, isRightOuterJoin, isValidForTechnology, joinSources, joinSources, setDerivedFromText, setDerivedJoinsText, setGenerateANSISyntax, setJoinConditionText, setJoinOrder, setJoinSourceOrderTextcustomSyncComponent, fixExpressions, getBlockExpressionReferencedAttributes, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, invalidateExpressions, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHintByStringafterAddComponent, afterPropertyChange, afterRemoveComponent, allowInputAttribute, connectFrom, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundObjectName, getBoundShortcutFullName, getComponentContext, getComponentCustomLocation, getComponentType, getSQLAccessName, getTypeName, handleChildMapChangeEvent, hashCode, initPhysicalNode, isBoundObjectDeleted, isCompositeComponentType, setComponentType, supportComponentOfType, toStringaddComponent, addProperty, afterConnect, bindTo, bindTo, connectTo, connectTo, connectTo, connectTo, containsComponent, createComponent, createComponent, createComponent, createExpressionAttribute, createExpressionAttribute, createOutputConnectorPoint, createProperty, dump, dump, findAllComponents, findAllSplitPaths, findComponent, findComponentBoundTo, findComponentOfType, findConnector, findConnectorPoint, findInputAttribute, findOutputAttribute, findSubComponentOwner, generateUniqueComponentName, generateUniqueComponentName, generateUniqueConnectorName, generateUniqueName, generateUniqueName, getAdapter, getAlias, getAllComponents, getAllComponentsOfType, getAllExpressions, getAllPathsFrom, getAllPathsFrom, getAllProperties, getAllSubComponentOwners, getAttributeExpressions, getAttributes, getBooleanPropertyValue, getBoundObject, getBoundShortcut, getBoundTechnology, getBusinessName, getCachedIssues, getComponentAttributeMap, getComponentCategory, getComponentCount, getComponentLocation, getComponentOwner, getComponents, getComponentTypeName, getCompositeQualifier, getConnectorPointCount, getConnectorPointCount, getConnectorPoints, getConnectorPoints, getConnectorPointToLeaf, getConnectorTo, getDelegate, getDescription, getDisplayableObjectName, getDisplayableProperties, getDisplayableTypeName, getDomainInterfaceType, getDownstreamConnectedLeafComponents, getDownstreamConnectedPoints, getExpressionPropertyValue, getExpressionReferences, getExpressionValidationCode, getExtraCreatedObjects, getFlowConstraints, getFullName, getGlobalId, getGUID, getInputConnectorPoint, getInputConnectorPoint, getInputConnectorPointCount, getInputConnectorPoints, getInputPoint, getInScopeAttributes, getInScopeAttributeXMap, getInternalId, getIntPropertyValue, getLeafLevelComponents, getLeafLevelTargets, getMapRootContainer, getName, getNumericId, getOutputAttributeExpressions, getOutputAttributes, getOutputConnectorPoint, getOutputConnectorPoint, getOutputConnectorPointCount, getOutputConnectorPoints, getOutputPoint, getOwner, getOwningComponent, getPersistentClassName, getPersistentComponent, getPrefix, getProjectedAttributes, getProjectorOrMultiInputSource, getProperties, getProperty, getPropertyDefinitionOwner, getPropertyValue, getPropertyValueReference, getProposedConnectionIssues, getProposedConnectionIssues, getProposedScopingIssues, getQualifiedName, getRootComponentOwner, getRootContainer, getScopingInputPointForSource, getSecurityContainer, getSources, getStringPropertyValue, getStrongTypeClassName, getSyncState, getTargets, getTopLevelComponentsOfType, getTopLevelSources, getTopLevelTargets, getTopmostComponent, getUpstreamAttributeXMap, getUpstreamComponentOwner, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafComponentsFor, getUpstreamInScopeLeafPoints, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, getUpstreamSources, getUpstreamSplitPaths, hasCustomizedPersistenceMethodFor, invalidateDownstreamExpressions, invokeCustomizedPersistenceMethodFor, invokeMethod, isBound, isComponent, isComponentLevelConnectAllowed, isCompositeComponent, isDecorator, isEndpoint, isHidden, isInScope, isInScope, isMultiInputSelector, isOfType, isProjector, isPropertyDefined, isProposedConnectionValid, isProposedConnectionValid, isProposedScopingValid, isSelector, isSource, isSubComponent, isTarget, isUniqueComponentName, isUniqueComponentName, referencesObject, removeAllConnections, removeAllConnections, removeAllConnectionsAndReroute, removeAllConnectionsAndReroute, removeAllInputConnections, removeComponent, removeComponent, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, removeProperty, reorderInputConnectorPoint, reorderOutputConnectorPoint, rerouteConnections, setAlias, setAttributeExpressionText, setAttributeExpressionText, setBooleanPropertyValue, setBusinessName, setDescription, setIntPropertyValue, setIsHidden, setName, setPropertyValue, syncComponent, validate, validate, validatePropertiespublic static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PROPKEY_LOOKUP_TABLE
public static final java.lang.String PROPKEY_LOOKUP_INPUT_ROLE
public static final java.lang.String DRIVER_ROLE
public static final java.lang.String LOOKUP_ROLE
public static final java.lang.String JOIN_TYPE_EXPRESSION_IN_SELECT
public LookupComponent(MapComponent component) throws MappingException
MappingExceptionpublic LookupComponent(MapComponentOwner owner, java.lang.String name) throws MappingException, AdapterException
owner - The component owner that will own the new component.name - The name for the new component.PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic java.util.Map getInScopeAttributeXMap(MapConnectorPoint inputPoint) throws MappingException, AdapterException
getInScopeAttributeXMap in interface IMapComponentOwnergetInScopeAttributeXMap in class oracle.odi.domain.mapping.MapComponentDelegateinputPoint - The connector point where the upstream attribute search will begin.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionMappingExceptionpublic void initializeConnectorPoint(MapConnectorPoint point) throws oracle.odi.domain.mapping.exception.MapComponentException, PropertyException
DefaultDelegateinitializeConnectorPoint in class JoinComponentpoint - the group to be initializedoracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionpublic boolean isDerived()
JoinComponentisDerived in class JoinComponentJoinComponent.getDerivedFrom(Dataset)public java.lang.String getLookupSourceName()
throws PropertyException,
oracle.odi.domain.mapping.exception.MapComponentException,
AdapterException,
MappingException
PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic java.lang.String getDriverSourceName()
throws PropertyException,
oracle.odi.domain.mapping.exception.MapComponentException,
AdapterException,
MappingException
PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic IMapComponent getLookupSource() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic IMapComponent getDriverSource() throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic boolean isGenerateANSISyntax()
throws PropertyException
isGenerateANSISyntax in class JoinComponentPropertyExceptionpublic IMapComponent getComponentForRole(java.lang.String inputRole) throws MappingException, AdapterException
JoinComponentgetComponentForRole in class JoinComponentinputRole - the input role for which to find the input component.PropertyExceptionoracle.odi.domain.mapping.exception.MapComponentExceptionMappingExceptionAdapterExceptionpublic MapConnectorPoint getLookupConnectorPoint() throws PropertyException
PropertyExceptionpublic MapConnectorPoint getDriverConnectorPoint() throws PropertyException
PropertyExceptionpublic void setLookupTable(IDataStore lookupTable) throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic void setLookupTable(ReusableMapping lookupRM) throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic void setDriverTable(IDataStore driverTable) throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic void setDriverTable(ReusableMapping driverRM) throws MappingException, AdapterException
MappingExceptionAdapterExceptionpublic void setLookupType(LookupComponent.LookupType type) throws PropertyException
PropertyExceptionpublic void setLookupType(java.lang.String type)
throws PropertyException
PropertyExceptionpublic void setJoinType(oracle.odi.mapping.generation.JoinTable.JoinType type)
throws PropertyException
JoinComponentsetJoinType in class JoinComponenttype - the enum value for the join typePropertyExceptionpublic void setJoinType(java.lang.String type)
throws PropertyException
JoinComponentsetJoinType in class JoinComponenttype - the join condition type.PropertyExceptionpublic static LookupComponent createLookup(java.lang.String lookupName, IMapComponent driverSource, IMapComponent lookupSource, java.lang.String joinConditionText) throws MappingException, AdapterException
lookupName - The name of the new lookup component.driverSource - The first source to connect to the lookup input.lookupSource - The second source to connect to the lookup input.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionMappingExceptionpublic static LookupComponent createLookup(IMapComponent driverSource, IMapComponent lookupSource, java.lang.String joinConditionText) throws MappingException, AdapterException
driverSource - The first source to connect to the lookup input.lookupSource - The second source to connect to the lookup input.oracle.odi.domain.mapping.exception.MapComponentExceptionPropertyExceptionAdapterExceptionMappingExceptionpublic MapExpression.ExecuteOnLocation getExecuteOnHint() throws PropertyException
IMapComponentgetExecuteOnHint in class JoinComponentPropertyExceptionpublic void setExecuteOnHint(MapExpression.ExecuteOnLocation hint) throws PropertyException
IMapComponentsetExecuteOnHint in class JoinComponentPropertyException