Show / Hide Table of Contents

    Class MockIndexInput

    IndexInput backed by a byte[] for testing.

    Inheritance
    System.Object
    DataInput
    IndexInput
    BufferedIndexInput
    MockIndexInput
    Implements
    System.IDisposable
    Inherited Members
    BufferedIndexInput.BUFFER_SIZE
    BufferedIndexInput.MERGE_BUFFER_SIZE
    BufferedIndexInput.m_buffer
    BufferedIndexInput.ReadByte()
    BufferedIndexInput.SetBufferSize(Int32)
    BufferedIndexInput.NewBuffer(Byte[])
    BufferedIndexInput.BufferSize
    BufferedIndexInput.ReadBytes(Byte[], Int32, Int32)
    BufferedIndexInput.ReadBytes(Byte[], Int32, Int32, Boolean)
    BufferedIndexInput.ReadInt16()
    BufferedIndexInput.ReadInt32()
    BufferedIndexInput.ReadInt64()
    BufferedIndexInput.ReadVInt32()
    BufferedIndexInput.ReadVInt64()
    BufferedIndexInput.GetFilePointer()
    BufferedIndexInput.Seek(Int64)
    BufferedIndexInput.Clone()
    BufferedIndexInput.FlushBuffer(IndexOutput, Int64)
    BufferedIndexInput.GetBufferSize(IOContext)
    IndexInput.Dispose()
    IndexInput.ToString()
    DataInput.ReadString()
    DataInput.ReadStringStringMap()
    DataInput.ReadStringSet()
    DataInput.SkipBytes(Int64)
    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)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class MockIndexInput : BufferedIndexInput, IDisposable

    Constructors

    | Improve this Doc View Source

    MockIndexInput(Byte[])

    Declaration
    public MockIndexInput(byte[] bytes)
    Parameters
    Type Name Description
    System.Byte[] bytes

    Properties

    | Improve this Doc View Source

    Length

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

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

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

    ReadInternal(Byte[], Int32, Int32)

    Declaration
    protected override void ReadInternal(byte[] dest, int destOffset, int len)
    Parameters
    Type Name Description
    System.Byte[] dest
    System.Int32 destOffset
    System.Int32 len
    Overrides
    BufferedIndexInput.ReadInternal(Byte[], Int32, Int32)
    | Improve this Doc View Source

    SeekInternal(Int64)

    Declaration
    protected override void SeekInternal(long pos)
    Parameters
    Type Name Description
    System.Int64 pos
    Overrides
    BufferedIndexInput.SeekInternal(Int64)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)