Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MockIndexInput

    Lucene.Net.Store.IndexInput backed by a byte[] for testing.

    Inheritance
    System.Object
    Lucene.Net.Store.DataInput
    Lucene.Net.Store.IndexInput
    Lucene.Net.Store.BufferedIndexInput
    MockIndexInput
    Implements
    System.IDisposable
    Inherited Members
    Lucene.Net.Store.BufferedIndexInput.BUFFER_SIZE
    Lucene.Net.Store.BufferedIndexInput.MERGE_BUFFER_SIZE
    Lucene.Net.Store.BufferedIndexInput.m_buffer
    Lucene.Net.Store.BufferedIndexInput.ReadByte()
    Lucene.Net.Store.BufferedIndexInput.SetBufferSize(System.Int32)
    Lucene.Net.Store.BufferedIndexInput.NewBuffer(System.Byte[])
    Lucene.Net.Store.BufferedIndexInput.BufferSize
    Lucene.Net.Store.BufferedIndexInput.ReadBytes(System.Byte[], System.Int32, System.Int32)
    Lucene.Net.Store.BufferedIndexInput.ReadBytes(System.Byte[], System.Int32, System.Int32, System.Boolean)
    Lucene.Net.Store.BufferedIndexInput.ReadInt16()
    Lucene.Net.Store.BufferedIndexInput.ReadInt32()
    Lucene.Net.Store.BufferedIndexInput.ReadInt64()
    Lucene.Net.Store.BufferedIndexInput.ReadVInt32()
    Lucene.Net.Store.BufferedIndexInput.ReadVInt64()
    Lucene.Net.Store.BufferedIndexInput.Position
    Lucene.Net.Store.BufferedIndexInput.Seek(System.Int64)
    Lucene.Net.Store.BufferedIndexInput.Clone()
    Lucene.Net.Store.BufferedIndexInput.FlushBuffer(Lucene.Net.Store.IndexOutput, System.Int64)
    Lucene.Net.Store.BufferedIndexInput.GetBufferSize(Lucene.Net.Store.IOContext)
    Lucene.Net.Store.IndexInput.Dispose()
    Lucene.Net.Store.IndexInput.ToString()
    Lucene.Net.Store.DataInput.ReadString()
    Lucene.Net.Store.DataInput.ReadStringStringMap()
    Lucene.Net.Store.DataInput.ReadStringSet()
    Lucene.Net.Store.DataInput.SkipBytes(System.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
    Lucene.Net.Store.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
    Lucene.Net.Store.IndexInput.Dispose(System.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
    Lucene.Net.Store.BufferedIndexInput.ReadInternal(System.Byte[], System.Int32, System.Int32)
    | Improve this Doc View Source

    SeekInternal(Int64)

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

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.