Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PtBlockMeta {
- //split the byte[] into 4 sections for the different data types
- int baseRowOffset;
- int baseColumnOffset;
- int baseTimestampOffset;
- int baseDataOffset;
- //number of bytes in each section of fixed width VInts
- int rowOffsetWidth;
- int columnOffsetWidth;
- int timestampDeltaWidth;
- int dataOffsetWidth;
- int dataLengthWidth;
- //used to allocate the minimum sized ByteBuffer when reading
- int maxRowLength;
- int maxColumnLength;
- //the timestamp from which the deltas are calculated
- protected long minTimestamp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement