Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.syntax
Class FromClause

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by 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

Constructor Summary
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.

 

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

 

Constructor Detail

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.

Method Detail

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

Copyright © 2002, 2010, Oracle. All rights reserved.