unification of meta-attributes handling:
* remove has_format, has_text_encoding, format, text_encoding methods on Entity
* remove rich_text_fields method on EntitySchema
* use instead has_metadata / meta_attribute on EntitySchema (from yams)
and attribute_metadata on Entity
def set_qdata(getrschema, union, noinvariant):
pass
class SQLGenAnnotator(object):
def __init__(self, schema):
self.schema = schema
self.nfdomain = frozenset(eschema.type for eschema in schema.entities()
if not eschema.is_final())
def annotate(self, rqlst):
rqlst.has_text_query = False
rqlst.need_distinct = False