org.apache.derby.iapi.store.raw
Class PageKey
java.lang.Object
org.apache.derby.iapi.store.raw.PageKey
public final class PageKey
- extends java.lang.Object
A key that identifies a BasePage. Used as the key for the caching mechanism.
MT - Immutable :
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
container
private final ContainerKey container
pageNumber
private final long pageNumber
PageKey
public PageKey(ContainerKey key,
long pageNumber)
getPageNumber
public long getPageNumber()
getContainerId
public ContainerKey getContainerId()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static PageKey read(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.