Show / Hide Table of Contents

    Class SimpleFSDirectory.SimpleFSIndexInput

    Reads bytes with followed by .

    Inheritance
    System.Object
    DataInput
    IndexInput
    BufferedIndexInput
    SimpleFSDirectory.SimpleFSIndexInput
    Implements
    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.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 SimpleFSIndexInput : BufferedIndexInput, IDisposable

    Constructors

    | Improve this Doc View Source

    SimpleFSIndexInput(String, FileStream, IOContext)

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

    SimpleFSIndexInput(String, FileStream, Int64, Int64, Int32)

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

    Fields

    | 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_file

    the file channel we will read from

    Declaration
    protected readonly FileStream m_file
    Field Value
    Type Description
    FileStream
    | 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

    IsClone

    is this instance a clone and hence does not own the file to close it

    Declaration
    public bool IsClone { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsFDValid

    Declaration
    public virtual bool IsFDValid { get; }
    Property Value
    Type Description
    System.Boolean
    | 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

    ReadInternal(Byte[], Int32, Int32)

    IndexInput methods

    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 position)
    Parameters
    Type Name Description
    System.Int64 position
    Overrides
    BufferedIndexInput.SeekInternal(Int64)

    Implements

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