Class BlockPackedReaderIterator
Reader for sequences of System.Int64s written with BlockPackedWriter.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
    BlockPackedReaderIterator
  Inherited Members
      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.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class BlockPackedReaderIterator
  Constructors
| Improve this Doc View SourceBlockPackedReaderIterator(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 SourceOrd
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 SourceNext()
Read the next value.
Declaration
public long Next()
  Returns
| Type | Description | 
|---|---|
| System.Int64 | 
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 | 
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 | 
Skip(Int64)
Skip exactly count values. 
Declaration
public void Skip(long count)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | count |