EVEDemo.SWEEP
Class ViewDefinition

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

public class ViewDefinition
extends Relation
implements java.io.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.

See Also:
Serialized Form

Field Summary
(package private)  JoinList Join
           
(package private)  ProjectList Project
           
(package private)  SelectList Select
           
 
Fields inherited from class EVEDemo.SWEEP.Relation
alias, objnum, theExtent, theName, theSchema
 
Fields inherited from class EVEDemo.SWEEP.StampedElement
id, TimeStamp
 
Constructor Summary
ViewDefinition(java.lang.String newName, RelationSchema newSchema, ProjectList newProject, SelectList newSelect, JoinList newJoin)
           
 
Method Summary
private  java.lang.String getCreateQuery()
           
private  void init()
          This method will call DatabaseInterface to interact with Oracle and get the View Extent from the Oracle.
 
Methods inherited from class EVEDemo.SWEEP.Relation
clone, createTableSQL, createTableSQL, delCol, finalize, getAlias, getCardinality, getCommon, getExtent, getName, getSchema, initIterator, insertTuple, insertTupleSQL, insertTupleSQL, join, joinVirtual, joinVirtualOn, makeConditions, minus, moreTuple, plus, projectOn, rename, setAlias, setExtent, setName, setSchema, toString, updateTupleSQL, write
 
Methods inherited from class EVEDemo.SWEEP.StampedElement
getTimeStamp, OlderThan, setTimeStamp
 
Methods inherited from class java.lang.Object
, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

Project

ProjectList Project

Select

SelectList Select

Join

JoinList Join
Constructor Detail

ViewDefinition

public ViewDefinition(java.lang.String newName,
                      RelationSchema newSchema,
                      ProjectList newProject,
                      SelectList newSelect,
                      JoinList newJoin)
Method Detail

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.

getCreateQuery

private java.lang.String getCreateQuery()