com.healthmarketscience.jackcess.impl
Class TableMutator

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.TableMutator
Direct Known Subclasses:
TableCreator, TableUpdater

public abstract class TableMutator
extends Object

Common helper class used to maintain state during table mutation.

Author:
James Ahlborn
Usage:
Advanced: This class is for advanced/internal use.

Method Summary
static int calculateNameLength(String name)
           
 Charset getCharset()
           
 com.healthmarketscience.jackcess.impl.TableMutator.ColumnOffsets getColumnOffsets()
           
abstract  com.healthmarketscience.jackcess.impl.TableMutator.ColumnState getColumnState(ColumnBuilder col)
           
 DatabaseImpl getDatabase()
           
 IndexImpl.ForeignKeyReference getForeignKey(IndexBuilder idx)
           
 JetFormat getFormat()
           
abstract  com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState getIndexDataState(IndexBuilder idx)
           
 PageChannel getPageChannel()
           
abstract  int getTdefPageNumber()
           
 int reservePageNumber()
           
 void setColumnOffsets(int fixedOffset, int varOffset, int longVarOffset)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setColumnOffsets

public void setColumnOffsets(int fixedOffset,
                             int varOffset,
                             int longVarOffset)

getColumnOffsets

public com.healthmarketscience.jackcess.impl.TableMutator.ColumnOffsets getColumnOffsets()

getForeignKey

public IndexImpl.ForeignKeyReference getForeignKey(IndexBuilder idx)

getTdefPageNumber

public abstract int getTdefPageNumber()

getColumnState

public abstract com.healthmarketscience.jackcess.impl.TableMutator.ColumnState getColumnState(ColumnBuilder col)

getIndexDataState

public abstract com.healthmarketscience.jackcess.impl.TableMutator.IndexDataState getIndexDataState(IndexBuilder idx)

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)


Copyright © 2005–2017 Health Market Science. All rights reserved.