Class AbstractBlockPackedWriter
  
  
  
    Inheritance
    
    AbstractBlockPackedWriter
      
      
   
  
  
  Assembly: Lucene.Net.dll
  Syntax
  
    public abstract class AbstractBlockPackedWriter
   
  Constructors
  
  AbstractBlockPackedWriter(DataOutput, int)
  
  
  Declaration
  
    protected AbstractBlockPackedWriter(DataOutput @out, int blockSize)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | DataOutput | 
        out | 
         | 
      
      
        | int | 
        blockSize | 
        the number of values of a single block, must be a multiple of 64. 
 | 
      
    
  
  Fields
  m_blocks
  
  
  Declaration
  
    protected byte[] m_blocks
   
  Field Value
  
  m_finished
  
  
  Declaration
  
    protected bool m_finished
   
  Field Value
  
  m_off
  
  
  Declaration
  
  Field Value
  
  m_ord
  
  
  Declaration
  
  Field Value
  
  m_out
  
  
  Declaration
  
    protected DataOutput m_out
   
  Field Value
  
  m_values
  
  
  Declaration
  
    protected readonly long[] m_values
   
  Field Value
  
  Properties
  
  Ord
  Return the number of values which have been added.
 
  
  Declaration
  
    public virtual long Ord { get; }
   
  Property Value
  
  Methods
  
  Add(long)
  
  
  Declaration
  
    public virtual void Add(long l)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | long | 
        l | 
         | 
      
    
  
  
  Finish()
  Flush all buffered data to disk. This instance is not usable anymore
after this method has been called until Reset(DataOutput) has
been called.
 
  
  Declaration
  
    public virtual void Finish()
   
  
  Flush()
  
  
  Declaration
  
    protected abstract void Flush()
   
  
  Reset(DataOutput)
  Reset this writer to wrap out. The block size remains unchanged.
NOTE: When overriding this method, be aware that the constructor of this class calls
a private method and not this virtual method. So if you need to override
the behavior during the initialization, call your own private method from the constructor
with whatever custom behavior you need.
 
  
  Declaration
  
    public virtual void Reset(DataOutput @out)
   
  Parameters
  
  
  WriteValues(int)
  
  
  Declaration
  
    protected void WriteValues(int bitsRequired)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        bitsRequired | 
         |