• API

    Show / Hide Table of Contents

    Class FSDirectory.FSIndexOutput

    Writes output with System.IO.FileStream.Write(System.Byte[],System.Int32,System.Int32)

    Inheritance
    System.Object
    DataOutput
    IndexOutput
    BufferedIndexOutput
    FSDirectory.FSIndexOutput
    Implements
    System.IDisposable
    Inherited Members
    BufferedIndexOutput.DEFAULT_BUFFER_SIZE
    BufferedIndexOutput.BufferSize
    IndexOutput.Dispose()
    DataOutput.WriteBytes(Byte[], Int32)
    DataOutput.WriteInt32(Int32)
    DataOutput.WriteInt16(Int16)
    DataOutput.WriteVInt32(Int32)
    DataOutput.WriteInt64(Int64)
    DataOutput.WriteVInt64(Int64)
    DataOutput.WriteString(String)
    DataOutput.CopyBytes(DataInput, Int64)
    DataOutput.WriteStringStringMap(IDictionary<String, String>)
    DataOutput.WriteStringSet(ISet<String>)
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    protected class FSIndexOutput : BufferedIndexOutput, IDisposable

    Constructors

    | Improve this Doc View Source

    FSIndexOutput(FSDirectory, String)

    Declaration
    public FSIndexOutput(FSDirectory parent, string name)
    Parameters
    Type Name Description
    FSDirectory parent
    System.String name

    Properties

    | Improve this Doc View Source

    Checksum

    Declaration
    public override long Checksum { get; }
    Property Value
    Type Description
    System.Int64
    Overrides
    BufferedIndexOutput.Checksum
    | Improve this Doc View Source

    Length

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

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

    Closes this stream to further operations.

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

    Flush()

    Forces any buffered output to be written.

    Declaration
    public override void Flush()
    Overrides
    BufferedIndexOutput.Flush()
    | Improve this Doc View Source

    FlushBuffer(Byte[], Int32, Int32)

    Expert: implements buffer write. Writes bytes at the current position in the output.

    Declaration
    protected override void FlushBuffer(byte[] b, int offset, int size)
    Parameters
    Type Name Description
    System.Byte[] b

    the bytes to write

    System.Int32 offset

    the offset in the byte array

    System.Int32 size
    Overrides
    BufferedIndexOutput.FlushBuffer(Byte[], Int32, Int32)
    | Improve this Doc View Source

    GetFilePointer()

    Declaration
    public override long GetFilePointer()
    Returns
    Type Description
    System.Int64
    Overrides
    BufferedIndexOutput.GetFilePointer()
    | Improve this Doc View Source

    Seek(Int64)

    Random-access methods

    Declaration
    [Obsolete("(4.1) this method will be removed in Lucene 5.0")]
    public override void Seek(long pos)
    Parameters
    Type Name Description
    System.Int64 pos
    Overrides
    BufferedIndexOutput.Seek(Int64)
    | Improve this Doc View Source

    WriteByte(Byte)

    Declaration
    public override void WriteByte(byte b)
    Parameters
    Type Name Description
    System.Byte b
    Overrides
    BufferedIndexOutput.WriteByte(Byte)
    | Improve this Doc View Source

    WriteBytes(Byte[], Int32, Int32)

    Declaration
    public override void WriteBytes(byte[] b, int offset, int length)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    System.Int32 length
    Overrides
    BufferedIndexOutput.WriteBytes(Byte[], Int32, Int32)

    Implements

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