protected static enum AbstractContentAssistVisitor.IdentificationVariableType extends java.lang.Enum<AbstractContentAssistVisitor.IdentificationVariableType>
Enum Constant and Description |
---|
ALL
Retrieves all the identification variables declared in the declaration portion of the
expression, which is either in the FROM clause of a SELECT query or
DELETE query or in the UPDATE query.
|
COLLECTION
Only retrieves the identification variables that map a path expression defined in a
JOIN expression or in a IN expression.
|
LEFT
Only retrieves the identification variables that have been declared to the left of the
expression requested them, both range and collection type variables are collected.
|
LEFT_COLLECTION
Only retrieves the identification variables that map a path expression defined in a
JOIN expression or in a IN expression but that have been declared to the
left of the expression requested them.
|
NONE
Simply indicates the identification variables should not be collected.
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
add(AbstractContentAssistVisitor contentAssist,
Declaration declaration,
Expression expression)
Adds the identification variables defined in the given
Declaration . |
static AbstractContentAssistVisitor.IdentificationVariableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractContentAssistVisitor.IdentificationVariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractContentAssistVisitor.IdentificationVariableType ALL
public static final AbstractContentAssistVisitor.IdentificationVariableType COLLECTION
public static final AbstractContentAssistVisitor.IdentificationVariableType LEFT
public static final AbstractContentAssistVisitor.IdentificationVariableType LEFT_COLLECTION
public static final AbstractContentAssistVisitor.IdentificationVariableType NONE
public static AbstractContentAssistVisitor.IdentificationVariableType[] values()
for (AbstractContentAssistVisitor.IdentificationVariableType c : AbstractContentAssistVisitor.IdentificationVariableType.values()) System.out.println(c);
public static AbstractContentAssistVisitor.IdentificationVariableType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullprotected abstract boolean add(AbstractContentAssistVisitor contentAssist, Declaration declaration, Expression expression)
Declaration
.contentAssist
- Backpointer to the content assist classdeclaration
- The Declaration
in the order they are declared in the declaration clauseexpression
- The Expression
being visited, which can help to determine when to
stop collecting identification variables