APIdia Launch Partner
Top Description Fields Constructors Methods
io.github.spannm.jackcess.impl

public Class TableDefinitionImpl

extends TableImpl
Class Inheritance
Imports
java.io.IOException, java.nio.ByteBuffer, java.util.List

A database table definition which does not allow any actual data interaction (read or write).

Note, in an ideal world, TableImpl would extend TableDefinitionImpl. However, since TableDefinitionImpl came later, it was easier to do it this way and avoid a lot of unnecessary code shuffling.

Is not thread-safe.

Field Summary

Inherited from io.github.spannm.jackcess.impl.TableImpl:
MAGIC_TABLE_NUMBERTYPE_SYSTEMTYPE_USER

Constructor Summary

AccessConstructor and Description
protected
TableDefinitionImpl(DatabaseImpl database, ByteBuffer tableBuffer, int pageNumber, String name, int flags)

Method Summary

Modifier and TypeMethod and Description
protected List<? extends Object[]>
addRows(List<? extends Object[]> rows, final boolean isBatchWrite)

Overrides io.github.spannm.jackcess.impl.TableImpl.addRows.

Add multiple rows to this table, only writing to disk after all rows have been written, and every time a data page is filled.

public TableImpl.RowState
Inherited from io.github.spannm.jackcess.impl.TableImpl:
addDataPageRowaddRowaddRowFromMapaddRowsaddRowsFromMapsadjustComplexTypeAutoNumberadjustLongAutoNumberasRowasRowWithRowIdasUpdateRowcleanRowStartcollectUsageMapPagescreateRowdeleteRowdeleteRowdeleteRowdisplaydisplaydupeRowfindFreeRowSpacefindIndexForColumnsfindRowEndfindRowStartgetApproximateOwnedPageCountgetAutoNumberColumnsgetColumngetColumnCountgetColumnsgetCreatedDategetDatabasegetDefaultCursorgetErrorHandlergetForeignKeyIndexgetFormatgetIndexgetIndexCountgetIndexDatasgetIndexesgetLastComplexTypeAutoNumbergetLastLongAutoNumbergetLogicalIndexCountgetLongValueBuffergetMaxColumnCountgetNamegetNextComplexTypeAutoNumbergetNextLongAutoNumbergetNextRowgetOwnedPagesCursorgetPageChannelgetPrimaryKeyIndexgetPropertiesgetPropertyMapsgetRowgetRowCountgetRowEndOffsetgetRowIdgetRowsOnDataPagegetRowSpaceUsagegetRowStartOffsetgetRowValuegetTableDefPageNumbergetUpdatedDatehasColumnisAllowAutoNumberInsertisDeletedRowisHiddenisOverflowRowisSystemisThisTableiteratormutateAddColumnmutateAddIndexmutateAddIndexDatanewCursorpositionAtRowDatapropertiesUpdatedresetrestoreLastComplexTypeAutoNumberrestoreLastLongAutoNumberrowFitsOnDataPagesetAllowAutoNumberInsertsetErrorHandlertoStringupdateRowupdateRowupdateRowupdateRowFromMapupdateValuewithErrorContextwriteNamewriteTableDefinition

Constructor Detail

TableDefinitionImplback to summary
protected TableDefinitionImpl(DatabaseImpl database, ByteBuffer tableBuffer, int pageNumber, String name, int flags) throws IOException

Method Detail

addRowsback to summary
protected List<? extends Object[]> addRows(List<? extends Object[]> rows, final boolean isBatchWrite)

Overrides io.github.spannm.jackcess.impl.TableImpl.addRows.

Doc from io.github.spannm.jackcess.impl.TableImpl.addRows.

Add multiple rows to this table, only writing to disk after all rows have been written, and every time a data page is filled.

Annotations
@Override
createRowStateback to summary
public TableImpl.RowState createRowState()

Overrides io.github.spannm.jackcess.impl.TableImpl.createRowState.

Annotations
@Override