org.compass.needle.terracotta
Class TerracottaIndexInput

java.lang.Object
  extended by org.apache.lucene.store.IndexInput
      extended by org.compass.needle.terracotta.TerracottaIndexInput
All Implemented Interfaces:
Cloneable

public class TerracottaIndexInput
extends IndexInput
implements Cloneable

Author:
kimchy

Field Summary
(package private)  int bufferSize
           
 
Constructor Summary
TerracottaIndexInput(TerracottaFile f, int bufferSize)
           
 
Method Summary
 void close()
           
 long getFilePointer()
           
 long length()
           
 byte readByte()
           
 void readBytes(byte[] b, int offset, int len)
           
 void seek(long pos)
           
 
Methods inherited from class org.apache.lucene.store.IndexInput
clone, readBytes, readChars, readInt, readLong, readString, readVInt, readVLong, setModifiedUTF8StringsMode, skipChars
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bufferSize

final int bufferSize
Constructor Detail

TerracottaIndexInput

TerracottaIndexInput(TerracottaFile f,
                     int bufferSize)
               throws IOException
Throws:
IOException
Method Detail

close

public void close()
Specified by:
close in class IndexInput

length

public long length()
Specified by:
length in class IndexInput

readByte

public byte readByte()
              throws IOException
Specified by:
readByte in class IndexInput
Throws:
IOException

readBytes

public void readBytes(byte[] b,
                      int offset,
                      int len)
               throws IOException
Specified by:
readBytes in class IndexInput
Throws:
IOException

getFilePointer

public long getFilePointer()
Specified by:
getFilePointer in class IndexInput

seek

public void seek(long pos)
          throws IOException
Specified by:
seek in class IndexInput
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.