Show / Hide Table of Contents

    Class NIOFSDirectory.NIOFSIndexInput

    Reads bytes with the Read(FileStream, ByteBuffer, Int64) extension method for .

    Inheritance
    System.Object
    DataInput
    IndexInput
    BufferedIndexInput
    NIOFSDirectory.NIOFSIndexInput
    Implements
    IDisposable
    Inherited Members
    BufferedIndexInput.BUFFER_SIZE
    BufferedIndexInput.MERGE_BUFFER_SIZE
    BufferedIndexInput.m_buffer
    BufferedIndexInput.ReadByte()
    BufferedIndexInput.SetBufferSize(Int32)
    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.FlushBuffer(IndexOutput, Int64)
    BufferedIndexInput.GetBufferSize(IOContext)
    IndexInput.Dispose()
    IndexInput.ToString()
    DataInput.ReadString()
    DataInput.ReadStringStringMap()
    DataInput.ReadStringSet()
    DataInput.SkipBytes(Int64)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    protected class NIOFSIndexInput : BufferedIndexInput, IDisposable

    Constructors

    | Improve this Doc View Source

    NIOFSIndexInput(String, FileStream, IOContext)

    Declaration
    public NIOFSIndexInput(string resourceDesc, FileStream fc, IOContext context)
    Parameters
    Type Name Description
    System.String resourceDesc
    FileStream fc
    IOContext context
    | Improve this Doc View Source

    NIOFSIndexInput(String, FileStream, Int64, Int64, Int32)

    Declaration
    public NIOFSIndexInput(string resourceDesc, FileStream fc, long off, long length, int bufferSize)
    Parameters
    Type Name Description
    System.String resourceDesc
    FileStream fc
    System.Int64 off
    System.Int64 length
    System.Int32 bufferSize

    Fields

    | Improve this Doc View Source

    m_channel

    the file channel we will read from

    Declaration
    protected readonly FileStream m_channel
    Field Value
    Type Description
    FileStream
    | Improve this Doc View Source

    m_end

    end offset (start+length)

    Declaration
    protected readonly long m_end
    Field Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    m_off

    start offset: non-zero in the slice case

    Declaration
    protected readonly long m_off
    Field Value
    Type Description
    System.Int64

    Properties

    | Improve this Doc View Source

    Length

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

    Methods

    | Improve this Doc View Source

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    BufferedIndexInput.Clone()
    | 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

    NewBuffer(Byte[])

    Declaration
    protected override void NewBuffer(byte[] newBuffer)
    Parameters
    Type Name Description
    System.Byte[] newBuffer
    Overrides
    BufferedIndexInput.NewBuffer(Byte[])
    | Improve this Doc View Source

    ReadInternal(Byte[], Int32, Int32)

    Declaration
    protected override void ReadInternal(byte[] b, int offset, int len)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    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

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