Package com.facebook.presto.sql.tree

Examples of com.facebook.presto.sql.tree.InputReference


    public Expression rewriteQualifiedNameReference(QualifiedNameReference node, Void context, ExpressionTreeRewriter<Void> treeRewriter)
    {
        Integer channel = symbolToChannelMapping.get(Symbol.fromQualifiedName(node.getName()));
        Preconditions.checkArgument(channel != null, "Cannot resolve symbol %s", node.getName());

        return new InputReference(channel);
    }
View Full Code Here


    public Expression rewriteQualifiedNameReference(QualifiedNameReference node, Void context, ExpressionTreeRewriter<Void> treeRewriter)
    {
        Input input = symbolToInputMapping.get(Symbol.fromQualifiedName(node.getName()));
        Preconditions.checkArgument(input != null, "Cannot resolve symbol %s", node.getName());

        return new InputReference(input);
    }
View Full Code Here

        return expression;
    }

    public static InputReference input(IdentityHashMap<Expression, Type> types, int channel, Type type)
    {
        InputReference expression = new InputReference(channel);
        types.put(expression, type);
        return expression;
    }
View Full Code Here

        return expression;
    }

    public static InputReference input(IdentityHashMap<Expression, Type> types, int channel, Type type)
    {
        InputReference expression = new InputReference(new Input(channel));
        types.put(expression, type);
        return expression;
    }
View Full Code Here

TOP

Related Classes of com.facebook.presto.sql.tree.InputReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.