def METHOD_NAME(self) -> Iterator[GraphNode]:
    """
    Create query nodes
    :return:
    """
    yield GraphNode(
        key=self.get_key_self(),
        label=self.NODE_LABEL,
        attributes={
            self.WHERE_CLAUSE: self.where_clause,
            self.LEFT_ARG: self.left_arg,
            self.RIGHT_ARG: self.right_arg,
            self.OPERATOR: self.operator
        }
    )
    if self.yield_relation_nodes:
        for table in self.tables:
            for tbl_item in table.METHOD_NAME():
                yield tbl_item
        if self.query_metadata:
            for query_item in self.query_metadata.METHOD_NAME():
                yield query_item