Examples of FilterFunction


Examples of com.facebook.presto.operator.FilterFunction

                // compilation failed, use interpreter
                log.error(e, "Compile failed for filter=%s projections=%s sourceTypes=%s error=%s", filterExpression, projectionExpressions, sourceTypes, e);
            }

            FilterFunction filterFunction;
            if (filterExpression != BooleanLiteral.TRUE_LITERAL) {
                filterFunction = new InterpretedFilterFunction(filterExpression, context.getTypes(), sourceLayout, metadata, sqlParser, context.getSession());
            }
            else {
                filterFunction = FilterFunctions.TRUE_FUNCTION;
View Full Code Here

Examples of com.facebook.presto.operator.FilterFunction

            catch (RuntimeException e) {
                // compilation failed, use interpreter
                log.error(e, "Compile failed for filter=%s projections=%s sourceTypes=%s error=%s", filterExpression, projectionExpressions, sourceTypes, e);
            }

            FilterFunction filterFunction;
            if (filterExpression != BooleanLiteral.TRUE_LITERAL) {
                filterFunction = new InterpretedFilterFunction(filterExpression, sourceLayout, metadata, context.getSession());
            }
            else {
                filterFunction = FilterFunctions.TRUE_FUNCTION;
View Full Code Here

Examples of com.facebook.presto.operator.FilterFunction

        return hasQualifiedNameReference.get();
    }

    private Operator interpretedFilterProject(Expression filter, Expression projection, Type expressionType, Session session)
    {
        FilterFunction filterFunction = new InterpretedFilterFunction(
                filter,
                INPUT_MAPPING,
                metadataManager,
                session
        );
View Full Code Here

Examples of com.facebook.presto.operator.FilterFunction

        return hasQualifiedNameReference.get();
    }

    private Operator interpretedFilterProject(Expression filter, Expression projection, Type expressionType, Session session)
    {
        FilterFunction filterFunction = new InterpretedFilterFunction(
                filter,
                INPUT_MAPPING,
                metadataManager,
                session
        );
View Full Code Here

Examples of org.saiku.olap.query2.filter.ThinFilter.FilterFunction

        List<String> expressions = new ArrayList<String>();
        expressions.add(Integer.toString(nf.getN()));
        if (nf.getFilterExpression() != null) {
          expressions.add(nf.getFilterExpression());
        }
        FilterFunction type = FilterFunction.valueOf(nf.getFunctionType().toString());
        ThinFilter tf = new ThinFilter(FilterFlavour.N, null, type, expressions);
        tfs.add(tf);
      }
    }
    return tfs;
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.