Class GroupVIntWriter


  • public class GroupVIntWriter
    extends java.lang.Object
    Encode integers using group-varint. It uses VInt to encode tail values that are not enough for a group
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int byteOffset  
      private byte[] bytes  
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupVIntWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int encodeValue​(int v)  
      void writeValues​(DataOutput out, long[] values, int limit)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bytes

        private byte[] bytes
      • byteOffset

        private int byteOffset
    • Constructor Detail

      • GroupVIntWriter

        public GroupVIntWriter()
    • Method Detail

      • encodeValue

        private int encodeValue​(int v)
      • writeValues

        public void writeValues​(DataOutput out,
                                long[] values,
                                int limit)
                         throws java.io.IOException
        Throws:
        java.io.IOException