public abstract class Expression extends AbstractSyntaxTree implements ISelectItem
AbstractSyntaxTree.LogCounter| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
JAVA_LOGGER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List |
getAccompanyingExpressions()
Get all accompanying expressions.
|
java.lang.String |
getDefaultValueTemplate()
Gets the default value template of this expression.
|
MapAttribute |
getMapAttribute()
Get the map attribute that is associated with this select item, if any, else null.
|
IMappingObject |
getMappingObject() |
int |
getMaxColumnLength()
Get the max length of the column name.
|
MapAttributeWithPath |
getRefAttributeWithPath()
Gets the referenced attribute object with the path information for this
expression.
|
IExpressionReferencedObject |
getRefObject()
Get the reference object.
|
MapPathSpecifier |
getRefPath()
Gets the reference path for this expression.
|
java.lang.String |
getTargetColumnName()
Get a target column name that corresponds to this query select item, for the case where
the query is owned by a DML statement object.
|
java.lang.String |
getTemplate()
Gets the template of this expression.
|
abstract java.lang.String |
getText()
Get the text for this expression.
|
java.lang.String |
getType()
Get the class type of this object.
|
boolean |
hasCorrelatedSubquery()
Returns true if this expression contains a correlated subquery.
|
int |
hashCode() |
boolean |
hasWindowFunction(ITechnology techno)
Indicates whether this expression references a window function.
|
boolean |
isAggregation(ITechnology techno)
Indicates whether this expression references an aggregation function.
|
boolean |
isAggregation(ITechnology techno,
oracle.odi.mapping.generation.Expression.AggregationFunctionType type)
Returns true if this expression is an aggregate or window function.
|
boolean |
isPassive() |
abstract boolean |
isSimpleExpression()
Return true if the expression is a simple reference to exactly one referenced source object or attribute,
with no function calls or operators.
|
getChildren, getCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getExpressions, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, getTemplateSubstitutionMap, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSourcegetClass, notify, notifyAll, toString, wait, wait, waitgetArrayExpression, getCorrelatedQuery, getQuery, getSourceAttributes, getSourceExpressions, getStringExpression, getTextpublic java.lang.String getTemplate()
public java.lang.String getDefaultValueTemplate()
public boolean isPassive()
public IExpressionReferencedObject getRefObject()
getRefObject in interface ISelectItempublic MapPathSpecifier getRefPath()
getRefPath in interface ISelectItempublic int getMaxColumnLength()
getMaxColumnLength in interface ISelectItempublic abstract boolean isSimpleExpression()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean hasWindowFunction(ITechnology techno)
hasWindowFunction in interface ISelectItemtechno - technology to use for finding the list of aggregation functionspublic boolean isAggregation(ITechnology techno)
isAggregation in interface ISelectItemtechno - technology to use for finding the list of aggregation functionspublic boolean isAggregation(ITechnology techno,
oracle.odi.mapping.generation.Expression.AggregationFunctionType type)
techno - The Technology this expression belongs to.type - type of aggregation to check for: AggregationFunctionType.AGGREGATION or AggregationFunctionType.WINDOWpublic abstract java.lang.String getText()
getText in class AbstractSyntaxTreepublic java.util.List getAccompanyingExpressions()
public boolean hasCorrelatedSubquery()
hasCorrelatedSubquery in interface ISelectItempublic java.lang.String getTargetColumnName()
getTargetColumnName in interface ISelectItempublic MapAttributeWithPath getRefAttributeWithPath()
getRefAttributeWithPath in interface ISelectItempublic java.lang.String getType()
getType in class AbstractSyntaxTreepublic IMappingObject getMappingObject()
getMappingObject in interface ISelectItempublic MapAttribute getMapAttribute()
throws AdapterException,
MappingException
ISelectItemgetMapAttribute in interface ISelectItemMappingExceptionAdapterException