Show / Hide Table of Contents

    Class RAMOutputStream

    A memory-resident IndexOutput implementation.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    DataOutput
    IndexOutput
    RAMOutputStream
    Implements
    IDisposable
    Inherited Members
    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>)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class RAMOutputStream : IndexOutput, IDisposable

    Constructors

    | Improve this Doc View Source

    RAMOutputStream()

    Construct an empty output buffer.

    Declaration
    public RAMOutputStream()
    | Improve this Doc View Source

    RAMOutputStream(RAMFile)

    Declaration
    public RAMOutputStream(RAMFile f)
    Parameters
    Type Name Description
    RAMFile f

    Properties

    | Improve this Doc View Source

    Checksum

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

    Length

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

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

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

    Flush()

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

    GetFilePointer()

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

    GetSizeInBytes()

    Returns byte usage of all buffers.

    Declaration
    public virtual long GetSizeInBytes()
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    Reset()

    Resets this to an empty file.

    Declaration
    public virtual void Reset()
    | Improve this Doc View Source

    Seek(Int64)

    Declaration
    public override void Seek(long pos)
    Parameters
    Type Name Description
    System.Int64 pos
    Overrides
    IndexOutput.Seek(Int64)
    | Improve this Doc View Source

    WriteByte(Byte)

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

    WriteBytes(Byte[], Int32, Int32)

    Declaration
    public override void WriteBytes(byte[] b, int offset, int len)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    System.Int32 len
    Overrides
    DataOutput.WriteBytes(Byte[], Int32, Int32)
    | Improve this Doc View Source

    WriteTo(DataOutput)

    Copy the current contents of this buffer to the named output.

    Declaration
    public virtual void WriteTo(DataOutput out)
    Parameters
    Type Name Description
    DataOutput out
    | Improve this Doc View Source

    WriteTo(Byte[], Int32)

    Copy the current contents of this buffer to output byte array

    Declaration
    public virtual void WriteTo(byte[] bytes, int offset)
    Parameters
    Type Name Description
    System.Byte[] bytes
    System.Int32 offset

    Implements

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