org.elasticsearch.common.lucene.store
Class NullIndexOutput
java.lang.Object
org.apache.lucene.store.DataOutput
org.apache.lucene.store.IndexOutput
org.elasticsearch.common.lucene.store.NullIndexOutput
- All Implemented Interfaces:
- java.io.Closeable
public class NullIndexOutput
- extends org.apache.lucene.store.IndexOutput
Methods inherited from class org.apache.lucene.store.IndexOutput |
setLength |
Methods inherited from class org.apache.lucene.store.DataOutput |
copyBytes, writeBytes, writeChars, writeChars, writeInt, writeLong, writeString, writeStringStringMap, writeVInt, writeVLong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullIndexOutput
public NullIndexOutput()
writeByte
public void writeByte(byte b)
throws java.io.IOException
- Specified by:
writeByte
in class org.apache.lucene.store.DataOutput
- Throws:
java.io.IOException
writeBytes
public void writeBytes(byte[] b,
int offset,
int length)
throws java.io.IOException
- Specified by:
writeBytes
in class org.apache.lucene.store.DataOutput
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in class org.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class org.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException
getFilePointer
public long getFilePointer()
- Specified by:
getFilePointer
in class org.apache.lucene.store.IndexOutput
seek
public void seek(long pos)
throws java.io.IOException
- Specified by:
seek
in class org.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException
length
public long length()
throws java.io.IOException
- Specified by:
length
in class org.apache.lucene.store.IndexOutput
- Throws:
java.io.IOException