public class TableCreator extends TableMutator
Constructor and Description |
---|
TableCreator(DatabaseImpl database) |
Modifier and Type | Method and Description |
---|---|
static int |
calculateNameLength(String name) |
short |
countNonLongVariableLength() |
TableImpl |
createTable(TableBuilder table)
Creates the table in the database.
|
Charset |
getCharset() |
List<ColumnBuilder> |
getColumns() |
com.healthmarketscience.jackcess.impl.TableMutator.ColumnState |
getColumnState(ColumnBuilder col) |
DatabaseImpl |
getDatabase() |
JetFormat |
getFormat() |
int |
getIndexCount() |
com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState |
getIndexDataState(IndexBuilder idx) |
List<com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState> |
getIndexDataStates() |
List<IndexBuilder> |
getIndexes() |
int |
getLogicalIndexCount() |
List<ColumnBuilder> |
getLongValueColumns() |
String |
getName() |
PageChannel |
getPageChannel() |
int |
getTdefPageNumber() |
int |
getUmapPageNumber() |
boolean |
hasIndexes() |
int |
reservePageNumber() |
getColumnOffsets, getForeignKey, setColumnOffsets
public TableCreator(DatabaseImpl database)
public String getName()
public int getTdefPageNumber()
getTdefPageNumber
in class TableMutator
public int getUmapPageNumber()
public List<ColumnBuilder> getColumns()
public List<IndexBuilder> getIndexes()
public boolean hasIndexes()
public int getIndexCount()
public int getLogicalIndexCount()
public com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState getIndexDataState(IndexBuilder idx)
getIndexDataState
in class TableMutator
public List<com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState> getIndexDataStates()
public com.healthmarketscience.jackcess.impl.TableMutator.ColumnState getColumnState(ColumnBuilder col)
getColumnState
in class TableMutator
public List<ColumnBuilder> getLongValueColumns()
public short countNonLongVariableLength()
public TableImpl createTable(TableBuilder table) throws IOException
IOException
public DatabaseImpl getDatabase()
public JetFormat getFormat()
public PageChannel getPageChannel()
public Charset getCharset()
public int reservePageNumber() throws IOException
IOException
public static int calculateNameLength(String name)
Copyright © 2005–2024 OpenHMS. All rights reserved.