org.apache.derby.iapi.store.raw
Class PageKey
java.lang.Object
org.apache.derby.iapi.store.raw.PageKey
- public 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)
hashCode
public int hashCode()
toString
public java.lang.String toString()
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.