org.galagosearch.core.index
Class ExtentListBuffer
java.lang.Object
org.galagosearch.core.index.ExtentListBuffer
- All Implemented Interfaces:
- IndexElement
public class ExtentListBuffer
- extends java.lang.Object
- implements IndexElement
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
word
public byte[] word
header
public CompressedByteBuffer header
data
public CompressedByteBuffer data
documentExtents
public CompressedByteBuffer documentExtents
ExtentListBuffer
public ExtentListBuffer()
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.