org.apache.hadoop.hive.ql.plan
Class FilterDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
      extended by org.apache.hadoop.hive.ql.plan.FilterDesc
All Implemented Interfaces:
Serializable, Cloneable, OperatorDesc

public class FilterDesc
extends AbstractOperatorDesc

FilterDesc.

See Also:
Serialized Form

Nested Class Summary
static class FilterDesc.sampleDesc
          sampleDesc is used to keep track of the sampling descriptor.
 
Constructor Summary
FilterDesc()
           
FilterDesc(ExprNodeDesc predicate, boolean isSamplingPred)
           
FilterDesc(ExprNodeDesc predicate, boolean isSamplingPred, FilterDesc.sampleDesc sampleDescr)
           
 
Method Summary
 Object clone()
           
 boolean getIsSamplingPred()
           
 ExprNodeDesc getPredicate()
           
 String getPredicateString()
           
 FilterDesc.sampleDesc getSampleDescr()
           
 boolean isSortedFilter()
           
 void setIsSamplingPred(boolean isSamplingPred)
           
 void setPredicate(ExprNodeDesc predicate)
           
 void setSampleDescr(FilterDesc.sampleDesc sampleDescr)
           
 void setSortedFilter(boolean isSortedFilter)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.plan.AbstractOperatorDesc
getOpTraits, getStatistics, setOpTraits, setStatistics, setVectorMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterDesc

public FilterDesc()

FilterDesc

public FilterDesc(ExprNodeDesc predicate,
                  boolean isSamplingPred)

FilterDesc

public FilterDesc(ExprNodeDesc predicate,
                  boolean isSamplingPred,
                  FilterDesc.sampleDesc sampleDescr)
Method Detail

getPredicateString

public String getPredicateString()

getPredicate

public ExprNodeDesc getPredicate()

setPredicate

public void setPredicate(ExprNodeDesc predicate)

getIsSamplingPred

public boolean getIsSamplingPred()

setIsSamplingPred

public void setIsSamplingPred(boolean isSamplingPred)

getSampleDescr

public FilterDesc.sampleDesc getSampleDescr()

setSampleDescr

public void setSampleDescr(FilterDesc.sampleDesc sampleDescr)

isSortedFilter

public boolean isSortedFilter()

setSortedFilter

public void setSortedFilter(boolean isSortedFilter)

clone

public Object clone()
Specified by:
clone in interface OperatorDesc
Overrides:
clone in class AbstractOperatorDesc


Copyright © 2014 The Apache Software Foundation. All rights reserved.