Constructor and Description |
---|
MockIndexInputWrapper(MockDirectoryWrapper dir,
String name,
org.apache.lucene.store.IndexInput delegate)
Construct an empty output buffer.
|
Modifier and Type | Method and Description |
---|---|
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() |
String |
readString() |
Map<String,String> |
readStringStringMap() |
int |
readVInt() |
long |
readVLong() |
void |
seek(long pos) |
void |
setModifiedUTF8StringsMode() |
void |
skipChars(int length) |
public MockIndexInputWrapper(MockDirectoryWrapper dir, String name, org.apache.lucene.store.IndexInput delegate)
public void close() throws IOException
close
in interface Closeable
close
in class org.apache.lucene.store.IndexInput
IOException
public Object clone()
clone
in class org.apache.lucene.store.DataInput
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexInput
public void seek(long pos) throws IOException
seek
in class org.apache.lucene.store.IndexInput
IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public byte readByte() throws IOException
readByte
in class org.apache.lucene.store.DataInput
IOException
public void readBytes(byte[] b, int offset, int len) throws IOException
readBytes
in class org.apache.lucene.store.DataInput
IOException
public void copyBytes(org.apache.lucene.store.IndexOutput out, long numBytes) throws IOException
copyBytes
in class org.apache.lucene.store.IndexInput
IOException
public void readBytes(byte[] b, int offset, int len, boolean useBuffer) throws IOException
readBytes
in class org.apache.lucene.store.DataInput
IOException
public int readInt() throws IOException
readInt
in class org.apache.lucene.store.DataInput
IOException
public int readVInt() throws IOException
readVInt
in class org.apache.lucene.store.DataInput
IOException
public long readLong() throws IOException
readLong
in class org.apache.lucene.store.DataInput
IOException
public long readVLong() throws IOException
readVLong
in class org.apache.lucene.store.DataInput
IOException
public String readString() throws IOException
readString
in class org.apache.lucene.store.DataInput
IOException
public Map<String,String> readStringStringMap() throws IOException
readStringStringMap
in class org.apache.lucene.store.DataInput
IOException
public void setModifiedUTF8StringsMode()
setModifiedUTF8StringsMode
in class org.apache.lucene.store.DataInput
public void readChars(char[] buffer, int start, int length) throws IOException
readChars
in class org.apache.lucene.store.DataInput
IOException
public void skipChars(int length) throws IOException
skipChars
in class org.apache.lucene.store.IndexInput
IOException