| Package | Description |
|---|---|
| com.healthmarketscience.jackcess.impl |
| Modifier and Type | Class and Description |
|---|---|
private static class |
IndexData.NodeEntry
A single node entry in an index (points to a sub-page in the index)
|
| Modifier and Type | Field and Description |
|---|---|
protected IndexData.Entry |
IndexData.AddRowPendingChange._addEntry |
private IndexData.Entry |
IndexPageCache.EntryListView._childTailEntry |
private IndexData.Entry |
IndexCursorImpl.IndexPosition._entry |
private IndexData.Entry |
IndexData.Position._entry
the entry at the given index
|
protected IndexData.Entry |
IndexData.AddRowPendingChange._oldEntry |
static IndexData.Entry |
IndexData.FIRST_ENTRY
special entry which is less than any other entry
|
static IndexData.Entry |
IndexData.LAST_ENTRY
special entry which is greater than any other entry
|
| Modifier and Type | Field and Description |
|---|---|
java.util.List<IndexData.Entry> |
IndexPageCache.DataPageExtra._entries
sorted collection of index entries.
|
| Modifier and Type | Method and Description |
|---|---|
protected IndexData.Entry |
IndexData.Entry.asNodeEntry(java.lang.Integer subPageNumber)
Returns a copy of this entry as a node Entry with the given
subPageNumber.
|
private static IndexData.Entry |
IndexData.createSpecialEntry(RowIdImpl rowId)
Creates one of the special index entries.
|
private IndexData.Entry |
IndexData.deleteRowImpl(java.lang.Object[] row,
RowIdImpl rowId) |
IndexData.Entry |
IndexPageCache.EntryListView.demoteTail() |
IndexData.Entry |
IndexPageCache.EntryListView.get(int idx) |
abstract IndexData.Entry |
IndexCursorImpl.IndexDirHandler.getAnotherEntry() |
IndexData.Entry |
IndexCursorImpl.ForwardIndexDirHandler.getAnotherEntry() |
IndexData.Entry |
IndexCursorImpl.ReverseIndexDirHandler.getAnotherEntry() |
IndexData.Entry |
IndexCursorImpl.IndexPosition.getEntry() |
IndexData.Entry |
IndexData.Position.getEntry() |
IndexData.Entry |
IndexData.EntryCursor.getFirstEntry()
Returns the first entry (exclusive) as defined by this cursor.
|
IndexData.Entry |
IndexPageCache.EntryListView.getLast() |
IndexData.Entry |
IndexData.EntryCursor.getLastEntry()
Returns the last entry (exclusive) as defined by this cursor.
|
IndexData.Entry |
IndexData.EntryCursor.getNextEntry() |
IndexData.Entry |
IndexData.EntryCursor.getPreviousEntry() |
private static IndexData.Entry |
IndexData.newEntry(java.nio.ByteBuffer buffer,
int entryLength,
boolean isLeaf)
Returns a new Entry of the correct type for the given data and page type.
|
IndexData.Entry |
IndexPageCache.EntryListView.promoteTail() |
IndexData.Entry |
IndexPageCache.EntryListView.remove(int idx) |
private IndexData.Entry |
IndexData.removeEntry(IndexData.Entry oldEntry)
Removes an entry from the relevant index dataPage, maintaining the order.
|
private IndexData.Entry |
IndexPageCache.removeEntry(IndexPageCache.CacheDataPage cacheDataPage,
int entryIdx)
Removes the entry with the given index from the given page.
|
IndexData.Entry |
IndexPageCache.CacheDataPage.removeEntry(int idx) |
abstract IndexData.Entry |
IndexData.DataPage.removeEntry(int idx) |
IndexData.Entry |
IndexData.RootDataPage.removeEntry(int idx) |
IndexData.Entry |
IndexPageCache.EntryListView.set(int idx,
IndexData.Entry newEntry) |
IndexData.Entry |
IndexPageCache.EntryListView.setChildTailEntry(IndexData.Entry newEntry) |
private IndexData.Entry |
IndexPageCache.updateEntry(IndexPageCache.CacheDataPage cacheDataPage,
int entryIdx,
IndexData.Entry newEntry,
IndexPageCache.UpdateType upType)
Updates the entries on the given page according to the given updateType.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IndexData.Entry> |
IndexPageCache.CacheDataPage.getEntries() |
private java.util.List<IndexData.Entry> |
IndexPageCache.EntryListView.getEntries() |
abstract java.util.List<IndexData.Entry> |
IndexData.DataPage.getEntries() |
java.util.List<IndexData.Entry> |
IndexData.RootDataPage.getEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexPageCache.EntryListView.add(int idx,
IndexData.Entry newEntry) |
private void |
IndexPageCache.addEntry(IndexPageCache.CacheDataPage cacheDataPage,
int entryIdx,
IndexData.Entry newEntry)
Adds the entry to the given page at the given index.
|
void |
IndexPageCache.CacheDataPage.addEntry(int idx,
IndexData.Entry entry) |
abstract void |
IndexData.DataPage.addEntry(int idx,
IndexData.Entry entry) |
void |
IndexData.RootDataPage.addEntry(int idx,
IndexData.Entry entry) |
private void |
IndexData.commitAddRow(IndexData.Entry newEntry,
IndexData.DataPage dataPage,
int idx,
boolean isDupeEntry,
IndexData.Entry oldEntry)
Completes a prepared row addition.
|
int |
IndexData.Entry.compareTo(IndexData.Entry other) |
boolean |
IndexData.Position.equalsEntry(IndexData.Entry entry) |
boolean |
IndexData.Entry.equalsEntryBytes(IndexData.Entry o) |
int |
IndexPageCache.EntryListView.find(IndexData.Entry e) |
IndexPageCache.CacheDataPage |
IndexPageCache.findCacheDataPage(IndexData.Entry e)
Finds the index page on which the given entry does or should reside.
|
private static byte[] |
IndexPageCache.findCommonPrefix(IndexData.Entry e1,
IndexData.Entry e2)
Finds the valid entry prefix given the first/last entries on an index
page.
|
protected IndexData.DataPage |
IndexData.findDataPage(IndexData.Entry entry)
Finds the data page for the given entry.
|
int |
IndexData.DataPage.findEntry(IndexData.Entry entry) |
private IndexData.Position |
IndexData.findEntryPosition(IndexData.Entry entry) |
IndexPageCache.DataPageMain |
IndexPageCache.DataPageMain.getChildPage(IndexData.Entry e) |
private IndexData.PendingChange |
IndexData.prepareAddEntry(IndexData.Entry newEntry,
boolean isNullEntry,
java.lang.Object[] row,
IndexData.AddRowPendingChange change)
Adds an entry to the correct index dataPage, maintaining the order.
|
private void |
IndexPageCache.removeDataPage(IndexPageCache.CacheDataPage parentDataPage,
IndexPageCache.CacheDataPage cacheDataPage,
IndexData.Entry oldLastEntry)
Removes an index page which has become empty.
|
private IndexData.Entry |
IndexData.removeEntry(IndexData.Entry oldEntry)
Removes an entry from the relevant index dataPage, maintaining the order.
|
private void |
IndexPageCache.replaceParentEntry(IndexPageCache.CacheDataPage parentDataPage,
IndexPageCache.CacheDataPage childDataPage,
IndexData.Entry oldEntry)
Replaces the entry for the given child page in the given parent page.
|
protected void |
IndexData.EntryCursor.restorePosition(IndexData.Entry curEntry)
Restores a current position for the cursor (current position becomes
previous position).
|
protected void |
IndexData.EntryCursor.restorePosition(IndexData.Entry curEntry,
IndexData.Entry prevEntry)
Restores a current and previous position for the cursor.
|
private void |
IndexData.rollbackDeletedRow(IndexData.Entry removedEntry)
Undoes a previous row deletion.
|
IndexData.Entry |
IndexPageCache.EntryListView.set(int idx,
IndexData.Entry newEntry) |
void |
IndexData.AddRowPendingChange.setAddRow(IndexData.Entry addEntry,
IndexData.DataPage dataPage,
int idx,
boolean isDupe) |
IndexData.Entry |
IndexPageCache.EntryListView.setChildTailEntry(IndexData.Entry newEntry) |
void |
IndexData.AddRowPendingChange.setOldRow(IndexData.Entry oldEntry) |
private IndexData.Entry |
IndexPageCache.updateEntry(IndexPageCache.CacheDataPage cacheDataPage,
int entryIdx,
IndexData.Entry newEntry,
IndexPageCache.UpdateType upType)
Updates the entries on the given page according to the given updateType.
|
private void |
IndexPageCache.updateParentEntry(IndexPageCache.CacheDataPage parentDataPage,
IndexPageCache.CacheDataPage childDataPage,
IndexData.Entry oldEntry,
IndexData.Entry newEntry,
IndexPageCache.UpdateType upType)
Updates the entry for the given child page in the given parent page
according to the given updateType.
|
private IndexData.Position |
IndexData.EntryCursor.updatePosition(IndexData.Entry entry)
Updates the given position, taking boundaries into account.
|
private void |
IndexPageCache.validateEntryForPage(IndexPageCache.DataPageMain dpMain,
IndexData.Entry entry)
Verifies that the given entry type (node/leaf) is valid for the given
page (node/leaf).
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexPageCache.CacheDataPage.setEntries(java.util.List<IndexData.Entry> entries) |
abstract void |
IndexData.DataPage.setEntries(java.util.List<IndexData.Entry> entries) |
void |
IndexData.RootDataPage.setEntries(java.util.List<IndexData.Entry> entries) |
| Constructor and Description |
|---|
IndexPosition(IndexData.Entry entry) |
Position(IndexData.DataPage dataPage,
int idx,
IndexData.Entry entry,
boolean between) |