Package | Description |
---|---|
com.healthmarketscience.jackcess | |
com.healthmarketscience.jackcess.impl |
Modifier and Type | Method and Description |
---|---|
int |
DataType.fromUnitSize(int unitSize,
JetFormat format) |
int |
DataType.getUnitSize(JetFormat format) |
int |
DataType.toUnitSize(int size,
JetFormat format) |
void |
ColumnBuilder.validate(JetFormat format)
Checks that this column definition is valid.
|
void |
IndexBuilder.validate(Set<String> tableColNames,
JetFormat format)
Checks that this index definition is valid.
|
Modifier and Type | Field and Description |
---|---|
static JetFormat |
JetFormat.VERSION_12
the JetFormat constants for the Jet database version "12.0"
|
static JetFormat |
JetFormat.VERSION_14
the JetFormat constants for the Jet database version "14.0"
|
static JetFormat |
JetFormat.VERSION_16
the JetFormat constants for the Jet database version "16.0"
|
static JetFormat |
JetFormat.VERSION_17
the JetFormat constants for the Jet database version "17.0"
|
static JetFormat |
JetFormat.VERSION_3
the JetFormat constants for the Jet database version "3"
|
static JetFormat |
JetFormat.VERSION_4
the JetFormat constants for the Jet database version "4"
|
static JetFormat |
JetFormat.VERSION_MSISAM
the JetFormat constants for the MSISAM database
|
Modifier and Type | Method and Description |
---|---|
JetFormat |
TableImpl.getFormat() |
JetFormat |
CursorImpl.getFormat() |
JetFormat |
IndexData.getFormat() |
JetFormat |
IndexImpl.getFormat() |
JetFormat |
ColumnImpl.getFormat() |
JetFormat |
UsageMap.getFormat() |
JetFormat |
DatabaseImpl.getFormat() |
JetFormat |
DatabaseImpl.FileFormatDetails.getFormat() |
JetFormat |
PageChannel.getFormat() |
static JetFormat |
JetFormat.getFormat(FileChannel channel) |
Modifier and Type | Method and Description |
---|---|
static int |
TableImpl.addDataPageRow(ByteBuffer dataPage,
int rowSize,
JetFormat format,
int rowFlags)
Updates free space and row info for a new row of the given size in the
given data page.
|
static IndexData |
IndexData.create(TableImpl table,
ByteBuffer tableBuffer,
int number,
JetFormat format)
Creates an IndexData appropriate for the given table, using information
from the given table definition buffer.
|
static short |
TableImpl.findRowEnd(ByteBuffer buffer,
int rowNum,
JetFormat format) |
static short |
TableImpl.findRowStart(ByteBuffer buffer,
int rowNum,
JetFormat format) |
static Charset |
DatabaseImpl.getDefaultCharset(JetFormat format)
Returns the default Charset for the given JetFormat.
|
static byte[] |
DatabaseImpl.getPasswordMask(ByteBuffer buffer,
JetFormat format)
Returns the password mask retrieved from the given header page and
format, or
null if this format does not use a password mask. |
static int |
TableImpl.getRowEndOffset(int rowNum,
JetFormat format) |
static int |
TableImpl.getRowSpaceUsage(int rowSize,
JetFormat format) |
static int |
TableImpl.getRowStartOffset(int rowNum,
JetFormat format) |
static boolean |
TableImpl.rowFitsOnDataPage(int rowLength,
ByteBuffer dataPage,
JetFormat format)
Returns
true if a row of the given size will fit on the given
data page, false otherwise. |
Constructor and Description |
---|
PageChannel(FileChannel channel,
boolean closeChannel,
JetFormat format,
boolean autoSync) |
Copyright © 2005–2024 OpenHMS. All rights reserved.