| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | addRow(Object... row)
Implements io. Adds a single row to this table and writes it to disk. |
| public <M extends Map | addRowFromMap(M row)
Implements io. Calls |
| public List | addRows(List<? extends Object[]> rows)
Implements io. 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 <M extends Map | addRowsFromMaps(List<M> rows)
Implements io. Calls |
| public Object[] | asRow(Map<String, ?> rowMap)
Implements io. Converts a map of columnName -> columnValue to an array of row values appropriate for a call to
|
| public Object[] | asUpdateRow(Map<String, ?> rowMap)
Implements io. Converts a map of columnName -> columnValue to an array of row values appropriate for a call to
|
| public TableImpl. | |
| public Row | |
| public Column | getColumn(String name)
Implements io. Returns the column with the given name. |
| public int | getColumnCount()
Implements io. Returns the number of columns in this table. |
| public List | getColumns()
Implements io. Returns all of the columns in this table (unmodifiable List). |
| public LocalDateTime | getCreatedDate()
Implements io. Returns the created date for this table if available. |
| public Database | getDatabase()
Implements io. Returns the database to which this table belongs. |
| public Cursor | getDefaultCursor()
Implements io. Returns a simple Cursor, initialized on demand and held by this table. |
| public ErrorHandler | getErrorHandler()
Implements io. Gets the currently configured ErrorHandler (always non- |
| public Index | getForeignKeyIndex(Table otherTable)
Implements io. Returns the foreign key index joining this table to the given other table. |
| public Index | getIndex(String name)
Implements io. Returns the index with the given name. |
| public List | getIndexes()
Implements io. Returns all of the Indexes on this table (unmodifiable List). |
| public String | |
| public Row | getNextRow()
Implements io. Returns the next row in this table (Column name -> Column value) (uses the |
| public Index | getPrimaryKeyIndex()
Implements io. Returns the primary key index for this table. |
| public PropertyMap | getProperties()
Implements io. Returns the properties for this table. |
| public int | getRowCount()
Implements io. Returns the number of rows currently stored in this table. |
| public LocalDateTime | getUpdatedDate()
Implements io. Note jackcess does not automatically update the modified date of a Table. |
| public boolean | isAllowAutoNumberInsert()
Implements io. Gets the currently configured auto number insert policy. |
| public boolean | isHidden()
Implements io. Whether or not this table has been marked as hidden. |
| public boolean | isSystem()
Implements io. Whether or not this table is a system (internal) table. |
| public Iterator | iterator()
Implements io. Calls |
| public CursorBuilder | newCursor()
Implements io. Convenience method for constructing a new CursorBuilder for this Table. |
| public void | reset()
Implements io. After calling this method, |
| public void | setAllowAutoNumberInsert(Boolean arg0)
Implements io. Sets the new auto number insert policy for the Table. |
| public void | setErrorHandler(ErrorHandler newErrorHandler)
Implements io. Sets a new ErrorHandler. |
| public String | |
| public Row |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| wrapped | back to summary |
|---|---|
| private final Table wrapped | |
| UcanaccessTable | back to summary |
|---|---|
| public UcanaccessTable(Table table, String tableName) | |
| addRow | back to summary |
|---|---|
| public Object[] addRow(Object... row) throws IOException Implements io. Doc from io. Adds a single row to this table and writes it to disk. The values are expected to be given in the order that the
Columns are listed by the Note, if this table has an auto-number column, the value generated will be put back into the given row array (assuming the given row array is at least as long as the number of Columns in this Table).
| |
| addRowFromMap | back to summary |
|---|---|
| public <M extends Map Implements io. Doc from io. Calls Note, if this table has an auto-number column, the value generated will be put back into the given row map.
| |
| addRows | back to summary |
|---|---|
| public List Implements io. Doc from io. Add multiple rows to this table, only writing to disk after all rows have been written, and every time a data
page is filled. This is much more efficient than calling Note, if this table has an auto-number column, the values written will be put back into the given row arrays (assuming the given row array is at least as long as the number of Columns in this Table).
Most exceptions thrown from this method will be wrapped with a
| |
| addRowsFromMaps | back to summary |
|---|---|
| public <M extends Map Implements io. Doc from io. Calls Note, if this table has an auto-number column, the values generated will be put back into the appropriate row maps.
Most exceptions thrown from this method will be wrapped with a
| |
| asRow | back to summary |
|---|---|
| public Object[] asRow(Map<String, ?> rowMap) Implements io. Doc from io. Converts a map of columnName -> columnValue to an array of row values appropriate for a call to
| |
| asUpdateRow | back to summary |
|---|---|
| public Object[] asUpdateRow(Map<String, ?> rowMap) Implements io. Doc from io. Converts a map of columnName -> columnValue to an array of row values appropriate for a call to
| |
| createRowState | back to summary |
|---|---|
| public TableImpl. | |
| deleteRow | back to summary |
|---|---|
| public Row deleteRow(Row row) throws IOException Implements io. Doc from io. Delete the given row. Provided Row must have previously been returned from this Table.
| |
| getColumn | back to summary |
|---|---|
| public Column getColumn(String name) Implements io. Doc from io. Returns the column with the given name.
| |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() Implements io. Doc from io. Returns the number of columns in this table.
| |
| getColumns | back to summary |
|---|---|
| public List Implements io. Doc from io. Returns all of the columns in this table (unmodifiable List).
| |
| getCreatedDate | back to summary |
|---|---|
| public LocalDateTime getCreatedDate() throws IOException Implements io. Doc from io. Returns the created date for this table if available.
| |
| getDatabase | back to summary |
|---|---|
| public Database getDatabase() Implements io. Doc from io. Returns the database to which this table belongs.
| |
| getDefaultCursor | back to summary |
|---|---|
| public Cursor getDefaultCursor() Implements io. Doc from io. Returns a simple Cursor, initialized on demand and held by this table. This cursor backs the row traversal methods available on the Table interface. For advanced Table traversal and manipulation, use the Cursor directly.
| |
| getErrorHandler | back to summary |
|---|---|
| public ErrorHandler getErrorHandler() Implements io. Doc from io. Gets the currently configured ErrorHandler (always non-
| |
| getForeignKeyIndex | back to summary |
|---|---|
| public Index getForeignKeyIndex(Table otherTable) Implements io. Doc from io. Returns the foreign key index joining this table to the given other table.
| |
| getIndex | back to summary |
|---|---|
| public Index getIndex(String name) Implements io. Doc from io. Returns the index with the given name.
| |
| getIndexes | back to summary |
|---|---|
| public List Implements io. Doc from io. Returns all of the Indexes on this table (unmodifiable List).
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Doc from io. Returns the name of the table.
| |
| getNextRow | back to summary |
|---|---|
| public Row getNextRow() throws IOException Implements io. Doc from io. Returns the next row in this table (Column name -> Column value) (uses the
| |
| getPrimaryKeyIndex | back to summary |
|---|---|
| public Index getPrimaryKeyIndex() Implements io. Doc from io. Returns the primary key index for this table.
| |
| getProperties | back to summary |
|---|---|
| public PropertyMap getProperties() throws IOException Implements io. Doc from io. Returns the properties for this table.
| |
| getRowCount | back to summary |
|---|---|
| public int getRowCount() Implements io. Doc from io. Returns the number of rows currently stored in this table.
| |
| getUpdatedDate | back to summary |
|---|---|
| public LocalDateTime getUpdatedDate() throws IOException Implements io. Doc from io. Note jackcess does not automatically update the modified date of a Table.
| |
| isAllowAutoNumberInsert | back to summary |
|---|---|
| public boolean isAllowAutoNumberInsert() Implements io. Doc from io. Gets the currently configured auto number insert policy.
| |
| isHidden | back to summary |
|---|---|
| public boolean isHidden() Implements io. Doc from io. Whether or not this table has been marked as hidden.
| |
| isSystem | back to summary |
|---|---|
| public boolean isSystem() Implements io. Doc from io. Whether or not this table is a system (internal) table.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements io. Doc from io. Calls
For more advanced iteration, use the
| |
| newCursor | back to summary |
|---|---|
| public CursorBuilder newCursor() Implements io. Doc from io. Convenience method for constructing a new CursorBuilder for this Table.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements io. Doc from io. After calling this method,
| |
| setAllowAutoNumberInsert | back to summary |
|---|---|
| public void setAllowAutoNumberInsert(Boolean arg0) Implements io. Doc from io. Sets the new auto number insert policy for the Table. If
| |
| setErrorHandler | back to summary |
|---|---|
| public void setErrorHandler(ErrorHandler newErrorHandler) Implements io. Doc from io. Sets a new ErrorHandler. If
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| updateRow | back to summary |
|---|---|
| public Row updateRow(Row row) throws IOException Implements io. Doc from io. Update the given row. Provided Row must have previously been returned from this Table.
| |