org.apache.solr.store.hdfs
Class NullIndexOutput

java.lang.Object
  extended by org.apache.lucene.store.DataOutput
      extended by org.apache.lucene.store.IndexOutput
          extended by org.apache.solr.store.hdfs.NullIndexOutput
All Implemented Interfaces:
Closeable

public class NullIndexOutput
extends IndexOutput


Constructor Summary
NullIndexOutput()
           
 
Method Summary
 void close()
           
 void flush()
           
 long getFilePointer()
           
 long length()
           
 void seek(long pos)
           
 void writeByte(byte b)
           
 void writeBytes(byte[] b, int offset, int length)
           
 
Methods inherited from class org.apache.lucene.store.IndexOutput
setLength
 
Methods inherited from class org.apache.lucene.store.DataOutput
copyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullIndexOutput

public NullIndexOutput()
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class IndexOutput
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in class IndexOutput
Throws:
IOException

getFilePointer

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

length

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

seek

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

writeByte

public void writeByte(byte b)
               throws IOException
Specified by:
writeByte in class DataOutput
Throws:
IOException

writeBytes

public void writeBytes(byte[] b,
                       int offset,
                       int length)
                throws IOException
Specified by:
writeBytes in class DataOutput
Throws:
IOException


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.