Build a mapping between column names and types.

def _CalculateAttributeStorageTypes(self):
    """Build a mapping between column names and types."""
    self.attribute_types = {}

    for attribute in itervalues(aff4.Attribute.PREDICATES):
      self.attribute_types[attribute.predicate] = (
          attribute.attribute_type.data_store_type)