Show / Hide Table of Contents

    Class MockIndexInputWrapper

    Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been disposed.

    Inheritance
    System.Object
    MockIndexInputWrapper
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockIndexInputWrapper : IndexInput

    Constructors

    | Improve this Doc View Source

    MockIndexInputWrapper(MockDirectoryWrapper, String, IndexInput)

    Construct an empty output buffer.

    Declaration
    public MockIndexInputWrapper(MockDirectoryWrapper dir, string name, IndexInput delegate)
    Parameters
    Type Name Description
    MockDirectoryWrapper dir
    System.String name
    IndexInput delegate

    Properties

    | Improve this Doc View Source

    Length

    Declaration
    public override long Length { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    GetFilePointer()

    Declaration
    public override long GetFilePointer()
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    ReadByte()

    Declaration
    public override byte ReadByte()
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    ReadBytes(Byte[], Int32, Int32)

    Declaration
    public override void ReadBytes(byte[] b, int offset, int len)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    System.Int32 len
    | Improve this Doc View Source

    ReadBytes(Byte[], Int32, Int32, Boolean)

    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
    | Improve this Doc View Source

    ReadInt16()

    NOTE: this was readShort() in Lucene

    Declaration
    public override short ReadInt16()
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    ReadInt32()

    NOTE: this was readInt() in Lucene

    Declaration
    public override int ReadInt32()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ReadInt64()

    NOTE: this was readLong() in Lucene

    Declaration
    public override long ReadInt64()
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    ReadString()

    Declaration
    public override string ReadString()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ReadStringStringMap()

    Declaration
    public override IDictionary<string, string> ReadStringStringMap()
    Returns
    Type Description
    IDictionary<System.String, System.String>
    | Improve this Doc View Source

    ReadVInt32()

    NOTE: this was readVInt() in Lucene

    Declaration
    public override int ReadVInt32()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ReadVInt64()

    NOTE: this was readVLong() in Lucene

    Declaration
    public override long ReadVInt64()
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    Seek(Int64)

    Declaration
    public override void Seek(long pos)
    Parameters
    Type Name Description
    System.Int64 pos
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)