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

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

public class TableScanDesc
extends AbstractOperatorDesc

Table Scan Descriptor Currently, data is only read from a base source as part of map-reduce framework. So, nothing is stored in the descriptor. But, more things will be added here as table scan is invoked as part of local work.

See Also:
Serialized Form

Field Summary
static String FILTER_EXPR_CONF_STR
           
static String FILTER_TEXT_CONF_STR
           
 
Constructor Summary
TableScanDesc()
           
TableScanDesc(String alias)
           
TableScanDesc(String alias, List<VirtualColumn> vcs)
           
 
Method Summary
 void addVirtualCols(List<VirtualColumn> virtualCols)
           
 Object clone()
           
 String getAlias()
           
 ExprNodeDesc getFilterExpr()
           
 int getMaxStatsKeyPrefixLength()
           
 List<String> getPartColumns()
           
 int getRowLimit()
           
 Integer getRowLimitExplain()
           
 String getStatsAggPrefix()
           
 List<VirtualColumn> getVirtualCols()
           
 boolean isGatherStats()
           
 boolean isStatsReliable()
           
 void setAlias(String alias)
           
 void setFilterExpr(ExprNodeDesc filterExpr)
           
 void setGatherStats(boolean gatherStats)
           
 void setMaxStatsKeyPrefixLength(int maxStatsKeyPrefixLength)
           
 void setPartColumns(List<String> partColumns)
           
 void setRowLimit(int rowLimit)
           
 void setStatsAggPrefix(String k)
           
 void setStatsReliable(boolean statsReliable)
           
 void setVirtualCols(List<VirtualColumn> virtualCols)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_EXPR_CONF_STR

public static final String FILTER_EXPR_CONF_STR
See Also:
Constant Field Values

FILTER_TEXT_CONF_STR

public static final String FILTER_TEXT_CONF_STR
See Also:
Constant Field Values
Constructor Detail

TableScanDesc

public TableScanDesc()

TableScanDesc

public TableScanDesc(String alias)

TableScanDesc

public TableScanDesc(String alias,
                     List<VirtualColumn> vcs)
Method Detail

clone

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

getAlias

public String getAlias()

getFilterExpr

public ExprNodeDesc getFilterExpr()

setFilterExpr

public void setFilterExpr(ExprNodeDesc filterExpr)

setAlias

public void setAlias(String alias)

setPartColumns

public void setPartColumns(List<String> partColumns)

getPartColumns

public List<String> getPartColumns()

setGatherStats

public void setGatherStats(boolean gatherStats)

isGatherStats

public boolean isGatherStats()

getVirtualCols

public List<VirtualColumn> getVirtualCols()

setVirtualCols

public void setVirtualCols(List<VirtualColumn> virtualCols)

addVirtualCols

public void addVirtualCols(List<VirtualColumn> virtualCols)

setStatsAggPrefix

public void setStatsAggPrefix(String k)

getStatsAggPrefix

public String getStatsAggPrefix()

isStatsReliable

public boolean isStatsReliable()

setStatsReliable

public void setStatsReliable(boolean statsReliable)

getMaxStatsKeyPrefixLength

public int getMaxStatsKeyPrefixLength()

setMaxStatsKeyPrefixLength

public void setMaxStatsKeyPrefixLength(int maxStatsKeyPrefixLength)

setRowLimit

public void setRowLimit(int rowLimit)

getRowLimit

public int getRowLimit()

getRowLimitExplain

public Integer getRowLimitExplain()


Copyright © 2012 The Apache Software Foundation