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

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


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)

hashCode

public int hashCode()

toString

public java.lang.String toString()

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.