| Package | Description |
|---|---|
| com.healthmarketscience.jackcess | |
| com.healthmarketscience.jackcess.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnBuilder.validate(JetFormat format)
Checks that this column definition is valid.
|
void |
IndexBuilder.validate(java.util.Set<java.lang.String> tableColNames,
JetFormat format) |
| Modifier and Type | Class and Description |
|---|---|
private static class |
JetFormat.Jet12Format |
private static class |
JetFormat.Jet14Format |
private static class |
JetFormat.Jet3Format |
private static class |
JetFormat.Jet4Format |
private static class |
JetFormat.MSISAMFormat |
| Modifier and Type | Field and Description |
|---|---|
private JetFormat |
PageChannel._format
Format of the database in the channel
|
private JetFormat |
DatabaseImpl._format
Format that the containing database is in
|
private JetFormat |
DatabaseImpl.FileFormatDetails._format |
static JetFormat |
JetFormat.VERSION_12
the JetFormat constants for the Jet database version "12"
|
static JetFormat |
JetFormat.VERSION_14
the JetFormat constants for the Jet database version "14"
|
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 |
PageChannel.getFormat() |
JetFormat |
TableCreator.getFormat() |
JetFormat |
CursorImpl.getFormat() |
JetFormat |
IndexImpl.getFormat() |
JetFormat |
UsageMap.getFormat() |
JetFormat |
DatabaseImpl.getFormat() |
JetFormat |
DatabaseImpl.FileFormatDetails.getFormat() |
JetFormat |
IndexData.getFormat() |
JetFormat |
TableImpl.getFormat() |
JetFormat |
ColumnImpl.getFormat() |
static JetFormat |
JetFormat.getFormat(java.nio.channels.FileChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
static int |
TableImpl.addDataPageRow(java.nio.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.
|
private static void |
DatabaseImpl.addFileFormatDetails(Database.FileFormat fileFormat,
java.lang.String emptyFileName,
JetFormat format) |
private static int |
IndexData.calcMaxPageEntrySize(JetFormat format)
Returns the maximum amount of entry data which can be encoded on any
index page.
|
static IndexData |
IndexData.create(TableImpl table,
java.nio.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(java.nio.ByteBuffer buffer,
int rowNum,
JetFormat format) |
static short |
TableImpl.findRowStart(java.nio.ByteBuffer buffer,
int rowNum,
JetFormat format) |
static java.nio.charset.Charset |
DatabaseImpl.getDefaultCharset(JetFormat format)
Returns the default Charset for the given JetFormat.
|
(package private) static byte[] |
DatabaseImpl.getPasswordMask(java.nio.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. |
private static RowImpl |
TableImpl.getRow(JetFormat format,
TableImpl.RowState rowState,
java.nio.ByteBuffer rowBuffer,
java.util.Collection<ColumnImpl> columns,
java.util.Collection<java.lang.String> columnNames)
Reads the row data from the given row buffer.
|
private static java.lang.Object |
TableImpl.getRowColumn(JetFormat format,
java.nio.ByteBuffer rowBuffer,
ColumnImpl column,
TableImpl.RowState rowState,
java.util.Map<ColumnImpl,byte[]> rawVarValues)
Reads the column data from the given row buffer.
|
static int |
TableImpl.getRowEndOffset(int rowNum,
JetFormat format) |
(package private) static int |
TableImpl.getRowsOnDataPage(java.nio.ByteBuffer rowBuffer,
JetFormat format)
Returns the row count for the current page.
|
static int |
TableImpl.getRowSpaceUsage(int rowSize,
JetFormat format) |
static int |
TableImpl.getRowStartOffset(int rowNum,
JetFormat format) |
(package private) static short |
ColumnImpl.readCodePage(java.nio.ByteBuffer buffer,
int offset,
JetFormat format)
Reads the column cade page info from the given buffer, if supported for
this db.
|
(package private) static byte |
ColumnImpl.readExtraFlags(java.nio.ByteBuffer buffer,
int offset,
JetFormat format)
Read the extra flags field for a column definition.
|
(package private) static ColumnImpl.SortOrder |
ColumnImpl.readSortOrder(java.nio.ByteBuffer buffer,
int position,
JetFormat format)
Reads the sort order info from the given buffer from the given position.
|
static boolean |
TableImpl.rowFitsOnDataPage(int rowLength,
java.nio.ByteBuffer dataPage,
JetFormat format)
Returns
true if a row of the given size will fit on the given
data page, false otherwise. |
protected static void |
IndexData.writeDataPage(java.nio.ByteBuffer buffer,
IndexData.DataPage dataPage,
int tdefPageNumber,
JetFormat format)
Writes the data page info to the given buffer.
|
private static void |
ColumnImpl.writeSortOrder(java.nio.ByteBuffer buffer,
ColumnImpl.SortOrder sortOrder,
JetFormat format)
Writes the sort order info to the given buffer at the current position.
|
| Constructor and Description |
|---|
FileFormatDetails(java.lang.String emptyFile,
JetFormat format) |
IndexImpl(java.nio.ByteBuffer tableBuffer,
java.util.List<IndexData> indexDatas,
JetFormat format) |
PageChannel(java.nio.channels.FileChannel channel,
boolean closeChannel,
JetFormat format,
boolean autoSync) |