Implement some encodings.
Read a dictionary encoded int column.