Package com.exedio.dsmf
Class Schema
- java.lang.Object
-
- com.exedio.dsmf.Node
-
- com.exedio.dsmf.Schema
-
public final class Schema extends Node
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.exedio.dsmf.Node
Node.Color
-
-
Constructor Summary
Constructors Constructor Description Schema(Dialect dialect, ConnectionProvider connectionProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkUnsupportedConstraints()
void
create()
void
create(StatementListener listener)
void
createConstraints(EnumSet<Constraint.Type> types)
void
createConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
void
drop()
void
drop(StatementListener listener)
void
dropConstraints(EnumSet<Constraint.Type> types)
void
dropConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
Sequence
getSequence(String name)
List<Sequence>
getSequences()
Table
getTable(String name)
List<Table>
getTables()
Sequence
newSequence(String name, Sequence.Type type, long start)
Table
newTable(String name)
void
tearDown()
void
tearDown(StatementListener listener)
void
tearDownConstraints(EnumSet<Constraint.Type> types)
void
tearDownConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
void
verify()
-
Methods inherited from class com.exedio.dsmf.Node
exists, getCumulativeColor, getError, getParticularColor, required
-
-
-
-
Constructor Detail
-
Schema
public Schema(Dialect dialect, ConnectionProvider connectionProvider)
-
-
Method Detail
-
newSequence
public Sequence newSequence(@Nonnull String name, @Nonnull Sequence.Type type, long start)
-
verify
public void verify()
-
create
public void create()
-
create
public void create(StatementListener listener)
-
drop
public void drop()
-
drop
public void drop(StatementListener listener)
-
tearDown
public void tearDown()
-
tearDown
public void tearDown(StatementListener listener)
-
createConstraints
public void createConstraints(EnumSet<Constraint.Type> types)
-
createConstraints
public void createConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
-
dropConstraints
public void dropConstraints(EnumSet<Constraint.Type> types)
-
dropConstraints
public void dropConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
-
tearDownConstraints
public void tearDownConstraints(EnumSet<Constraint.Type> types)
-
tearDownConstraints
public void tearDownConstraints(EnumSet<Constraint.Type> types, StatementListener listener)
-
checkUnsupportedConstraints
public void checkUnsupportedConstraints()
-
-