- java.lang.Object
-
- swim.db.PageRef
-
- Direct Known Subclasses:
BTreePageRef
,QTreePageRef
,STreePageRef
,UTreePageRef
public abstract class PageRef extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract long
base()
abstract void
buildDiff(Builder<Page,?> builder)
abstract PageRef
committed(int zone, long base, long version)
abstract Cursor<? extends Object>
cursor()
abstract int
diffSize()
abstract PageRef
evacuated(int zone, long version)
abstract Value
fold()
abstract Page
hardPage()
abstract boolean
isCommitted()
abstract boolean
isEmpty()
abstract Page
loadPage(boolean isResident)
abstract Page
loadPage(PageLoader pageLoader)
abstract Page
loadTree(boolean isResident)
abstract Page
loadTree(PageLoader pageLoader)
abstract Page
page()
abstract PageContext
pageContext()
abstract int
pageRefSize()
abstract int
pageSize()
abstract PageType
pageType()
abstract int
post()
abstract Page
setPageValue(Value value, boolean isResident)
StoreSettings
settings()
abstract void
soften(long version)
abstract Page
softPage()
abstract long
softVersion()
abstract long
span()
abstract int
stem()
String
toDebugString()
abstract Value
toValue()
abstract long
treeSize()
abstract PageRef
uncommitted(long version)
abstract void
writeDiff(Output<?> output)
abstract void
writePage(Output<?> output)
abstract void
writePageRef(Output<?> output)
abstract int
zone()
-
-
-
Method Detail
-
pageContext
public abstract PageContext pageContext()
-
settings
public StoreSettings settings()
-
pageType
public abstract PageType pageType()
-
stem
public abstract int stem()
-
post
public abstract int post()
-
zone
public abstract int zone()
-
base
public abstract long base()
-
span
public abstract long span()
-
fold
public abstract Value fold()
-
page
public abstract Page page()
-
hardPage
public abstract Page hardPage()
-
softPage
public abstract Page softPage()
-
softVersion
public abstract long softVersion()
-
isEmpty
public abstract boolean isEmpty()
-
isCommitted
public abstract boolean isCommitted()
-
pageRefSize
public abstract int pageRefSize()
-
pageSize
public abstract int pageSize()
-
diffSize
public abstract int diffSize()
-
treeSize
public abstract long treeSize()
-
toValue
public abstract Value toValue()
-
evacuated
public abstract PageRef evacuated(int zone, long version)
-
committed
public abstract PageRef committed(int zone, long base, long version)
-
uncommitted
public abstract PageRef uncommitted(long version)
-
writePageRef
public abstract void writePageRef(Output<?> output)
-
writePage
public abstract void writePage(Output<?> output)
-
writeDiff
public abstract void writeDiff(Output<?> output)
-
loadPage
public abstract Page loadPage(boolean isResident)
-
loadPage
public abstract Page loadPage(PageLoader pageLoader)
-
loadTree
public abstract Page loadTree(boolean isResident)
-
loadTree
public abstract Page loadTree(PageLoader pageLoader)
-
soften
public abstract void soften(long version)
-
toDebugString
public String toDebugString()
-
-