Interface Expression
- All Known Implementing Classes:
AbsExpression,AbstractConditionalClause,AbstractDoubleEncapsulatedExpression,AbstractEncapsulatedExpression,AbstractExpression,AbstractFromClause,AbstractOrderByClause,AbstractPathExpression,AbstractSchemaName,AbstractSelectClause,AbstractSelectStatement,AbstractSingleEncapsulatedExpression,AbstractTripleEncapsulatedExpression,AdditionExpression,AggregateFunction,AllOrAnyExpression,AndExpression,ArithmeticExpression,ArithmeticFactor,AsOfClause,AvgFunction,BadExpression,BetweenExpression,CaseExpression,CastExpression,CoalesceExpression,CollectionExpression,CollectionMemberDeclaration,CollectionMemberExpression,CollectionValuedPathExpression,ComparisonExpression,CompoundExpression,ConcatExpression,ConnectByClause,ConstructorExpression,CountFunction,DatabaseType,DateTime,DefaultStringExpression,DeleteClause,DeleteStatement,DivisionExpression,EmptyCollectionComparisonExpression,EncapsulatedIdentificationVariableExpression,EntityTypeLiteral,EntryExpression,ExistsExpression,ExtractExpression,FromClause,FunctionExpression,GroupByClause,HavingClause,HierarchicalQueryClause,IdentificationVariable,IdentificationVariableDeclaration,IndexExpression,InExpression,InputParameter,Join,JPQLExpression,KeyExpression,KeywordExpression,LengthExpression,LikeExpression,LocalDateTime,LocalExpression,LocateExpression,LogicalExpression,LowerExpression,MathDoubleExpression,MathDoubleExpression.Power,MathDoubleExpression.Round,MathSingleExpression,MathSingleExpression.Ceiling,MathSingleExpression.Exp,MathSingleExpression.Floor,MathSingleExpression.Ln,MathSingleExpression.Sign,MaxFunction,MinFunction,ModExpression,MultiplicationExpression,NotExpression,NullComparisonExpression,NullExpression,NullIfExpression,NumericLiteral,ObjectExpression,OnClause,OrderByClause,OrderByItem,OrderSiblingsByClause,OrExpression,RangeVariableDeclaration,RegexpExpression,ResultVariable,SelectClause,SelectStatement,SimpleFromClause,SimpleSelectClause,SimpleSelectStatement,SizeExpression,SqrtExpression,StartWithClause,StateFieldPathExpression,StringLiteral,SubExpression,SubstringExpression,SubtractionExpression,SumFunction,TableExpression,TableVariableDeclaration,TreatExpression,TrimExpression,TypeExpression,UnionClause,UnknownExpression,UpdateClause,UpdateItem,UpdateStatement,UpperExpression,ValueExpression,WhenClause,WhereClause
public interface Expression
This is the root interface of the parsed tree representation of a JPQL query. The way a JPQL
query is parsed is based on the
JPQL grammar used.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant for 'ABS'.static final StringThe constant for 'ALL'.static final StringThe constant for 'AND'.static final StringThe constant for 'ANY'.static final StringThe constant for 'AS'.static final StringThe constant for 'AS OF'.static final StringThe constant for 'ASC'.static final StringThe constant for 'AVG'.static final StringThe constant for 'BETWEEN'.static final StringThe constant for 'BIT_LENGTH', which is an unused keyword.static final StringThe constant for 'BOTH'.static final StringThe constant for the identifier 'CASE'.static final StringThe constant for the identifier 'CAST'.static final StringThe constant for the identifier 'CEILING'.static final StringThe constant for 'CHAR_LENGTH', which is an unused keyword.static final StringThe constant for 'CHARACTER_LENGTH', which is an unused keyword.static final StringThe constant for 'CLASS', which is an unused keyword.static final StringThe constant for 'COALESCE'.static final StringThe constant 'COLUMN', which is an EclipseLink specific identifier that was added in version 2.4.static final StringThe constant for 'CONCAT'.static final StringThe constant for 'CONNECT BY'.static final StringThe constant for 'COUNT'.static final StringThe constant for 'CURRENT_DATE'.static final StringThe constant for 'CURRENT_DATE'.static final StringThe constant for 'CURRENT_TIMESTAMP'.static final StringThe constant for 'DATE'.static final StringThe constant for 'DATETIME'.static final StringThe constant for 'DELETE'.static final StringThe constant for 'DELETE FROM'.static final StringThe constant for 'DESC'.static final StringThe constant for '<>'.static final StringThe constant for 'DISTINCT'.static final StringThe constant for the division sign '/'.static final StringThe constant for the identifier 'ELSE'.static final StringThe constant for 'EMPTY'.static final StringThe constant for the identifier 'END'.static final StringThe constant for 'ENTRY'.static final StringThe constant for '='.static final StringThe constant for 'ESCAPE'.static final StringThe constant for 'EXCEPT'.static final StringThe constant for 'EXISTS'.static final StringThe constant for 'EXP'.static final StringThe constant for 'EXTRACT'.static final StringThe constant for 'FALSE'.static final StringA constant for 'FETCH'.static final StringThe constant for 'FIRST'.static final StringThe constant for the identifier 'FLOOR'.static final StringThe constant for 'FROM'.static final StringThe constant 'FUNC', which is an EclipseLink specific identifier that was added in version 2.1.static final StringThe constant 'FUNCTION', part of JPA 2.1.static final StringThe constant for '>'.static final StringThe constant for '>='.static final StringThe constant for 'GROUP BY'.static final StringThe constant for 'HAVING'.static final StringThe constant for 'IN'.static final StringThe constant for 'INDEX'.static final StringThe constant for 'INNER'.static final StringThe constant for 'INNER JOIN'.static final StringThe constant for 'INNER JOIN FETCH'.static final StringThe constant for 'INTERSECT'.static final StringThe constant for 'IS'.static final StringThe constant for 'IS EMPTY'.static final StringThe constant for 'IS NOT EMPTY'.static final StringThe constant for 'IS NOT NULL'.static final StringThe constant for 'IS NULL'.static final StringThe constant for 'JOIN'.static final StringThe constant for 'JOIN FETCH'.static final StringThe constant for 'KEY'.static final StringThe constant for 'LAST'.static final StringThe constant for 'LEADING'.static final StringThe constant for 'LEFT'.static final StringThe constant for 'LEFT JOIN'.static final StringThe constant for 'LEFT JOIN FETCH'.static final StringThe constant for 'LEFT OUTER JOIN'.static final StringThe constant for 'LEFT OUTER JOIN FETCH'.static final StringThe constant for 'LENGTH'.static final StringThe constant for 'LIKE'.static final StringThe constant for 'LN'.static final StringThe constant for 'LOCAL'.static final StringThe constant for 'LOCATE'.static final StringThe constant for 'LOWER'.static final StringThe constant for '<'.static final StringThe constant for '<='.static final StringThe constant for 'MAX'.static final StringThe constant for 'MEMBER'.static final StringThe constant for 'MEMBER OF'.static final StringThe constant for 'MIN'.static final StringThe constant for the minus sign '-'.static final StringThe constant for 'MOD'.static final StringThe constant for multiplication sign '*'.static final StringThe constant for ':'.static final StringThe constant for 'NEW'.static final StringThe constant for 'NOT'.static final StringThe constant for 'NOT BETWEEN'.static final StringThe constant for '!='.static final StringThe constant for 'NOT EXISTS'.static final StringThe constant for 'NOT IN'.static final StringThe constant for 'NOT LIKE'.static final StringThe constant for 'NOT MEMBER'.static final StringThe constant for 'NOT MEMBER OF'.static final StringThe constant for 'NULL'.static final StringThe constant for 'NULLIF'.static final StringThe constant for 'NULLS'.static final StringThe constant for 'NULLS FIRST'.static final StringThe constant for 'NULLS LAST'.static final StringThe constant for 'OBJECT'.static final StringThe constant for 'OF'.static final StringThe constant for 'ON', which is an EclipseLink specific identifier that was added in version 2.4.static final StringThe constant 'OPERATOR', which is an EclipseLink specific identifier that was added in version 2.4.static final StringThe constant for 'OR'.static final StringThe constant for 'ORDER BY'.static final StringThe constant for 'ORDER SIBLINGS BY'.static final StringThe constant for 'OUTER'.static final StringThe constant for for the plus sign '+'.static final StringThe constant for 'POSITION', which is an unused keyword.static final StringThe constant for '?'.static final StringThe constant for 'POWER'.static final StringThe constant for single quote.static final StringThe constant for 'REGEXP'.static final StringThe constant for 'ROUND'.static final StringThe constant for 'SCN'.static final StringThe constant for 'SELECT'.static final StringThe constant for 'SET'.static final StringThe constant for 'SIGN'.static final StringThe constant for 'SIZE'.static final StringThe constant for 'SOME'.static final StringThe constant 'SQL', which is an EclipseLink specific identifier that was added in version 2.4.static final StringThe constant for 'SQRT'.static final StringThe constant for 'WHERE'.static final StringThe constant for 'SUBSTRING'.static final StringThe constant for 'SUM'.static final StringThe constant for 'TABLE'.static final StringThe constant for 'THEN'.static final StringThe constant for 'TIME'.static final StringThe constant for 'TIMESTAMP'.static final StringThe constant for 'TRAILING'.static final StringThe constant for 'TREAT', which is an EclipseLink specific identifier that was added in version 2.1.static final StringThe constant for 'TRIM'.static final StringThe constant for 'TRUE'.static final StringThe constant for 'TYPE'.static final StringThe constant for 'UNION'.static final StringThe constant for 'UNKNOWN', which is an unused keyword.static final StringThe constant for 'UPDATE'.static final StringThe constant for 'UPPER'.static final StringThe constant for 'VALUE'.static final StringThe constant for the identifier 'WHEN'.static final StringThe constant for 'WHERE'. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ExpressionVisitor visitor) Visits thisExpressionby the givenvisitor.voidacceptChildren(ExpressionVisitor visitor) Visits the children of thisExpression.children()Returns the children of thisExpression.findQueryBNF(Expression expression) Retrieves theJPQLQueryBNFthat represents the fragment of thisExpressionthat was used when parsing the givenExpression.Returns theJPQLGrammarthat defines how the JPQL query was parsed.intReturns the length of the string representation of thisExpression, which is the length of the text generated bytoActualText().intReturns the position of thisExpressionwithin its parent hierarchy.Returns the parent of thisExpression.Returns the BNF of thisExpression.getRoot()Retrieves the root node of the parsed tree hierarchy.booleanisAncestor(Expression expression) Determines whether thisExpressionis a parent of the givenExpression.Returns the list representing thisExpressionand its children.voidpopulatePosition(QueryPosition queryPosition, int position) Retrieves theExpressionlocated at the given position using the actual query, which may have extra whitespace.Generates a string representation of thisExpression, which needs to include any characters that are considered virtual, i.e.Returns a string representation of thisExpressionand its children.
-
Field Details
-
ABS
The constant for 'ABS'.- See Also:
-
ALL
The constant for 'ALL'.- See Also:
-
AND
The constant for 'AND'.- See Also:
-
ANY
The constant for 'ANY'.- See Also:
-
AS
The constant for 'AS'.- See Also:
-
AS_OF
The constant for 'AS OF'.- Since:
- 2.5
- See Also:
-
ASC
The constant for 'ASC'.- See Also:
-
AVG
The constant for 'AVG'.- See Also:
-
BETWEEN
The constant for 'BETWEEN'.- See Also:
-
BIT_LENGTH
The constant for 'BIT_LENGTH', which is an unused keyword.- See Also:
-
BOTH
The constant for 'BOTH'.- See Also:
-
CASE
The constant for the identifier 'CASE'.- See Also:
-
CAST
The constant for the identifier 'CAST'.- Since:
- 2.4
- See Also:
-
CEILING
The constant for the identifier 'CEILING'.- See Also:
-
CHAR_LENGTH
The constant for 'CHAR_LENGTH', which is an unused keyword.- See Also:
-
CHARACTER_LENGTH
The constant for 'CHARACTER_LENGTH', which is an unused keyword.- See Also:
-
CLASS
The constant for 'CLASS', which is an unused keyword.- See Also:
-
COALESCE
The constant for 'COALESCE'.- See Also:
-
COLUMN
The constant 'COLUMN', which is an EclipseLink specific identifier that was added in version 2.4.- Since:
- 2.4
- See Also:
-
CONCAT
The constant for 'CONCAT'.- See Also:
-
CONNECT_BY
The constant for 'CONNECT BY'.- Since:
- 2.5
- See Also:
-
COUNT
The constant for 'COUNT'.- See Also:
-
CURRENT_DATE
The constant for 'CURRENT_DATE'.- See Also:
-
CURRENT_TIME
The constant for 'CURRENT_DATE'.- See Also:
-
CURRENT_TIMESTAMP
The constant for 'CURRENT_TIMESTAMP'.- See Also:
-
DATE
The constant for 'DATE'.- See Also:
-
DATETIME
The constant for 'DATETIME'.- See Also:
-
DELETE
The constant for 'DELETE'.- See Also:
-
DELETE_FROM
The constant for 'DELETE FROM'.- See Also:
-
DESC
The constant for 'DESC'.- See Also:
-
DIFFERENT
The constant for '<>'.- See Also:
-
DISTINCT
The constant for 'DISTINCT'.- See Also:
-
DIVISION
The constant for the division sign '/'.- See Also:
-
ELSE
The constant for the identifier 'ELSE'.- See Also:
-
EMPTY
The constant for 'EMPTY'.- See Also:
-
END
The constant for the identifier 'END'.- See Also:
-
ENTRY
The constant for 'ENTRY'.- See Also:
-
EQUAL
The constant for '='.- See Also:
-
ESCAPE
The constant for 'ESCAPE'.- See Also:
-
EXCEPT
The constant for 'EXCEPT'.- Since:
- 2.4
- See Also:
-
EXISTS
The constant for 'EXISTS'.- See Also:
-
EXP
The constant for 'EXP'.- See Also:
-
EXTRACT
The constant for 'EXTRACT'.- Since:
- 2.4
- See Also:
-
FALSE
The constant for 'FALSE'.- See Also:
-
FETCH
A constant for 'FETCH'.- See Also:
-
FIRST
The constant for 'FIRST'.- Since:
- 2.5
- See Also:
-
FLOOR
The constant for the identifier 'FLOOR'.- See Also:
-
FROM
The constant for 'FROM'.- See Also:
-
FUNC
The constant 'FUNC', which is an EclipseLink specific identifier that was added in version 2.1.- See Also:
-
FUNCTION
The constant 'FUNCTION', part of JPA 2.1.- Since:
- 2.4
- See Also:
-
GREATER_THAN
The constant for '>'.- See Also:
-
GREATER_THAN_OR_EQUAL
The constant for '>='.- See Also:
-
GROUP_BY
The constant for 'GROUP BY'.- See Also:
-
HAVING
The constant for 'HAVING'.- See Also:
-
IN
The constant for 'IN'.- See Also:
-
INDEX
The constant for 'INDEX'.- See Also:
-
INNER
The constant for 'INNER'.- See Also:
-
INNER_JOIN
The constant for 'INNER JOIN'.- See Also:
-
INNER_JOIN_FETCH
The constant for 'INNER JOIN FETCH'.- See Also:
-
INTERSECT
The constant for 'INTERSECT'.- Since:
- 2.4
- See Also:
-
IS
The constant for 'IS'.- See Also:
-
IS_EMPTY
The constant for 'IS EMPTY'.- See Also:
-
IS_NOT_EMPTY
The constant for 'IS NOT EMPTY'.- See Also:
-
IS_NOT_NULL
The constant for 'IS NOT NULL'.- See Also:
-
IS_NULL
The constant for 'IS NULL'.- See Also:
-
JOIN
The constant for 'JOIN'.- See Also:
-
JOIN_FETCH
The constant for 'JOIN FETCH'.- See Also:
-
KEY
The constant for 'KEY'.- See Also:
-
LAST
The constant for 'LAST'.- Since:
- 2.5
- See Also:
-
LEADING
The constant for 'LEADING'.- See Also:
-
LEFT
The constant for 'LEFT'.- See Also:
-
LEFT_JOIN
The constant for 'LEFT JOIN'.- See Also:
-
LEFT_JOIN_FETCH
The constant for 'LEFT JOIN FETCH'.- See Also:
-
LEFT_OUTER_JOIN
The constant for 'LEFT OUTER JOIN'.- See Also:
-
LEFT_OUTER_JOIN_FETCH
The constant for 'LEFT OUTER JOIN FETCH'.- See Also:
-
LENGTH
The constant for 'LENGTH'.- See Also:
-
LIKE
The constant for 'LIKE'.- See Also:
-
LN
The constant for 'LN'.- See Also:
-
LOCAL
The constant for 'LOCAL'.- See Also:
-
LOCATE
The constant for 'LOCATE'.- See Also:
-
LOWER
The constant for 'LOWER'.- See Also:
-
LOWER_THAN
The constant for '<'.- See Also:
-
LOWER_THAN_OR_EQUAL
The constant for '<='.- See Also:
-
MAX
The constant for 'MAX'.- See Also:
-
MEMBER
The constant for 'MEMBER'.- See Also:
-
MEMBER_OF
The constant for 'MEMBER OF'.- See Also:
-
MIN
The constant for 'MIN'.- See Also:
-
MINUS
The constant for the minus sign '-'.- See Also:
-
MOD
The constant for 'MOD'.- See Also:
-
MULTIPLICATION
The constant for multiplication sign '*'.- See Also:
-
NAMED_PARAMETER
The constant for ':'.- See Also:
-
NEW
The constant for 'NEW'.- See Also:
-
NOT
The constant for 'NOT'.- See Also:
-
NOT_BETWEEN
The constant for 'NOT BETWEEN'.- See Also:
-
NOT_EQUAL
The constant for '!='.- Since:
- 2.4
- See Also:
-
NOT_EXISTS
The constant for 'NOT EXISTS'.- See Also:
-
NOT_IN
The constant for 'NOT IN'.- See Also:
-
NOT_LIKE
The constant for 'NOT LIKE'.- See Also:
-
NOT_MEMBER
The constant for 'NOT MEMBER'.- See Also:
-
NOT_MEMBER_OF
The constant for 'NOT MEMBER OF'.- See Also:
-
NULL
The constant for 'NULL'.- See Also:
-
NULLIF
The constant for 'NULLIF'.- See Also:
-
NULLS
The constant for 'NULLS'.- Since:
- 2.5
- See Also:
-
NULLS_FIRST
The constant for 'NULLS FIRST'.- Since:
- 2.4
- See Also:
-
NULLS_LAST
The constant for 'NULLS LAST'.- Since:
- 2.4
- See Also:
-
OBJECT
The constant for 'OBJECT'.- See Also:
-
OF
The constant for 'OF'.- See Also:
-
ON
The constant for 'ON', which is an EclipseLink specific identifier that was added in version 2.4.- Since:
- 2.4
- See Also:
-
OPERATOR
The constant 'OPERATOR', which is an EclipseLink specific identifier that was added in version 2.4.- Since:
- 2.4
- See Also:
-
OR
The constant for 'OR'.- See Also:
-
ORDER_BY
The constant for 'ORDER BY'.- See Also:
-
ORDER_SIBLINGS_BY
The constant for 'ORDER SIBLINGS BY'.- Since:
- 2.5
- See Also:
-
OUTER
The constant for 'OUTER'.- See Also:
-
PLUS
The constant for for the plus sign '+'.- See Also:
-
POSITION
The constant for 'POSITION', which is an unused keyword.- See Also:
-
POSITIONAL_PARAMETER
The constant for '?'.- See Also:
-
POWER
The constant for 'POWER'.- See Also:
-
QUOTE
The constant for single quote.- See Also:
-
REGEXP
The constant for 'REGEXP'.- Since:
- 2.4
- See Also:
-
ROUND
The constant for 'ROUND'.- See Also:
-
SCN
The constant for 'SCN'.- Since:
- 2.5
- See Also:
-
SELECT
The constant for 'SELECT'.- See Also:
-
SET
The constant for 'SET'.- See Also:
-
SIGN
The constant for 'SIGN'.- See Also:
-
SIZE
The constant for 'SIZE'.- See Also:
-
SOME
The constant for 'SOME'.- See Also:
-
SQL
The constant 'SQL', which is an EclipseLink specific identifier that was added in version 2.4.- Since:
- 2.4
- See Also:
-
SQRT
The constant for 'SQRT'.- See Also:
-
START_WITH
The constant for 'WHERE'.- See Also:
-
SUBSTRING
The constant for 'SUBSTRING'.- See Also:
-
SUM
The constant for 'SUM'.- See Also:
-
TABLE
The constant for 'TABLE'.- Since:
- 2.4
- See Also:
-
THEN
The constant for 'THEN'.- See Also:
-
TIME
The constant for 'TIME'.- See Also:
-
TIMESTAMP
The constant for 'TIMESTAMP'.- Since:
- 2.5
- See Also:
-
TRAILING
The constant for 'TRAILING'.- See Also:
-
TREAT
The constant for 'TREAT', which is an EclipseLink specific identifier that was added in version 2.1.- See Also:
-
TRIM
The constant for 'TRIM'.- See Also:
-
TRUE
The constant for 'TRUE'.- See Also:
-
TYPE
The constant for 'TYPE'.- See Also:
-
UNION
The constant for 'UNION'.- Since:
- 2.4
- See Also:
-
UNKNOWN
The constant for 'UNKNOWN', which is an unused keyword.- See Also:
-
UPDATE
The constant for 'UPDATE'.- See Also:
-
UPPER
The constant for 'UPPER'.- See Also:
-
VALUE
The constant for 'VALUE'.- See Also:
-
WHEN
The constant for the identifier 'WHEN'.- See Also:
-
WHERE
The constant for 'WHERE'.- See Also:
-
-
Method Details
-
accept
Visits thisExpressionby the givenvisitor.- Parameters:
visitor- TheExpressionVisitorto visit this object
-
acceptChildren
Visits the children of thisExpression. This method can be used to optimize traversing the children since a new list is not created every timechildren()is called.This does not traverse the
Expressionsub-hierarchy, use a subclass ofAbstractTraverseChildrenVisitorin order to traverse the entire sub-hierarchy.- Parameters:
visitor- Thevisitorto visit the children of this object.
-
children
ListIterable<Expression> children()Returns the children of thisExpression.- Returns:
- The children of this
Expressionor an emptyListIterable
-
findQueryBNF
Retrieves theJPQLQueryBNFthat represents the fragment of thisExpressionthat was used when parsing the givenExpression.- Parameters:
expression- TheExpressionthat is a descendant of this one- Returns:
- The
JPQLQueryBNFthat was used to parse the given expression - Since:
- 2.5
-
getGrammar
JPQLGrammar getGrammar()Returns theJPQLGrammarthat defines how the JPQL query was parsed.- Returns:
- The
JPQLGrammarthat was used to parse thisExpression - Since:
- 2.4
-
getLength
int getLength()Returns the length of the string representation of thisExpression, which is the length of the text generated bytoActualText().- Returns:
- The length of the string representation of this
Expression - Since:
- 2.4
-
getOffset
int getOffset()Returns the position of thisExpressionwithin its parent hierarchy.- Returns:
- The length of the string representation of what is coming before this object
- Since:
- 2.4
-
getParent
Expression getParent()Returns the parent of thisExpression.- Returns:
- The parent of this
Expression, which is nevernullexcept for the root of the tree
-
getQueryBNF
JPQLQueryBNF getQueryBNF()Returns the BNF of thisExpression.- Returns:
- The
JPQLQueryBNF, which represents the grammar of thisExpression - Since:
- 2.4
-
getRoot
JPQLExpression getRoot()Retrieves the root node of the parsed tree hierarchy.- Returns:
- The root of the
Expressiontree
-
isAncestor
Determines whether thisExpressionis a parent of the givenExpression.- Parameters:
expression- TheExpressionto verify its paternity with thisExpression- Returns:
trueif thisExpressionis the same as the givenExpressionor one of its parent;falseotherwise
-
orderedChildren
ListIterable<Expression> orderedChildren()Returns the list representing thisExpressionand its children.- Returns:
- The
Expressionsrepresenting thisExpression
-
populatePosition
Retrieves theExpressionlocated at the given position using the actual query, which may have extra whitespace.- Parameters:
position- The array has one element and is the position of theExpressionto retrieve
-
toActualText
String toActualText()Generates a string representation of thisExpression, which needs to include any characters that are considered virtual, i.e. that was parsed when the query is incomplete and is needed for functionality like content assist.- Returns:
- The string representation of this
Expression
-
toParsedText
String toParsedText()Returns a string representation of thisExpressionand its children. The expression should contain whitespace even if the beautified version would not have any. For instance, "SELECT e " should be returned wheretoActualText()would return "SELECT e".- Returns:
- The string representation of this
Expression
-