simpledb.parse
Class CreateTableData

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

public class CreateTableData
extends Object

Data for the SQL create table statement.

Author:
Edward Sciore

Constructor Summary
CreateTableData(String tblname, Schema sch)
          Saves the table name and schema.
 
Method Summary
 Schema newSchema()
          Returns the schema of the new table.
 String tableName()
          Returns the name of the new table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateTableData

public CreateTableData(String tblname,
                       Schema sch)
Saves the table name and schema.

Method Detail

tableName

public String tableName()
Returns the name of the new table.

Returns:
the name of the new table

newSchema

public Schema newSchema()
Returns the schema of the new table.

Returns:
the schema of the new table


Copyright © 2011. All Rights Reserved.