public class TableUpdater extends TableMutator
Constructor and Description |
---|
TableUpdater(TableImpl table) |
Modifier and Type | Method and Description |
---|---|
ColumnImpl |
addColumn(ColumnBuilder column) |
IndexImpl |
addIndex(IndexBuilder index) |
static int |
calculateNameLength(String name) |
Charset |
getCharset() |
ColumnBuilder |
getColumn() |
com.healthmarketscience.jackcess.impl.TableMutator.ColumnState |
getColumnState(ColumnBuilder col) |
DatabaseImpl |
getDatabase() |
protected ColumnImpl.SortOrder |
getDbSortOrder() |
IndexImpl.ForeignKeyReference |
getForeignKey(IndexBuilder idx) |
JetFormat |
getFormat() |
IndexBuilder |
getIndex() |
com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState |
getIndexDataState(IndexBuilder idx) |
PageChannel |
getPageChannel() |
int |
getTdefPageNumber() |
int |
reservePageNumber() |
protected String |
withErrorContext(String msg) |
getColumnOffsets, setColumnOffsets, validateAutoNumberColumn, validateColumn, validateIndex
public TableUpdater(TableImpl table)
public ColumnBuilder getColumn()
public IndexBuilder getIndex()
public int getTdefPageNumber()
getTdefPageNumber
in class TableMutator
public com.healthmarketscience.jackcess.impl.TableMutator.ColumnState getColumnState(ColumnBuilder col)
getColumnState
in class TableMutator
public com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState getIndexDataState(IndexBuilder idx)
getIndexDataState
in class TableMutator
public IndexImpl.ForeignKeyReference getForeignKey(IndexBuilder idx)
getForeignKey
in class TableMutator
public ColumnImpl addColumn(ColumnBuilder column) throws IOException
IOException
public IndexImpl addIndex(IndexBuilder index) throws IOException
IOException
protected String withErrorContext(String msg)
withErrorContext
in class TableMutator
public DatabaseImpl getDatabase()
public JetFormat getFormat()
public PageChannel getPageChannel()
public Charset getCharset()
public int reservePageNumber() throws IOException
IOException
public static int calculateNameLength(String name)
protected ColumnImpl.SortOrder getDbSortOrder()
Copyright © 2005–2018. All rights reserved.