public class NullIndexOutput extends IndexOutput
| Constructor and Description |
|---|
NullIndexOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getChecksum() |
long |
getFilePointer() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int length) |
lengthcopyBytes, writeBytes, writeInt, writeLong, writeShort, writeString, writeStringSet, writeStringStringMap, writeVInt, writeVLong, writeZInt, writeZLongpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class IndexOutputIOExceptionpublic void flush()
throws IOException
flush in class IndexOutputIOExceptionpublic long getFilePointer()
getFilePointer in class IndexOutputpublic void writeByte(byte b)
throws IOException
writeByte in class DataOutputIOExceptionpublic void writeBytes(byte[] b,
int offset,
int length)
throws IOException
writeBytes in class DataOutputIOExceptionpublic long getChecksum()
throws IOException
getChecksum in class IndexOutputIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.