All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SWEEP.ViewDefinition

java.lang.Object
   |
   +----SWEEP.Element
           |
           +----SWEEP.StampedElement
                   |
                   +----SWEEP.Relation
                           |
                           +----SWEEP.ViewDefinition

public class ViewDefinition
extends Relation
implements Serializable
This view is the subclass of Relation, so, it has schema, name and extent.
Here the view will be materialized, so, both "schema", "extent" are required.


Variable Index

 o Join
 o Project
 o Select

Constructor Index

 o ViewDefinition(String, RelationSchema, ProjectList, SelectList, JoinList)

Method Index

 o getCreateQuery()
 o init()
This method will call DatabaseInterface to interact with Oracle and get the View Extent from the Oracle.

Variables

 o Project
 ProjectList Project
 o Select
 SelectList Select
 o Join
 JoinList Join

Constructors

 o ViewDefinition
 public ViewDefinition(String newName,
                       RelationSchema newSchema,
                       ProjectList newProject,
                       SelectList newSelect,
                       JoinList newJoin)

Methods

 o init
 private void init()
This method will call DatabaseInterface to interact with Oracle and get the View Extent from the Oracle. This function will be called by VD Constructor.

 o getCreateQuery
 private String getCreateQuery()

All Packages  Class Hierarchy  This Package  Previous  Next  Index