| Package | Description |
|---|---|
| com.healthmarketscience.jackcess | |
| com.healthmarketscience.jackcess.impl |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<IndexBuilder> |
TableBuilder._indexes
indexes for the new table
|
| Modifier and Type | Method and Description |
|---|---|
IndexBuilder |
IndexBuilder.addColumns(boolean ascending,
java.lang.String... names)
Adds the columns with the given ordering to the index.
|
IndexBuilder |
IndexBuilder.addColumns(java.lang.String... names)
Adds the columns with ASCENDING ordering to the index.
|
IndexBuilder |
IndexBuilder.setIgnoreNulls()
Sets this index to ignore null values.
|
IndexBuilder |
IndexBuilder.setName(java.lang.String name)
Sets the name of the index.
|
IndexBuilder |
IndexBuilder.setPrimaryKey()
Sets this index to be a primary key index (additionally sets the index as
unique).
|
IndexBuilder |
IndexBuilder.setUnique()
Sets this index to enforce uniqueness.
|
| Modifier and Type | Method and Description |
|---|---|
TableBuilder |
TableBuilder.addIndex(IndexBuilder index)
Adds an IndexBuilder to the new table.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<IndexBuilder> |
TableCreator._indexes |
private java.util.Map<IndexBuilder,TableCreator.IndexState> |
TableCreator._indexStates |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IndexBuilder> |
TableCreator.getIndexes() |
| Modifier and Type | Method and Description |
|---|---|
TableCreator.IndexState |
TableCreator.getIndexState(IndexBuilder idx) |
| Modifier and Type | Method and Description |
|---|---|
void |
DatabaseImpl.createTable(java.lang.String name,
java.util.List<ColumnBuilder> columns,
java.util.List<IndexBuilder> indexes)
Create a new table in this database
|
| Constructor and Description |
|---|
TableCreator(DatabaseImpl database,
java.lang.String name,
java.util.List<ColumnBuilder> columns,
java.util.List<IndexBuilder> indexes) |