com.healthmarketscience.jackcess.impl
Class TableUpdater
java.lang.Object
com.healthmarketscience.jackcess.impl.TableMutator
com.healthmarketscience.jackcess.impl.TableUpdater
public class TableUpdater
- extends TableMutator
Helper class used to maintain state during table mutation.
- Author:
- James Ahlborn
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableUpdater
public TableUpdater(TableImpl table)
getColumn
public ColumnBuilder getColumn()
getIndex
public IndexBuilder getIndex()
getTdefPageNumber
public int getTdefPageNumber()
- Specified by:
getTdefPageNumber in class TableMutator
getColumnState
public com.healthmarketscience.jackcess.impl.TableMutator.ColumnState getColumnState(ColumnBuilder col)
- Specified by:
getColumnState in class TableMutator
getIndexDataState
public com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState getIndexDataState(IndexBuilder idx)
- Specified by:
getIndexDataState in class TableMutator
getForeignKey
public IndexImpl.ForeignKeyReference getForeignKey(IndexBuilder idx)
- Overrides:
getForeignKey in class TableMutator
addColumn
public ColumnImpl addColumn(ColumnBuilder column)
throws IOException
- Throws:
IOException
addIndex
public IndexImpl addIndex(IndexBuilder index)
throws IOException
- Throws:
IOException
withErrorContext
protected String withErrorContext(String msg)
- Specified by:
withErrorContext in class TableMutator
getDatabase
public DatabaseImpl getDatabase()
getFormat
public JetFormat getFormat()
getPageChannel
public PageChannel getPageChannel()
getCharset
public Charset getCharset()
reservePageNumber
public int reservePageNumber()
throws IOException
- Throws:
IOException
calculateNameLength
public static int calculateNameLength(String name)
getDbSortOrder
protected ColumnImpl.SortOrder getDbSortOrder()
Copyright © 2005-2017 Health Market Science. All Rights Reserved.