Show / Hide Table of Contents

    Class BlockPackedReaderIterator

    Reader for sequences of s written with BlockPackedWriter.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    BlockPackedReaderIterator
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class BlockPackedReaderIterator : object

    Constructors

    | Improve this Doc View Source

    BlockPackedReaderIterator(DataInput, Int32, Int32, Int64)

    Sole constructor.

    Declaration
    public BlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount)
    Parameters
    Type Name Description
    DataInput in
    System.Int32 packedIntsVersion
    System.Int32 blockSize

    The number of values of a block, must be equal to the block size of the BlockPackedWriter which has been used to write the stream.

    System.Int64 valueCount

    Properties

    | Improve this Doc View Source

    Ord

    Return the offset of the next value to read.

    Declaration
    public long Ord { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Next()

    Read the next value.

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

    Next(Int32)

    Read between 1 and count values.

    Declaration
    public Int64sRef Next(int count)
    Parameters
    Type Name Description
    System.Int32 count
    Returns
    Type Description
    Int64sRef
    | Improve this Doc View Source

    Reset(DataInput, Int64)

    Reset the current reader to wrap a stream of valueCount values contained in in. The block size remains unchanged.

    Declaration
    public void Reset(DataInput in, long valueCount)
    Parameters
    Type Name Description
    DataInput in
    System.Int64 valueCount
    | Improve this Doc View Source

    Skip(Int64)

    Skip exactly count values.

    Declaration
    public void Skip(long count)
    Parameters
    Type Name Description
    System.Int64 count

    See Also

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