Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.apache.hadoop.hive.ql.ppd;
Context class for operator walker of predicate pushdown.
public class OpWalkerInfo implements NodeProcessorCtx {
Operator to Pushdown Predicates Map. This keeps track of the final pushdown predicates for each operator as you walk the Op Graph from child to parent
  private final HashMap<Operator<? extends Serializable>, ExprWalkerInfoopToPushdownPredMap;
  private final Map<Operator<? extends Serializable>, OpParseContextopToParseCtxMap;
  private final ParseContext pGraphContext;
  public OpWalkerInfo(ParseContext pGraphContext) {
    this. = pGraphContext;
     = pGraphContext.getOpParseCtx();
  public ExprWalkerInfo getPrunedPreds(Operator<? extends Serializableop) {
    return .get(op);
  public ExprWalkerInfo putPrunedPreds(Operator<? extends Serializableop,
      ExprWalkerInfo value) {
    return .put(opvalue);
  public RowResolver getRowResolver(Node op) {
    return .get(op).getRowResolver();
  public OpParseContext put(Operator<? extends Serializablekey,
      OpParseContext value) {
    return .put(keyvalue);
    return ;
New to GrepCode? Check out our FAQ X