Advertisement
Guest User

PtBlockMeta

a guest
Aug 17th, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1. public class PtBlockMeta {
  2.  
  3.     //split the byte[] into 4 sections for the different data types
  4.     int baseRowOffset;
  5.     int baseColumnOffset;
  6.     int baseTimestampOffset;
  7.     int baseDataOffset;
  8.  
  9.     //number of bytes in each section of fixed width VInts
  10.     int rowOffsetWidth;
  11.     int columnOffsetWidth;
  12.     int timestampDeltaWidth;
  13.     int dataOffsetWidth;
  14.     int dataLengthWidth;
  15.  
  16.     //used to allocate the minimum sized ByteBuffer when reading
  17.     int maxRowLength;
  18.     int maxColumnLength;
  19.    
  20.     //the timestamp from which the deltas are calculated
  21.     protected long minTimestamp;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement