Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BlockPackedReaderIterator

    Reader for sequences of longs written with BlockPackedWriter.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    object
    BlockPackedReaderIterator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class BlockPackedReaderIterator

    Constructors

    BlockPackedReaderIterator(DataInput, int, int, long)

    Sole constructor.

    Declaration
    public BlockPackedReaderIterator(DataInput @in, int packedIntsVersion, int blockSize, long valueCount)
    Parameters
    Type Name Description
    DataInput in
    int packedIntsVersion
    int 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.

    long valueCount
    See Also
    BlockPackedWriter

    Properties

    Ord

    Return the offset of the next value to read.

    Declaration
    public long Ord { get; }
    Property Value
    Type Description
    long
    See Also
    BlockPackedWriter

    Methods

    Next()

    Read the next value.

    Declaration
    public long Next()
    Returns
    Type Description
    long
    See Also
    BlockPackedWriter

    Next(int)

    Read between 1 and count values.

    Declaration
    public Int64sRef Next(int count)
    Parameters
    Type Name Description
    int count
    Returns
    Type Description
    Int64sRef
    See Also
    BlockPackedWriter

    Reset(DataInput, long)

    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
    long valueCount
    See Also
    BlockPackedWriter

    Skip(long)

    Skip exactly count values.

    Declaration
    public void Skip(long count)
    Parameters
    Type Name Description
    long count
    See Also
    BlockPackedWriter

    See Also

    BlockPackedWriter
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.