Either positional or named parameters may be used. Positional and named parameters may not be
mixed in a single query. Input parameters can only be used in the WHERE clause or
HAVING clause of a query.

isNamed()
Determines whether this parameter is a positional parameter, i.e. the parameter type is '?'.

boolean

isPositional()
Determines whether this parameter is a positional parameter, i.e. the parameter type is ':'.

protected void

parse(WordParser wordParser,
boolean tolerant)
Parses the query by starting at the current position, which is part of the given WordParser.

java.lang.String

toActualText()
Generates a string representation of this Expression, 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.

wordParser - The text to parse based on the current position of the cursor

tolerant - Determines whether the parsing system should be tolerant, meaning if it should
try to parse invalid or incomplete queries

toActualText

public java.lang.String toActualText()

Generates a string representation of this Expression, 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.

toParsedText

public java.lang.String toParsedText()

Returns a string representation of this Expression and its children. The expression
should contain whitespace even if the beautified version would not have any. For instance,
"SELECT e " should be returned where Expression.toParsedText() would return "SELECT e".