public class MockIndexOutputWrapper extends IndexOutput
Constructor and Description |
---|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
String name)
Construct an empty output buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
copyBytes(DataInput input,
long numBytes) |
long |
getChecksum() |
long |
getFilePointer() |
String |
toString() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int offset,
int len) |
getName
writeBytes, writeInt, writeLong, writeMapOfStrings, writeSetOfStrings, writeShort, writeString, writeVInt, writeVLong, writeZInt, writeZLong
public MockIndexOutputWrapper(MockDirectoryWrapper dir, IndexOutput delegate, String name)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class IndexOutput
IOException
public void writeByte(byte b) throws IOException
writeByte
in class DataOutput
IOException
public void writeBytes(byte[] b, int offset, int len) throws IOException
writeBytes
in class DataOutput
IOException
public long getFilePointer()
getFilePointer
in class IndexOutput
public void copyBytes(DataInput input, long numBytes) throws IOException
copyBytes
in class DataOutput
IOException
public long getChecksum() throws IOException
getChecksum
in class IndexOutput
IOException
public String toString()
toString
in class IndexOutput
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.