| Package | Description |
|---|---|
| com.healthmarketscience.jackcess.impl |
| Modifier and Type | Class and Description |
|---|---|
private static class |
CalculatedColumnUtil.CalcBooleanColImpl
Calculated BOOLEAN column implementation.
|
private static class |
CalculatedColumnUtil.CalcColImpl
General calculated column implementation.
|
private static class |
CalculatedColumnUtil.CalcMemoColImpl
Calculated MEMO column implementation.
|
private static class |
CalculatedColumnUtil.CalcNumericColImpl
Calculated NUMERIC column implementation.
|
private static class |
CalculatedColumnUtil.CalcTextColImpl
Calculated TEXT column implementation.
|
(package private) class |
ComplexColumnImpl
ColumnImpl subclass which is used for complex data types.
|
(package private) class |
LongValueColumnImpl
ColumnImpl subclass which is used for long value data types.
|
(package private) class |
MemoColumnImpl
ColumnImpl subclass which is used for Memo data types.
|
(package private) class |
NumericColumnImpl
ColumnImpl subclass which is used for numeric data types.
|
private class |
PropertyMaps.Handler.BooleanPropColumn
Normal boolean columns do not write into the actual row data, so we
need to do a little extra work.
|
private class |
PropertyMaps.Handler.PropColumn
Column adapted to work w/out a Table.
|
(package private) class |
TextColumnImpl
ColumnImpl subclass which is used for Text data types.
|
(package private) class |
UnsupportedColumnImpl
ColumnImpl subclass which is used for unknown/unsupported data types.
|
| Modifier and Type | Field and Description |
|---|---|
private ColumnImpl |
IndexData.ColumnDescriptor._column |
private ColumnImpl |
CursorImpl.ColumnMatchIterator._columnPattern |
private ColumnImpl |
PropertyMaps.Handler._propCol
the system table "property" column
|
private ColumnImpl |
MemoColumnImpl._versionHistoryCol
complex column which tracks the version history for this "append only"
column
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ColumnImpl> |
TableImpl._autoNumColumns
List of autonumber columns in this table, ordered by column number
|
private java.util.List<ColumnImpl> |
FKEnforcer._cols |
private java.util.List<ColumnImpl> |
TableImpl._columns
List of columns in this table, ordered by column number
|
private java.util.Set<ColumnImpl> |
TableImpl._indexColumns
List of columns in this table which are in one or more indexes
|
private java.util.List<ColumnImpl> |
TableImpl._varColumns
List of variable length columns in this table, ordered by offset
|
private static java.util.Comparator<ColumnImpl> |
TableImpl.DISPLAY_ORDER_COMPARATOR
comparator which sorts columns based on their display index
|
private static java.util.Comparator<ColumnImpl> |
TableImpl.VAR_LEN_COLUMN_COMPARATOR
comparator which sorts variable length columns based on their index into
the variable length offset table
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static ColumnImpl |
CalculatedColumnUtil.create(ColumnImpl.InitArgs args)
Creates the appropriate ColumnImpl class for a calculated column and
reads a column definition in from a buffer
|
static ColumnImpl |
ColumnImpl.create(TableImpl table,
java.nio.ByteBuffer buffer,
int offset,
java.lang.String name,
int displayIndex)
Creates the appropriate ColumnImpl class and reads a column definition in
from a buffer
|
ColumnImpl |
IndexData.ColumnDescriptor.getColumn() |
ColumnImpl |
TableImpl.getColumn(java.lang.String name) |
ColumnImpl |
ColumnImpl.getVersionHistoryColumn() |
ColumnImpl |
MemoColumnImpl.getVersionHistoryColumn() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ColumnImpl> |
TableImpl.getColumns() |
| Modifier and Type | Method and Description |
|---|---|
int |
ColumnImpl.compareTo(ColumnImpl other)
Orders Columns by column number.
|
static ComplexColumnInfo<? extends ComplexValue> |
ComplexColumnSupport.create(ColumnImpl column,
java.nio.ByteBuffer buffer,
int offset)
Creates a ComplexColumnInfo for a complex column.
|
boolean |
CursorImpl.currentRowMatches(ColumnImpl columnPattern,
java.lang.Object valuePattern) |
protected boolean |
CursorImpl.currentRowMatchesImpl(ColumnImpl columnPattern,
java.lang.Object valuePattern,
ColumnMatcher columnMatcher) |
private static byte[] |
IndexData.encodeNumberColumnValue(java.lang.Object value,
ColumnImpl column)
Writes the value of the given column type to a byte array and returns it.
|
protected boolean |
CursorImpl.findAnotherRow(ColumnImpl columnPattern,
java.lang.Object valuePattern,
boolean reset,
boolean moveForward,
ColumnMatcher columnMatcher,
java.lang.Object searchInfo) |
protected boolean |
CursorImpl.findAnotherRowImpl(ColumnImpl columnPattern,
java.lang.Object valuePattern,
boolean moveForward,
ColumnMatcher columnMatcher,
java.lang.Object searchInfo)
Moves to the next row (as defined by the cursor) where the given column
has the given value.
|
protected boolean |
IndexCursorImpl.findAnotherRowImpl(ColumnImpl columnPattern,
java.lang.Object valuePattern,
boolean moveForward,
ColumnMatcher columnMatcher,
java.lang.Object searchInfo) |
boolean |
CursorImpl.findFirstRow(ColumnImpl columnPattern,
java.lang.Object valuePattern) |
boolean |
CursorImpl.findNextRow(ColumnImpl columnPattern,
java.lang.Object valuePattern) |
java.lang.Object |
CursorImpl.getCurrentRowValue(ColumnImpl column) |
private static java.lang.Object |
TableImpl.getInputAutoNumberRowValue(boolean enableInsert,
ColumnImpl col,
java.lang.Object[] row)
Optionally get the input autonumber row value for the given column from
the given row if one was provided.
|
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.
|
java.lang.Object |
TableImpl.getRowValue(TableImpl.RowState rowState,
RowIdImpl rowId,
ColumnImpl column)
Reads a single column from the given row.
|
private java.lang.Object |
TableImpl.RowState.handleRowError(ColumnImpl column,
byte[] columnData,
java.lang.Exception error) |
boolean |
NullMask.isNull(ColumnImpl column) |
void |
NullMask.markNotNull(ColumnImpl column)
Indicate that the column with the given number is not
null (or a
boolean value is true). |
private IndexData.ColumnDescriptor |
IndexData.newColumnDescriptor(ColumnImpl col,
byte flags)
Constructs a ColumnDescriptor of the relevant type for the given Column.
|
protected java.lang.Object |
CursorImpl.prepareSearchInfo(ColumnImpl columnPattern,
java.lang.Object valuePattern)
Called before a search commences to allow for search specific data to be
generated (which is cached for re-use by the iterators).
|
protected java.lang.Object |
IndexCursorImpl.prepareSearchInfo(ColumnImpl columnPattern,
java.lang.Object valuePattern) |
void |
CursorImpl.setCurrentRowValue(ColumnImpl column,
java.lang.Object value) |
private void |
IndexData.setUnsupportedReason(java.lang.String reason,
ColumnImpl col) |
void |
ColumnImpl.setVersionHistoryColumn(ColumnImpl versionHistoryCol) |
void |
MemoColumnImpl.setVersionHistoryColumn(ColumnImpl versionHistoryCol) |
| Modifier and Type | Method and Description |
|---|---|
private java.nio.ByteBuffer |
TableImpl.createRow(java.lang.Object[] rowArray,
java.nio.ByteBuffer buffer,
int minRowSize,
java.util.Map<ColumnImpl,byte[]> rawVarValues)
Serialize a row of Objects into a byte buffer.
|
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.
|
void |
IndexData.read(java.nio.ByteBuffer tableBuffer,
java.util.List<ColumnImpl> availableColumns)
Read the rest of the index info from a tableBuffer
|
private static void |
TableImpl.returnRowValues(java.util.Map<java.lang.String,java.lang.Object> row,
java.lang.Object[] rowValues,
java.util.List<ColumnImpl> cols) |
| Constructor and Description |
|---|
BinaryColumnDescriptor(ColumnImpl column,
byte flags) |
BooleanColumnDescriptor(ColumnImpl column,
byte flags) |
ByteColumnDescriptor(ColumnImpl column,
byte flags) |
ColumnDescriptor(ColumnImpl column,
byte flags) |
ColumnMatchIterator(java.util.Collection<java.lang.String> columnNames,
ColumnImpl columnPattern,
java.lang.Object valuePattern,
boolean reset,
boolean moveForward,
ColumnMatcher columnMatcher) |
FixedPointColumnDescriptor(ColumnImpl column,
byte flags) |
FloatingPointColumnDescriptor(ColumnImpl column,
byte flags) |
GenLegTextColumnDescriptor(ColumnImpl column,
byte flags) |
GenTextColumnDescriptor(ColumnImpl column,
byte flags) |
GuidColumnDescriptor(ColumnImpl column,
byte flags) |
IntegerColumnDescriptor(ColumnImpl column,
byte flags) |
LegacyFixedPointColumnDescriptor(ColumnImpl column,
byte flags) |
ReadOnlyColumnDescriptor(ColumnImpl column,
byte flags) |
| Constructor and Description |
|---|
TableImpl(boolean testing,
java.util.List<ColumnImpl> columns)
Only used by unit tests
|