FROM clause of a query defines the domain of the query by declaring
identification variables. An identification variable is an identifier declared in the
FROM clause of a query. The domain of the query may be constrained by path
expressions. Identification variables designate instances of a particular entity abstract schema
type. The FROM clause can contain multiple identification variable
declarations separated by a comma (,).
BNF: from_clause ::= FROM identification_variable_declaration {, {identification_variable_declaration | collection_member_declaration}}*
CollectionMemberDeclarationStateObject, IdentificationVariableDeclarationStateObject, JoinStateObject, SelectStatementStateObject, FromClause
| Access | Constructor and Description |
|---|---|
| public | FromClauseStateObject(SelectStatementStateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| FromClauseStateObject | back to summary |
|---|---|
| public FromClauseStateObject(SelectStatementStateObject parent) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| declarationBNF | back to summary |
|---|---|
| protected String declarationBNF() Implements abstract org. Doc from org. Returns the BNF of the declaration part of this clause. | |
| findManagedType | back to summary |
|---|---|
| public IManagedType findManagedType(StateObject stateObject) Implements org. Doc from org. Returns the
In the above query, the managed type associated with the identification variable:
| |
| getExpression | back to summary |
|---|---|
| public FromClause getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getParent | back to summary |
|---|---|
| public SelectStatementStateObject getParent() Overrides org. Implements org. Doc from org. Returns the parent of this
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(FromClause expression) Keeps a reference of the
| |