Xindice API
version 1.2m1

org.apache.xindice.core.filer
Class HashFiler.HashPageHeader

java.lang.Object
  extended byorg.apache.xindice.core.filer.Paged.PageHeader
      extended byorg.apache.xindice.core.filer.HashFiler.HashPageHeader
All Implemented Interfaces:
Streamable
Enclosing class:
HashFiler

protected final class HashFiler.HashPageHeader
extends Paged.PageHeader

HashPageHeader


Constructor Summary
HashFiler.HashPageHeader()
           
HashFiler.HashPageHeader(DataInput dis)
           
 
Method Summary
 long getCreated()
          UNIX-time when this record was created
 long getModified()
          UNIX-time when this record was last modified
 long getNextCollision()
          The next page for a Record collision (if any)
 void read(DataInput dis)
          read reads the object state from the stream.
 void setCreated(long created)
          UNIX-time when this record was created
 void setModified(long modified)
          UNIX-time when this record was last modified
 void setNextCollision(long nextCollision)
          The next page for a Record collision (if any)
 void setRecordLen(int recordLen)
          The length of the Record's value
 void write(DataOutput dos)
          write writes the object state to the stream.
 
Methods inherited from class org.apache.xindice.core.filer.Paged.PageHeader
getDataLen, getKeyHash, getKeyLen, getNextPage, getRecordLen, getStatus, isDirty, setDataLen, setDirty, setKey, setKeyHash, setKeyLen, setNextPage, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashFiler.HashPageHeader

public HashFiler.HashPageHeader()

HashFiler.HashPageHeader

public HashFiler.HashPageHeader(DataInput dis)
                         throws IOException
Method Detail

read

public void read(DataInput dis)
          throws IOException
Description copied from interface: Streamable
read reads the object state from the stream.

Specified by:
read in interface Streamable
Overrides:
read in class Paged.PageHeader
Throws:
IOException

write

public void write(DataOutput dos)
           throws IOException
Description copied from interface: Streamable
write writes the object state to the stream.

Specified by:
write in interface Streamable
Overrides:
write in class Paged.PageHeader
Throws:
IOException

setRecordLen

public void setRecordLen(int recordLen)
Description copied from class: Paged.PageHeader
The length of the Record's value

Overrides:
setRecordLen in class Paged.PageHeader

setCreated

public void setCreated(long created)
UNIX-time when this record was created


getCreated

public long getCreated()
UNIX-time when this record was created


setModified

public void setModified(long modified)
UNIX-time when this record was last modified


getModified

public long getModified()
UNIX-time when this record was last modified


setNextCollision

public void setNextCollision(long nextCollision)
The next page for a Record collision (if any)


getNextCollision

public long getNextCollision()
The next page for a Record collision (if any)


Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.