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

public final Class ComplexColumnSupport

extends Object
Class Inheritance
Imports
io.github.spannm.jackcess.Column, .CursorBuilder, .DataType, .IndexCursor, .Row, .Table, io.github.spannm.jackcess.complex.ComplexColumnInfo, .ComplexValue, io.github.spannm.jackcess.impl.complex.AttachmentColumnInfoImpl, .MultiValueColumnInfoImpl, .UnsupportedColumnInfoImpl, .VersionHistoryColumnInfoImpl, io.github.spannm.jackcess.util.StringUtil, java.io.IOException, java.nio.ByteBuffer, java.util.EnumSet, .List, .Set, java.util.logging.Level, .Logger

Utility code for loading complex columns.

Field Summary

Modifier and TypeField and Description
private static final String
ATTACHMENT_TYPE_TABLE

the type table of every attachment complex column

private static final String
private static final String
private static final String
private static final String
private static final String
COMPLEX_TYPE_PREFIX

Prefix of the type table of a multi-value or attachment complex column.

private static final Logger
private static final Set<DataType>
private static final String
VERSION_HISTORY_TYPE_PREFIX

Prefix of the type table of a version history complex column.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ComplexColumnInfo<? extends ComplexValue>
create(ColumnImpl column, ByteBuffer buffer, int offset)

Creates a ComplexColumnInfo for a complex column.

public static boolean
isAttachmentColumn(Table typeObjTable)

public static boolean
isMultiValueColumn(Table typeObjTable)

public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ATTACHMENT_TYPE_TABLEback to summary
private static final String ATTACHMENT_TYPE_TABLE

the type table of every attachment complex column

COL_COLUMN_NAMEback to summary
private static final String COL_COLUMN_NAME
COL_COMPLEX_TYPE_OBJECT_IDback to summary
private static final String COL_COMPLEX_TYPE_OBJECT_ID
COL_FLAT_TABLE_IDback to summary
private static final String COL_FLAT_TABLE_ID
COL_TABLE_IDback to summary
private static final String COL_TABLE_ID
COMPLEX_TYPE_PREFIXback to summary
private static final String COMPLEX_TYPE_PREFIX

Prefix of the type table of a multi-value or attachment complex column. These tables are shared, one per database, and ms access creates them whether or not anything uses them.

LOGGERback to summary
private static final Logger LOGGER
MULTI_VALUE_TYPESback to summary
private static final Set<DataType> MULTI_VALUE_TYPES
VERSION_HISTORY_TYPE_PREFIXback to summary
private static final String VERSION_HISTORY_TYPE_PREFIX

Prefix of the type table of a version history complex column. Unlike the others these are created per column, which is why the name carries a guid.

Constructor Detail

ComplexColumnSupportback to summary
private ComplexColumnSupport()

Method Detail

createback to summary
public static ComplexColumnInfo<? extends ComplexValue> create(ColumnImpl column, ByteBuffer buffer, int offset) throws IOException

Creates a ComplexColumnInfo for a complex column.

isAttachmentColumnback to summary
public static boolean isAttachmentColumn(Table typeObjTable)
isMultiValueColumnback to summary
public static boolean isMultiValueColumn(Table typeObjTable)
isVersionHistoryColumnback to summary
public static boolean isVersionHistoryColumn(Table typeObjTable)