def __init__(self, frum, select=None, edges=None, groupby=None, window=None, where=None, sort=None, limit=None, format=None, chunk_size=None, destination=None): if isinstance(frum, jx_base.Table): pass else: Expression.__init__(self, frum) self.frum = frum self.select = select self.edges = edges self.groupby = groupby self.window = window self.where = where self.sort = sort self.limit = limit self.format = format self.chunk_size = chunk_size self.destination = destination
def __init__(self, type, expr, frum, miss=None, many=False): Expression.__init__(self, None) if miss not in [None, NULL, FALSE, TRUE, ONE, ZERO]: if frum.lang != miss.lang: Log.error("logic error") self.miss = coalesce( miss, FALSE ) # Expression that will return true/false to indicate missing result self.data_type = type self.expr = expr self.many = many # True if script returns multi-value self.frum = frum # THE ORIGINAL EXPRESSION THAT MADE expr
def __init__(self, op, frum, select=None, edges=None, groupby=None, window=None, where=None, sort=None, limit=None, format=None): if isinstance(frum, jx_base.Table): pass else: Expression.__init__(self, op, frum) self.frum = frum self.select = select self.edges = edges self.groupby = groupby self.window = window self.where = where self.sort = sort self.limit = limit self.format = format
def __init__(self, op, frum, select=None, edges=None, groupby=None, window=None, where=None, sort=None, limit=None, format=None): if isinstance(frum, Container): pass else: Expression.__init__(self, op, frum) self.frum = frum self.select = select self.edges = edges self.groupby = groupby self.window = window self.where = where self.sort = sort self.limit = limit self.format = format