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.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.lucene.store.IndexInput
java.io.IOException
public java.lang.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 java.io.IOException
seek
in class org.apache.lucene.store.IndexInput
java.io.IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public byte readByte() throws java.io.IOException
readByte
in class org.apache.lucene.store.DataInput
java.io.IOException
public void readBytes(byte[] b, int offset, int len) throws java.io.IOException
readBytes
in class org.apache.lucene.store.DataInput
java.io.IOException
public void copyBytes(org.apache.lucene.store.IndexOutput out, long numBytes) throws java.io.IOException
copyBytes
in class org.apache.lucene.store.IndexInput
java.io.IOException
public void readBytes(byte[] b, int offset, int len, boolean useBuffer) throws java.io.IOException
readBytes
in class org.apache.lucene.store.DataInput
java.io.IOException
public int readInt() throws java.io.IOException
readInt
in class org.apache.lucene.store.DataInput
java.io.IOException
public int readVInt() throws java.io.IOException
readVInt
in class org.apache.lucene.store.DataInput
java.io.IOException
public long readLong() throws java.io.IOException
readLong
in class org.apache.lucene.store.DataInput
java.io.IOException
public long readVLong() throws java.io.IOException
readVLong
in class org.apache.lucene.store.DataInput
java.io.IOException
public java.lang.String readString() throws java.io.IOException
readString
in class org.apache.lucene.store.DataInput
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> readStringStringMap() throws java.io.IOException
readStringStringMap
in class org.apache.lucene.store.DataInput
java.io.IOException
public void setModifiedUTF8StringsMode()
setModifiedUTF8StringsMode
in class org.apache.lucene.store.DataInput
public void readChars(char[] buffer, int start, int length) throws java.io.IOException
readChars
in class org.apache.lucene.store.DataInput
java.io.IOException
public void skipChars(int length) throws java.io.IOException
skipChars
in class org.apache.lucene.store.IndexInput
java.io.IOException
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.