| Modifier and Type | Class and Description |
|---|---|
| private class | UsageMap.
Modified version of an "inline" usage map used for the global usage map. |
| private class | UsageMap.
Modified version of a "reference" usage map used for the global usage map. |
| private abstract class | |
| private class | UsageMap.
Usage map whose map is written inline in the same page. |
| public class | UsageMap.
Utility class to traverse over the pages in the UsageMap. |
| private class | UsageMap.
Usage map whose map is written across one or more entire separate pages of page type USAGE_MAP. |
| Modifier and Type | Field and Description |
|---|---|
| private final DatabaseImpl | database
owning database |
| private int | endPage
Last page that this usage map applies to |
| private UsageMap. | handler
the current handler implementation for reading/writing the specific usage map type. |
| private static final int | INVALID_BIT_INDEX
bit index value for an invalid page number |
| public static final byte | MAP_TYPE_INLINE
Inline map type |
| public static final byte | MAP_TYPE_REFERENCE
Reference map type, for maps that are too large to fit inline |
| private int | modCount
modification count on the usage map, used to keep the cursors in sync |
| pack-priv static final String | MSG_PREFIX_UNRECOGNIZED_MAP
Error message prefix used when map type is unrecognized. |
| private final BitSet | pageNumbers
bits representing page numbers used, offset from startPage |
| private final short | rowStart
Offset of the data page at which the usage map declaration starts |
| private int | startOffset
Offset of the data page at which the usage map data starts |
| private int | startPage
First page that this usage map applies to |
| private final ByteBuffer | tableBuffer
Buffer that contains the usage map table declaration page |
| private final int | tablePageNum
Page number of the map table declaration |
| Access | Constructor and Description |
|---|---|
| private | UsageMap(DatabaseImpl
database that contains this usage map database, ByteBuffer Buffer that contains this map's declaration tableBuffer, int Page number that this usage map is contained in pageNum, short Offset at which the declaration starts in the buffer rowStart)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv int | |
| pack-priv void | |
| public boolean | |
| public UsageMap. | |
| public DatabaseImpl | |
| pack-priv int | |
| pack-priv int | |
| public JetFormat | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| public PageChannel | |
| public int | |
| pack-priv BitSet | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv short | |
| pack-priv int | |
| pack-priv int | |
| pack-priv ByteBuffer | |
| pack-priv int | |
| private void | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv void | |
| private static void | |
| public static UsageMap | Returns: Either an InlineUsageMap or a ReferenceUsageMap, depending on which type of map is founddatabase that contains this usage map database, ByteBuffer buffer which contains the usage map row info buf)Returns either an InlineUsageMap or a ReferenceUsageMap, depending on which type of map is found. |
| pack-priv static UsageMap | Returns: Either an InlineUsageMap or a ReferenceUsageMap, depending on which type of map is founddatabase that contains this usage map database, int Page number that this usage map is contained in pageNum, int Number of the row on the page that contains this usage map rowNum, boolean whether or not we are reading the "global" usage map isGlobal)Returns either an InlineUsageMap or a ReferenceUsageMap, depending on which type of map is found. |
| public void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public String | |
| private static int | |
| pack-priv void | updateMap(int absolutePageNumber, int bufferRelativePageNumber, ByteBuffer buffer, boolean add, boolean force)
|
| pack-priv void |