vishnu.parser.statements
Class CreateTableStatement
java.lang.Object
vishnu.parser.statements.CreateTableStatement
- All Implemented Interfaces:
- SQLStatement
public class CreateTableStatement
- extends java.lang.Object
- implements SQLStatement
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CreateTableStatement
public CreateTableStatement(java.lang.String name,
java.util.Collection<ColumnSignature> columns,
java.util.Collection<java.lang.String> pks)
- Parameters:
name
- es el nombre de la tabla a crear.columns
- es la lista de signaturas de columna a definir.pks
- es la lista de nombres de columnas que seran clave primaria.
getName
public java.lang.String getName()
- devuelve el nombre de la tabla
getTableSignature
public TableSignature getTableSignature()
- devuelve la signatura de tabla a crear
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPerformer
public StatementPerformer getPerformer()
- Specified by:
getPerformer
in interface SQLStatement
isQuery
public boolean isQuery()
- Specified by:
isQuery
in interface SQLStatement