org.apache.derby.iapi.store.raw
Class PageKey

java.lang.Object
  extended by 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 :


Field Summary
private  ContainerKey container
           
private  long pageNumber
           
 
Constructor Summary
PageKey(ContainerKey key, long pageNumber)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 ContainerKey getContainerId()
           
 long getPageNumber()
           
 int hashCode()
           
static PageKey read(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

container

private final ContainerKey container

pageNumber

private final long pageNumber
Constructor Detail

PageKey

public PageKey(ContainerKey key,
               long pageNumber)
Method Detail

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

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.