'Build a mapping between column names and types.'

def _CalculateAttributeStorageTypes(self):

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