public class NullIndexOutput extends IndexOutput
Constructor and Description |
---|
NullIndexOutput() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
long |
getChecksum() |
long |
getFilePointer() |
long |
length() |
void |
seek(long pos) |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int length) |
setLength
copyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class IndexOutput
IOException
public void flush() throws IOException
flush
in class IndexOutput
IOException
public long getFilePointer()
getFilePointer
in class IndexOutput
public long length() throws IOException
length
in class IndexOutput
IOException
public void seek(long pos) throws IOException
seek
in class IndexOutput
IOException
public void writeByte(byte b) throws IOException
writeByte
in class DataOutput
IOException
public void writeBytes(byte[] b, int offset, int length) throws IOException
writeBytes
in class DataOutput
IOException
public long getChecksum() throws IOException
getChecksum
in class IndexOutput
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.