Package com.exedio.dsmf
Class Table
java.lang.Object
com.exedio.dsmf.Node
com.exedio.dsmf.Table
-
Nested Class Summary
Nested classes/interfaces inherited from class com.exedio.dsmf.Node
Node.Color
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
create()
void
create
(StatementListener listener) void
drop()
void
drop
(StatementListener listener) getConstraint
(String constraintName) Returns all constraints of this table, including constraints returned byColumn.getConstraints()
.getName()
Deprecated.Not supported anymore, always returns null.Returns constraints of this table, that are not already returned byColumn.getConstraints()
.void
Deprecated.Is not supported anymore, does nothing.void
void
renameTo
(String newName, StatementListener listener) toString()
Methods inherited from class com.exedio.dsmf.Node
exists, getCumulativeColor, getError, getParticularColor, required
-
Constructor Details
-
Table
Deprecated.UseSchema.newTable(String)
instead -
Table
Deprecated.UseTable(Schema, String)
instead- Parameters:
options
- is ignored
-
-
Method Details
-
getName
-
newColumn
-
newUnique
-
newCheck
-
getColumns
-
getColumn
-
getConstraints
Returns all constraints of this table, including constraints returned byColumn.getConstraints()
.- See Also:
-
getTableConstraints
Returns constraints of this table, that are not already returned byColumn.getConstraints()
.- See Also:
-
getConstraint
-
create
public void create() -
create
-
drop
public void drop() -
drop
-
renameTo
-
renameTo
-
checkUnsupportedConstraints
public void checkUnsupportedConstraints() -
toString
-
makeDefensive
Deprecated.Is not supported anymore, does nothing. -
getOptions
Deprecated.Not supported anymore, always returns null.
-
Schema.newTable(String)
instead