Package io.ran.schema
Class TableBuilder<CB extends ColumnBuilder,IB extends IndexBuilder<IB>> 
java.lang.Object
io.ran.schema.TableBuilder<CB,IB> 
- All Implemented Interfaces:
- ITableBuilder<CB,- IB> 
- Direct Known Subclasses:
- TableModifier
public abstract class TableBuilder<CB extends ColumnBuilder,IB extends IndexBuilder<IB>> 
extends Object
implements ITableBuilder<CB,IB> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidaddPrimaryKey(KeySet key) voidaddPrimaryKey(Property... id) voidaddPrimaryKey(List<Property> id) protected abstract Stringcreate(TableAction tableAction, ColumnAction columnAction) protected abstract StringcreateIndex(TableAction tableAction, IndexAction indexAction) protected abstract CBgetColumnBuilder(ColumnAction column) protected abstract ColumnTokengetColumnToken(Property<?> property) protected abstract ColumnTokengetColumnToken(Token token) protected abstract IBgetIndexBuilder(IndexAction indexAction) protected abstract IndexTokengetIndexToken(Property<?> property) protected abstract IndexTokengetIndexToken(Token token) protected abstract Stringmodify(TableAction tableAction, ColumnAction columnAction) protected abstract Stringremove(TableAction tableAction, ColumnAction columnAction) protected abstract StringremoveIndex(TableAction tableAction, IndexAction indexAction) 
- 
Constructor Details- 
TableBuilderpublic TableBuilder()
 
- 
- 
Method Details- 
getColumnBuilder
- 
getIndexBuilder
- 
getColumnToken
- 
getIndexToken
- 
getColumnToken
- 
getIndexToken
- 
create
- 
modify
- 
remove
- 
createIndex
- 
removeIndex
- 
addColumn- Specified by:
- addColumnin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addColumn- Specified by:
- addColumnin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addPrimaryKey- Specified by:
- addPrimaryKeyin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addPrimaryKey
- 
addPrimaryKey- Specified by:
- addPrimaryKeyin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addIndex- Specified by:
- addIndexin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addIndex
- 
addIndex- Specified by:
- addIndexin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
- 
addIndex- Specified by:
- addIndexin interface- ITableBuilder<CB extends ColumnBuilder,- IB extends IndexBuilder<IB>> 
 
 
-