simpledb.parse
Class CreateViewData

java.lang.Object
  extended by simpledb.parse.CreateViewData

public class CreateViewData
extends java.lang.Object

Data for the SQL create view statement.

Author:
Edward Sciore

Constructor Summary
CreateViewData(java.lang.String viewname, QueryData qrydata)
          Saves the view name and its definition.
 
Method Summary
 java.lang.String viewDef()
          Returns the definition of the new view.
 java.lang.String viewName()
          Returns the name of the new view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateViewData

public CreateViewData(java.lang.String viewname,
                      QueryData qrydata)
Saves the view name and its definition.

Method Detail

viewName

public java.lang.String viewName()
Returns the name of the new view.

Returns:
the name of the new view

viewDef

public java.lang.String viewDef()
Returns the definition of the new view.

Returns:
the definition of the new view