org.compass.needle.coherence
Class CoherenceFileIndexOutput

java.lang.Object
  extended by org.apache.lucene.store.IndexOutput
      extended by org.apache.lucene.store.BufferedIndexOutput
          extended by org.compass.needle.coherence.CoherenceFileIndexOutput

 class CoherenceFileIndexOutput
extends BufferedIndexOutput

Author:
kimchy

Constructor Summary
CoherenceFileIndexOutput(CoherenceDirectory dir, String fileName)
           
 
Method Summary
 void close()
           
 void flushBuffer(byte[] b, int offset, int size)
          output methods:
 long length()
           
 void seek(long pos)
          Random-access methods
 
Methods inherited from class org.apache.lucene.store.BufferedIndexOutput
flush, getFilePointer, writeByte, writeBytes
 
Methods inherited from class org.apache.lucene.store.IndexOutput
copyBytes, writeBytes, writeChars, writeChars, writeInt, writeLong, writeString, writeVInt, writeVLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoherenceFileIndexOutput

public CoherenceFileIndexOutput(CoherenceDirectory dir,
                                String fileName)
                         throws IOException
Throws:
IOException
Method Detail

flushBuffer

public void flushBuffer(byte[] b,
                        int offset,
                        int size)
                 throws IOException
output methods:

Specified by:
flushBuffer in class BufferedIndexOutput
Throws:
IOException

close

public void close()
           throws IOException
Overrides:
close in class BufferedIndexOutput
Throws:
IOException

seek

public void seek(long pos)
          throws IOException
Random-access methods

Overrides:
seek in class BufferedIndexOutput
Throws:
IOException

length

public long length()
            throws IOException
Specified by:
length in class BufferedIndexOutput
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.