|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectparser.SimpleNode
parser.AST_CreateTable
public class AST_CreateTable
AST node for CREATE TABLE statements.
Field Summary | |
---|---|
protected java.lang.String |
fileName
Name of the table to create. |
Fields inherited from class parser.SimpleNode |
---|
children, id, parent, parser |
Fields inherited from interface global.GlobalConst |
---|
EMPTY_SLOT, FIRST_PAGEID, INVALID_PAGEID, MAX_COLSIZE, MAX_TUPSIZE, NAME_MAXLEN, PAGE_SIZE, PIN_DISKIO, PIN_MEMCPY, UNPIN_CLEAN, UNPIN_DIRTY |
Constructor Summary | |
---|---|
AST_CreateTable(int id)
|
|
AST_CreateTable(MiniSql p,
int id)
|
Method Summary | |
---|---|
java.lang.String |
getFileName()
Gets the name of the table to create. |
Schema |
getSchema()
Gets the parsed schema for the table to create. |
Methods inherited from class parser.SimpleNode |
---|
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fileName
Constructor Detail |
---|
public AST_CreateTable(int id)
public AST_CreateTable(MiniSql p, int id)
Method Detail |
---|
public java.lang.String getFileName()
public Schema getSchema() throws ParseException
ParseException
- if duplicate column names or invalid lengths
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |