HeapFileEncoder reads a comma delimited text file or accepts
an array of tuples and converts it to
pages of binary data in the appropriate format for simpledb heap pages
Pages are padded out to a specified length, and written consecutive in a
The format of the log file is as follows:
The first long integer of the file represents the offset of the
last written checkpoint, or -1 if there are no checkpoints
All additional data in the log consists of log records.
Return a representation of this page id object as a collection of
integers (used for logging)
This class MUST have a constructor that accepts n integer parameters,
where n is the number of integers returned in the array from serialize.