public class AggregateComponent extends DefaultDelegate
| Modifier and Type | Class and Description |
|---|---|
static class |
AggregateComponent.IsGroupByColumn
The IsGroupByColumn enumeration specifies whether a column is included in the GROUP BY clause.
|
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 for this component.
|
static java.lang.String |
PROPKEY_AUTOCOMPUTE_GROUPBY |
static java.lang.String |
PROPKEY_GROUPBY |
static java.lang.String |
PROPKEY_HAVING |
static java.lang.String |
PROPKEY_MANUAL_GROUPBY_CLAUSE |
VARIABLE_COMPONENT_TYPE_NAME| Constructor and Description |
|---|
AggregateComponent(oracle.odi.domain.mapping.MapComponentOwner owner,
java.lang.String name)
Construct a new persistent set component.
|
| Modifier and Type | Method and Description |
|---|---|
MapAttribute |
addAttribute(java.lang.String name,
java.lang.String pExpressionText,
IDataType pDataType,
java.lang.Integer pSize,
java.lang.Integer pScale)
Adds a new attribute to this component
|
MapExpression.ExecuteOnLocation |
getExecuteOnHint()
Return an execute location hint if the component supports it, otherwise "NO_HINT".
|
java.lang.String |
getGroupByAuto(ITechnology pTechnology)
Gets the SQL GROUP BY string as a comma separated list of attributes, based on calculation of all
attributes not containing an aggregation function in the expression.
|
MapExpression |
getHaving()
Gets the map expression for the HAVING clause.
|
java.lang.String |
getHavingText()
Gets the HAVING clause expression text.
|
MapExpression |
getManualGroupBy()
Gets the manual group-by clause expression for this component.
|
void |
setAutoComputeGroupBy(java.lang.Boolean pAutoComputeGroupBy)
Sets the automatic group-by clause computation for this component.
|
void |
setExecuteOnHint(MapExpression.ExecuteOnLocation hint)
Set the execute-on hint for this component, if applicable, otherwise throw exception.
|
void |
setHavingText(java.lang.String pHaving)
Sets the expression for the SQL HAVING clause.
|
void |
setManualGroupBy(java.lang.String text)
Sets the expression text for the manual group-by expression.
|
void |
setPropertyValue(java.lang.String key,
java.lang.Object value)
Set a property value for the property with the specified key name.
|
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHintByStringafterAddComponent, afterConnect, afterPropertyChange, afterRemoveComponent, beforePropertyChange, connectFrom, createInputConnectorPoint, createInputConnectorPoint, createOutputConnectorPoint, createOutputConnectorPoint, customValidateProposedChildConnection, customValidateProposedChildScoping, equals, getBoundObjectFullName, getBoundObjectName, getBoundShortcutFullName, getComponentContext, getComponentCustomLocation, getComponentType, getInScopeAttributeXMap, getSQLAccessName, getSQLAliasName, getTechnicalDescription, getTypeName, handleChildMapChangeEvent, handleMapChangeEvent, hashCode, initPhysicalNode, isAttributeExecuteOnLocationHidden, isBoundObjectDeleted, isCardinalitySource, isCompositeComponentType, isExpressionHidden, isTargetLoadingSupported, propertyValueGetterHook, setComponentType, supportComponentOfType, toString, validateReorderComponentaddComponent, addProperty, bindTo, bindTo, connectTo, connectTo, connectTo, connectTo, containsComponent, createComponent, createComponent, createComponent, createOutputConnectorPoint, createProperty, disableMapChangeEventHandling, dump, dump, enableMapChangeEventHandling, findAllComponents, findComponent, findComponentBoundTo, findComponentOfType, findComponentsBoundTo, findConnector, findConnectorPoint, findInputAttribute, findOutputAttribute, findSubComponentOwner, generateUniqueComponentName, generateUniqueComponentName, generateUniqueConnectorName, generateUniqueName, generateUniqueName, getAdapter, getAlias, getAllComponents, getAllComponentsOfType, getAllExpressions, getAllProperties, getAllSignatureOwnerHolders, getAllSubComponentOwners, getAttributeExpressions, getAttributes, getBigNumericId, getBooleanPropertyValue, getBoundObject, getBoundShortcut, getBoundTechnology, getBusinessName, getCachedIssues, getComponentAttributeMap, getComponentCategory, getComponentCount, getComponentLocation, getComponentLocation, getComponentOwner, getComponents, getComponentTypeName, getConcreteObject, getConnectorPointCount, getConnectorPointCount, getConnectorPoints, getConnectorPoints, getConnectorPointToLeaf, getConnectorTo, getDelegate, getDescription, getDisplayableObjectName, getDisplayableProperties, getDisplayableTypeName, getDomainInterfaceType, getDownstreamConnectedLeafComponents, getDownstreamConnectedPoints, getExpressionPropertyValue, getExpressionReferences, getFlowConstraints, getFullName, getGlobalId, getGUID, getInputConnectorPoint, getInputConnectorPoint, getInputConnectorPointCount, getInputConnectorPoints, getInputPoint, getInScopeAttributes, getInternalId, getIntPropertyValue, getLeafLevelComponents, getLeafLevelEndpoints, getLeafLevelTargets, getMapRootContainer, getName, getNumericId, getOutputAttributeExpressions, getOutputAttributes, getOutputConnectorPoint, getOutputConnectorPoint, getOutputConnectorPointCount, getOutputConnectorPoints, getOutputPoint, getOwner, getOwningComponent, getParent, getPersistentClassName, getPrefix, getProjectedAttributes, getProperties, getProperty, getPropertyDefinitionOwner, getPropertyValue, getPropertyValueReference, getProposedConnectionIssues, getQualifiedName, getRootComponentOwner, getRootContainer, getSecurityContainer, getSources, getStringPropertyValue, getStrongTypeClassName, getSyncState, getTargetLoadOrder, getTargetLoadOrderText, getTargets, getTopLevelComponentsOfType, getTopLevelSignatureOwnerHolders, getTopLevelSources, getTopLevelTargets, getTopmostComponent, getUpstreamAttributeXMap, getUpstreamConnectedLeafComponents, getUpstreamConnectedLeafPoints, getUpstreamConnectedPoints, getUpstreamInScopeLeafAttributes, getUpstreamInScopeLeafComponentsFor, getUpstreamInScopeLeafPoints, getUpstreamLeafAttributes, getUpstreamLeafAttributes, getUpstreamLeafConnectorPoints, getUpstreamLeafConnectorPoints, getUpstreamLeafSources, getUpstreamSources, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor, invokeMethod, is11gMapping, isBound, isComponent, isComponentLevelConnectAllowed, isCompositeComponent, isCreatePersistentComponents, isDecorator, isEndpoint, isExpandableComponent, isHidden, isInScope, isInScope, isMapChangeEventHandlingEnabled, isMultiInputSelector, isOfType, isProjector, isPropertyDefined, isProposedConnectionValid, isSelector, isSignatureOwner, isSignatureOwnerHolder, isSource, isSubComponent, isTarget, isUniqueComponentName, isUniqueComponentName, referencesObject, removeAllConnections, removeAllConnections, removeAllInputConnections, removeComponent, removeComponent, removeInputConnectorPoint, removeInputConnectorPoint, removeInputConnectorPoint, removeOutputConnectorPoint, removeOutputConnectorPoint, removeProperty, reorderInputConnectorPoint, reorderOutputConnectorPoint, setAlias, setAttributeExpressionText, setAttributeExpressionText, setBooleanPropertyValue, setBusinessName, setDescription, setIntPropertyValue, setIsHidden, setName, syncComponent, validate, validate, validate, validatePropertiespublic static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PROPKEY_HAVING
public static final java.lang.String PROPKEY_GROUPBY
public static final java.lang.String PROPKEY_AUTOCOMPUTE_GROUPBY
public static final java.lang.String PROPKEY_MANUAL_GROUPBY_CLAUSE
public AggregateComponent(oracle.odi.domain.mapping.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.oracle.odi.domain.mapping.exception.MapComponentExceptionAdapterExceptionMappingExceptionpublic MapAttribute addAttribute(java.lang.String name, java.lang.String pExpressionText, IDataType pDataType, java.lang.Integer pSize, java.lang.Integer pScale) throws MappingException, AdapterException
name - attribute namepExpressionText - Expression textpDataType - attribute data typepSize - attribute numeric precision or character lengthpScale - attribute numeric scaleMappingExceptionAdapterExceptionpublic void setHavingText(java.lang.String pHaving)
throws MappingException,
AdapterException
pHaving - HAVING clause expression.MappingExceptionAdapterExceptionpublic MapExpression getHaving() throws PropertyException
PropertyExceptionpublic java.lang.String getHavingText()
throws PropertyException
PropertyExceptionpublic java.lang.String getGroupByAuto(ITechnology pTechnology) throws MappingException, AdapterException
pTechnology - The technology, used to determine whether aggregation functions are used in the expression.MappingExceptionAdapterExceptionpublic void setAutoComputeGroupBy(java.lang.Boolean pAutoComputeGroupBy)
throws PropertyException
pAutoComputeGroupBy - true to enable automatic group-by column computation, otherwise false.PropertyExceptionpublic MapExpression getManualGroupBy() throws PropertyException
PropertyExceptionpublic void setManualGroupBy(java.lang.String text)
throws MappingException,
AdapterException
text - manual group-by expression text.MappingExceptionAdapterExceptionpublic MapExpression.ExecuteOnLocation getExecuteOnHint() throws PropertyException
IMapComponentgetExecuteOnHint in class DefaultDelegatePropertyExceptionpublic void setExecuteOnHint(MapExpression.ExecuteOnLocation hint) throws PropertyException
IMapComponentsetExecuteOnHint in class DefaultDelegatePropertyExceptionpublic void setPropertyValue(java.lang.String key,
java.lang.Object value)
throws PropertyException
IPropertyOwnersetPropertyValue in interface IPropertyOwnersetPropertyValue in class oracle.odi.domain.mapping.MapComponentDelegatorkey - The name of the property whose value will be set.value - The object value of the property. The interpretation of the object
type will be determined by the type of the property.PropertyException