Examples of FilterOperator


Examples of org.apache.hadoop.hive.ql.exec.FilterOperator

   * Node Processor for Column Pruning on Filter Operators.
   */
  public static class ColumnPrunerFilterProc implements NodeProcessor {
    public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx ctx,
        Object... nodeOutputs) throws SemanticException {
      FilterOperator op = (FilterOperator) nd;
      ColumnPrunerProcCtx cppCtx = (ColumnPrunerProcCtx) ctx;
      ExprNodeDesc condn = op.getConf().getPredicate();
      // get list of columns used in the filter
      List<String> cl = condn.getCols();
      // merge it with the downstream col list
      List<String> filterOpPrunedColLists = Utilities.mergeUniqElems(cppCtx.genColLists(op), cl);
      List<String> filterOpPrunedColListsOrderPreserved = preserveColumnOrder(op,
View Full Code Here

Examples of org.b3log.latke.repository.FilterOperator

        int filteredCnt = filters.size();
        for (final Filter filter : filters) {
            final String key = filter.getKey();
            final Object value = filter.getValue();
            final FilterOperator operator = filter.getOperator();

            final Object property = jsonObject.opt(key);

            if (value.getClass() != property.getClass()
                && !(value instanceof Collection) /* Excludes IN operation */) {
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.