public class MockIndexInputWrapper
extends org.apache.lucene.store.IndexInput
| Constructor and Description |
|---|
MockIndexInputWrapper(MockDirectoryWrapper dir,
java.lang.String name,
org.apache.lucene.store.IndexInput delegate)
Construct an empty output buffer.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
close() |
void |
copyBytes(org.apache.lucene.store.IndexOutput out,
long numBytes) |
long |
getFilePointer() |
long |
length() |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
void |
readBytes(byte[] b,
int offset,
int len,
boolean useBuffer) |
void |
readChars(char[] buffer,
int start,
int length) |
int |
readInt() |
long |
readLong() |
java.lang.String |
readString() |
java.util.Map<java.lang.String,java.lang.String> |
readStringStringMap() |
int |
readVInt() |
long |
readVLong() |
void |
seek(long pos) |
void |
setModifiedUTF8StringsMode() |
void |
skipChars(int length) |
public MockIndexInputWrapper(MockDirectoryWrapper dir, java.lang.String name, org.apache.lucene.store.IndexInput delegate)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic java.lang.Object clone()
clone in class org.apache.lucene.store.DataInputpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long pos)
throws java.io.IOException
seek in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic byte readByte()
throws java.io.IOException
readByte in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws java.io.IOException
readBytes in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void copyBytes(org.apache.lucene.store.IndexOutput out,
long numBytes)
throws java.io.IOException
copyBytes in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int len,
boolean useBuffer)
throws java.io.IOException
readBytes in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic int readVInt()
throws java.io.IOException
readVInt in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic long readVLong()
throws java.io.IOException
readVLong in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic java.lang.String readString()
throws java.io.IOException
readString in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic java.util.Map<java.lang.String,java.lang.String> readStringStringMap()
throws java.io.IOException
readStringStringMap in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void setModifiedUTF8StringsMode()
setModifiedUTF8StringsMode in class org.apache.lucene.store.DataInputpublic void readChars(char[] buffer,
int start,
int length)
throws java.io.IOException
readChars in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void skipChars(int length)
throws java.io.IOException
skipChars in class org.apache.lucene.store.IndexInputjava.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.