org.galagosearch.core.index
Class ExtentListBuffer

java.lang.Object
  extended by org.galagosearch.core.index.ExtentListBuffer
All Implemented Interfaces:
IndexElement

public class ExtentListBuffer
extends java.lang.Object
implements IndexElement


Field Summary
 CompressedByteBuffer data
           
 CompressedByteBuffer documentExtents
           
 CompressedByteBuffer header
           
 byte[] word
           
 
Constructor Summary
ExtentListBuffer()
           
 
Method Summary
 void addBegin(int begin)
           
 void addDocument(long documentID)
           
 void addEnd(int end)
           
 void close()
           
 long dataLength()
           
 byte[] key()
           
 void setWord(byte[] word)
           
 void write(java.io.OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

word

public byte[] word

header

public CompressedByteBuffer header

data

public CompressedByteBuffer data

documentExtents

public CompressedByteBuffer documentExtents
Constructor Detail

ExtentListBuffer

public ExtentListBuffer()
Method Detail

dataLength

public long dataLength()
Specified by:
dataLength in interface IndexElement

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Specified by:
write in interface IndexElement
Throws:
java.io.IOException

key

public byte[] key()
Specified by:
key in interface IndexElement

setWord

public void setWord(byte[] word)

addDocument

public void addDocument(long documentID)

addBegin

public void addBegin(int begin)

addEnd

public void addEnd(int end)

close

public void close()


Copyright © 2009. All Rights Reserved.