| java.lang.Object com.healthmarketscience.jackcess.UsageMap
UsageMap | public class UsageMap (Code) | | Describes which database pages a particular table uses
author: Tim McCune |
Inner Class :final public class PageCursor | |
MAP_TYPE_INLINE | final public static byte MAP_TYPE_INLINE(Code) | | Inline map type
|
MAP_TYPE_REFERENCE | final public static byte MAP_TYPE_REFERENCE(Code) | | Reference map type, for maps that are too large to fit inline
|
addPageNumber | public void addPageNumber(int pageNumber) throws IOException(Code) | | Add a page number to this usage map
|
bitIndexToPageNumber | protected int bitIndexToPageNumber(int bitIndex, int invalidPageNumber)(Code) | | |
clearTableAndPages | protected void clearTableAndPages()(Code) | | |
containsPageNumber | public boolean containsPageNumber(int pageNumber)(Code) | | Determines if the given page number is contained in this map.
|
cursor | public PageCursor cursor()(Code) | | |
getEndPage | protected int getEndPage()(Code) | | |
getFirstPageNumber | protected int getFirstPageNumber()(Code) | | |
getLastPageNumber | protected int getLastPageNumber()(Code) | | |
getNextBitIndex | protected int getNextBitIndex(int curIndex)(Code) | | |
getNextPageNumber | protected int getNextPageNumber(int curPage)(Code) | | |
getPrevBitIndex | protected int getPrevBitIndex(int curIndex)(Code) | | |
getPrevPageNumber | protected int getPrevPageNumber(int curPage)(Code) | | |
getRowEnd | protected int getRowEnd()(Code) | | |
getRowStart | protected short getRowStart()(Code) | | |
getStartOffset | protected int getStartOffset()(Code) | | |
getStartPage | protected int getStartPage()(Code) | | |
getTableBuffer | protected ByteBuffer getTableBuffer()(Code) | | |
getTablePageNumber | protected int getTablePageNumber()(Code) | | |
isPageWithinRange | protected boolean isPageWithinRange(int pageNumber)(Code) | | |
pageNumberToBitIndex | protected int pageNumberToBitIndex(int pageNumber)(Code) | | |
processMap | protected void processMap(ByteBuffer buffer, int bufferStartPage)(Code) | | Read in the page numbers in this inline map
|
read | public static UsageMap read(Database database, int pageNum, int rowNum, boolean assumeOutOfRangeBitsOn) throws IOException(Code) | | Parameters: database - database that contains this usage map Parameters: pageNum - Page number that this usage map is contained in Parameters: rowNum - Number of the row on the page that contains this usage map Either an InlineUsageMap or a ReferenceUsageMap, depending onwhich type of map is found |
removePageNumber | public void removePageNumber(int pageNumber) throws IOException(Code) | | Remove a page number from this usage map
|
setPageRange | protected void setPageRange(int newStartPage, int newEndPage)(Code) | | |
setStartOffset | protected void setStartOffset(int startOffset)(Code) | | |
updateMap | protected void updateMap(int absolutePageNumber, int bufferRelativePageNumber, ByteBuffer buffer, boolean add) throws IOException(Code) | | |
|
|