public class StringExpression extends Expression
AbstractSyntaxTree.LogCounter
JAVA_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, isPassive
getCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSource
public boolean isSimpleExpression()
Expression
isSimpleExpression
in class Expression
public java.lang.String getText()
getText
in class Expression
public java.lang.String toString()
toString
in class java.lang.Object
public StringExpression removeColumnPrefix()
public java.util.List getChildren()
AbstractSyntaxTree
getChildren
in class AbstractSyntaxTree
public java.util.Map getTemplateSubstitutionMap()
AbstractSyntaxTree
getTemplateSubstitutionMap
in class AbstractSyntaxTree
public java.util.List getExpressions()
AbstractSyntaxTree
getExpressions
in class AbstractSyntaxTree
public SqlQuery getQuery()
public java.util.List getSourceAttributes()
ISelectItem
public java.util.List getSourceExpressions()
ISelectItem
public ArrayExpression getArrayExpression()
ISelectItem
public CorrelatedQuery getCorrelatedQuery()
ISelectItem
public StringExpression getStringExpression()
ISelectItem