Skip navigation links
oracle.olapi.syntax
Class FromClause
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.FromClause
-
public final class FromClause
- extends DataObject
A 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
.
- See Also:
CubeMap
, DimensionMap
Method Summary |
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 . |
Methods inherited from class oracle.olapi.syntax.SyntaxObject |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FromClause
public FromClause(FromClauseElement[] fromClauseElements)
- Creates a
FromClause
that has the specified elements.
- Parameters:
fromClauseElements
- An array of FromClauseElement
objects.
FromClause
public FromClause(java.util.List<FromClauseElement> fromClauseElements)
- Creates a
FromClause
that has the specified elements.
- Parameters:
fromClauseElements
- A List
of FromClauseElement
objects.
getFromClauseElements
public FromClauseElement[] getFromClauseElements()
- Gets the
FromClauseElement
objects that are associated with the FromClause
.
-
- Returns:
- An array of the
FromClauseElement
objects associated with the FromClause
.
visit
public 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
.
-
- Specified by:
visit
in class SyntaxObject
-
- Parameters:
visitor
- A SyntaxObjectVisitor
.
context
- An Object
.
- Returns:
- The
Object
returned by the visitFromClause
method.
Skip navigation links