Class MockIndexInputWrapper
Inheritance
System.Object
MockIndexInputWrapper
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.TestFramework.dll
public class MockIndexInputWrapper : IndexInput, IDisposable
Constructors
|
Improve this Doc
View Source
Construct an empty output buffer.
Declaration
public MockIndexInputWrapper(MockDirectoryWrapper dir, string name, IndexInput delegate)
Parameters
Properties
|
Improve this Doc
View Source
Declaration
public override long Length { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Methods
|
Improve this Doc
View Source
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override long GetFilePointer()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override byte ReadByte()
Returns
Type |
Description |
System.Byte |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override void ReadBytes(byte[] b, int offset, int len)
Parameters
Type |
Name |
Description |
System.Byte[] |
b |
|
System.Int32 |
offset |
|
System.Int32 |
len |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override void ReadBytes(byte[] b, int offset, int len, bool useBuffer)
Parameters
Type |
Name |
Description |
System.Byte[] |
b |
|
System.Int32 |
offset |
|
System.Int32 |
len |
|
System.Boolean |
useBuffer |
|
Overrides
|
Improve this Doc
View Source
NOTE: this was readShort() in Lucene
Declaration
public override short ReadInt16()
Returns
Type |
Description |
System.Int16 |
|
Overrides
|
Improve this Doc
View Source
NOTE: this was readInt() in Lucene
Declaration
public override int ReadInt32()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
NOTE: this was readLong() in Lucene
Declaration
public override long ReadInt64()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override string ReadString()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override IDictionary<string, string> ReadStringStringMap()
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
Overrides
|
Improve this Doc
View Source
NOTE: this was readVInt() in Lucene
Declaration
public override int ReadVInt32()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
NOTE: this was readVLong() in Lucene
Declaration
public override long ReadVInt64()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override void Seek(long pos)
Parameters
Type |
Name |
Description |
System.Int64 |
pos |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements
System.IDisposable