public class StringExpression extends Expression
AbstractSyntaxTree.LogCounterJAVA_LOGGER| Modifier and Type | Method and Description |
|---|---|
ArrayExpression |
getArrayExpression()
Convenience method to cast this object to an ArrayExpression, if it is an instance of ArrayExpression.
|
java.util.List |
getChildren()
Get the list of child objects owned by this substitution API object.
|
CorrelatedQuery |
getCorrelatedQuery()
Convenience method to cast this object to a CorrelatedQuery object, if it is an instance of CorrelatedQuery.
|
java.util.List |
getExpressions()
Get a list of expressions owned by this substitution API object.
|
SqlQuery |
getQuery()
Gets the SqlQuery object that owns this expression.
|
java.util.List |
getSourceAttributes()
Get a list of attributes that act as sources for this expression.
|
java.util.List |
getSourceExpressions()
Get a list of expression objects that act as a source for this expression.
|
StringExpression |
getStringExpression()
Convenience method to cast this object to a StringExpression object, if it is an instance of StringExpression.
|
java.util.Map |
getTemplateSubstitutionMap()
Get a hash map containing built-in template substitution variable names as the hash key,
and the substitution variable value as values.
|
java.lang.String |
getText()
Gets the text of this string expression object.
|
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.
|
StringExpression |
removeColumnPrefix()
This is used for natural joins only.
|
java.lang.String |
toString()
Return a string representation of this string expression.
|
equals, getAccompanyingExpressions, getDefaultValueTemplate, getMapAttribute, getMappingObject, getMaxColumnLength, getRefAttributeWithPath, getRefObject, getRefPath, getTargetColumnName, getTemplate, getType, hasCorrelatedSubquery, hashCode, hasWindowFunction, isAggregation, isAggregation, isPassivegetCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSourcepublic boolean isSimpleExpression()
ExpressionisSimpleExpression in class Expressionpublic java.lang.String getText()
getText in class Expressionpublic java.lang.String toString()
toString in class java.lang.Objectpublic StringExpression removeColumnPrefix()
public java.util.List getChildren()
AbstractSyntaxTreegetChildren in class AbstractSyntaxTreepublic java.util.Map getTemplateSubstitutionMap()
AbstractSyntaxTreegetTemplateSubstitutionMap in class AbstractSyntaxTreepublic java.util.List getExpressions()
AbstractSyntaxTreegetExpressions in class AbstractSyntaxTreepublic SqlQuery getQuery()
public java.util.List getSourceAttributes()
ISelectItempublic java.util.List getSourceExpressions()
ISelectItempublic ArrayExpression getArrayExpression()
ISelectItempublic CorrelatedQuery getCorrelatedQuery()
ISelectItempublic StringExpression getStringExpression()
ISelectItem