public final class FromClause extends DataObject
DataObject that represents a list of relational tables. A FromClause has one or more FromClauseElement objects, each of which has an associated Query. You use a FromClause to specify data sources for a CubeMap or a DimensionMap. A FromClause that has only one FromClauseElement is functionally the same as a Query.CubeMap, DimensionMap| Constructor and Description |
|---|
FromClause(FromClauseElement[] fromClauseElements)
Creates a
FromClause that has the specified elements. |
FromClause(java.util.List<FromClauseElement> fromClauseElements)
Creates a
FromClause that has the specified elements. |
| Modifier and Type | Method and Description |
|---|---|
FromClauseElement[] |
getFromClauseElements()
Gets the
FromClauseElement objects that are associated with the FromClause. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitFromClause method of the SyntaxObjectVisitor and passes that method this FromClause and an Object. |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntaxpublic FromClause(FromClauseElement[] fromClauseElements)
FromClause that has the specified elements.fromClauseElements - An array of FromClauseElement objects.public FromClause(java.util.List<FromClauseElement> fromClauseElements)
FromClause that has the specified elements.fromClauseElements - A List of FromClauseElement objects.public FromClauseElement[] getFromClauseElements()
FromClauseElement objects that are associated with the FromClause.FromClauseElement objects associated with the FromClause.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitFromClause method of the SyntaxObjectVisitor and passes that method this FromClause and an Object.visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.Object returned by the visitFromClause method.