Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MMapDirectory.MMapIndexInput

    Inheritance
    object
    DataInput
    IndexInput
    ByteBufferIndexInput
    MMapDirectory.MMapIndexInput
    Implements
    IDisposable
    Inherited Members
    ByteBufferIndexInput.ReadByte()
    ByteBufferIndexInput.ReadBytes(byte[], int, int)
    ByteBufferIndexInput.ReadInt16()
    ByteBufferIndexInput.ReadInt32()
    ByteBufferIndexInput.ReadInt64()
    ByteBufferIndexInput.Position
    ByteBufferIndexInput.Seek(long)
    ByteBufferIndexInput.Length
    ByteBufferIndexInput.Clone()
    ByteBufferIndexInput.Slice(string, long, long)
    ByteBufferIndexInput.ToString()
    IndexInput.Dispose()
    DataInput.ReadBytes(byte[], int, int, bool)
    DataInput.ReadVInt32()
    DataInput.ReadVInt64()
    DataInput.ReadString()
    DataInput.ReadStringStringMap()
    DataInput.ReadStringSet()
    DataInput.SkipBytes(long)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class MMapDirectory.MMapIndexInput : ByteBufferIndexInput, IDisposable

    Methods

    Dispose(bool)

    Closes the stream to further operations.

    Declaration
    protected override sealed void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    ByteBufferIndexInput.Dispose(bool)

    FreeBuffer(ByteBuffer)

    Try to unmap the buffer, this method silently fails if no support for that in the runtime. On Windows, this leads to the fact, that mmapped files cannot be modified or deleted.

    Declaration
    protected override void FreeBuffer(ByteBuffer buffer)
    Parameters
    Type Name Description
    ByteBuffer buffer
    Overrides
    ByteBufferIndexInput.FreeBuffer(ByteBuffer)

    Implements

    IDisposable
    Back to top Copyright © 2024 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.