Examples of FunctionIdentifier


Examples of edu.uci.ics.hyracks.algebricks.core.algebra.functions.FunctionIdentifier

        ILogicalExpression expr = join.getCondition().getValue();
        if (expr.getExpressionTag() != LogicalExpressionTag.FUNCTION_CALL) {
            return false;
        }
        AbstractFunctionCallExpression fexp = (AbstractFunctionCallExpression) expr;
        FunctionIdentifier fi = fexp.getFunctionIdentifier();
        if (!(fi.equals(AlgebricksBuiltinFunctions.AND) || fi.equals(AlgebricksBuiltinFunctions.EQ))) {
            return false;
        }
        boolean modified = false;
        List<Mutable<ILogicalExpression>> functionList = new ArrayList<Mutable<ILogicalExpression>>();
        List<Mutable<ILogicalExpression>> variableList = new ArrayList<Mutable<ILogicalExpression>>();
View Full Code Here

Examples of edu.uci.ics.hyracks.algebricks.core.algebra.functions.FunctionIdentifier

            if (argFirst.getExpressionTag() != LogicalExpressionTag.FUNCTION_CALL) {
                continue;
            }
            AbstractFunctionCallExpression functionCall = (AbstractFunctionCallExpression) argFirst;
            if (ALGEBRICKS_MAP.containsKey(functionCall.getFunctionIdentifier())) {
                FunctionIdentifier algebricksFid = ALGEBRICKS_MAP.get(functionCall.getFunctionIdentifier());
                IFunctionInfo algebricksFunction = context.getMetadataProvider().lookupFunction(algebricksFid);
                functionCall.setFunctionInfo(algebricksFunction);
                searchM.setValue(argFirst);
                modified = true;
            }
View Full Code Here

Examples of edu.uci.ics.hyracks.algebricks.core.algebra.functions.FunctionIdentifier

    protected boolean aggregateEvaluatorFactory = false;
    protected boolean scalarEvaluatorFactory = false;
    protected boolean unnestingEvaluatorFactory = false;

    public Function(QName qname, Signature signature) {
        this.fid = new FunctionIdentifier(VXQUERY, "{" + qname.getNamespaceURI() + "}" + qname.getLocalPart());
        this.qname = qname;
        this.signature = signature;
        this.documentOrderPropagationPolicy = new DocumentOrderYESPropagationPolicy();
        this.uniqueNodesPropagationPolicy = new UniqueNodesYESPropagationPolicy();
    }
View Full Code Here

Examples of edu.uci.ics.hyracks.algebricks.core.algebra.functions.FunctionIdentifier

    }

    protected StringBuilder appendFunction(StringBuilder sb, AbstractFunctionCallExpression expr, Integer indent)
            throws AlgebricksException {
        assert expr.getExpressionTag() == LogicalExpressionTag.FUNCTION_CALL;
        FunctionIdentifier fi = expr.getFunctionIdentifier();
        List<Mutable<ILogicalExpression>> args = expr.getArguments();
        if ((identifiesTypeOperator(fi) || identifiesPathStep(fi)) && args.size() > 1) {
            final ILogicalExpression typeEx = args.get(1).getValue();
            assert typeEx.getExpressionTag() == LogicalExpressionTag.CONSTANT;
            SequenceType type = getSequenceType((ConstantExpression) typeEx);
View Full Code Here

Examples of edu.uci.ics.hyracks.algebricks.core.algebra.functions.FunctionIdentifier

    protected final QName qname;

    protected final Signature signature;

    public Function(QName qname, Signature signature) {
        this.fid = new FunctionIdentifier(VXQUERY, "{" + qname.getNamespaceURI() + "}" + qname.getLocalPart());
        this.qname = qname;
        this.signature = signature;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.