com.healthmarketscience.jackcess
Class IndexPageCache.CacheDataPage

java.lang.Object
  extended by com.healthmarketscience.jackcess.IndexPageCache.CacheDataPage
Enclosing class:
IndexPageCache

public static final class IndexPageCache.CacheDataPage
extends Object

IndexPageCache implementation of an Index IndexData.DataPage.


Field Summary
 com.healthmarketscience.jackcess.IndexPageCache.DataPageExtra _extra
           
 com.healthmarketscience.jackcess.IndexPageCache.DataPageMain _main
           
 
Method Summary
 void addEntry(int idx, IndexData.Entry entry)
           
 int getChildTailPageNumber()
           
 List<IndexData.Entry> getEntries()
           
 byte[] getEntryPrefix()
           
 int getNextPageNumber()
           
 int getPageNumber()
           
 int getPrevPageNumber()
           
 int getTotalEntrySize()
           
 boolean isLeaf()
           
 void removeEntry(int idx)
           
 void setChildTailPageNumber(int pageNumber)
           
 void setEntries(List<IndexData.Entry> entries)
           
 void setEntryPrefix(byte[] entryPrefix)
           
 void setLeaf(boolean isLeaf)
           
 void setNextPageNumber(int pageNumber)
           
 void setPrevPageNumber(int pageNumber)
           
 void setTotalEntrySize(int totalSize)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_main

public final com.healthmarketscience.jackcess.IndexPageCache.DataPageMain _main

_extra

public final com.healthmarketscience.jackcess.IndexPageCache.DataPageExtra _extra
Method Detail

getPageNumber

public int getPageNumber()

isLeaf

public boolean isLeaf()

setLeaf

public void setLeaf(boolean isLeaf)

getPrevPageNumber

public int getPrevPageNumber()

setPrevPageNumber

public void setPrevPageNumber(int pageNumber)

getNextPageNumber

public int getNextPageNumber()

setNextPageNumber

public void setNextPageNumber(int pageNumber)

getChildTailPageNumber

public int getChildTailPageNumber()

setChildTailPageNumber

public void setChildTailPageNumber(int pageNumber)

getTotalEntrySize

public int getTotalEntrySize()

setTotalEntrySize

public void setTotalEntrySize(int totalSize)

getEntryPrefix

public byte[] getEntryPrefix()

setEntryPrefix

public void setEntryPrefix(byte[] entryPrefix)

getEntries

public List<IndexData.Entry> getEntries()

setEntries

public void setEntries(List<IndexData.Entry> entries)

addEntry

public void addEntry(int idx,
                     IndexData.Entry entry)
              throws IOException
Throws:
IOException

removeEntry

public void removeEntry(int idx)
                 throws IOException
Throws:
IOException


Copyright © 2005-2013 Health Market Science. All Rights Reserved.