org.apache.hadoop.hive.ql.optimizer
Class ColumnPrunerProcFactory

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.ColumnPrunerProcFactory

public final class ColumnPrunerProcFactory
extends Object

Factory for generating the different node processors used by ColumnPruner.


Nested Class Summary
static class ColumnPrunerProcFactory.ColumnPrunerDefaultProc
          The Default Node Processor for Column Pruning.
static class ColumnPrunerProcFactory.ColumnPrunerFilterProc
          Node Processor for Column Pruning on Filter Operators.
static class ColumnPrunerProcFactory.ColumnPrunerGroupByProc
          Node Processor for Column Pruning on Group By Operators.
static class ColumnPrunerProcFactory.ColumnPrunerJoinProc
          The Node Processor for Column Pruning on Join Operators.
static class ColumnPrunerProcFactory.ColumnPrunerLateralViewForwardProc
          The Node Processor for Column Pruning on Lateral View Forward Operators.
static class ColumnPrunerProcFactory.ColumnPrunerLateralViewJoinProc
          The Node Processor for Column Pruning on Lateral View Join Operators.
static class ColumnPrunerProcFactory.ColumnPrunerMapJoinProc
          The Node Processor for Column Pruning on Map Join Operators.
static class ColumnPrunerProcFactory.ColumnPrunerPTFProc
          - Pruning can only be done for Windowing.
static class ColumnPrunerProcFactory.ColumnPrunerReduceSinkProc
          The Node Processor for Column Pruning on Reduce Sink Operators.
static class ColumnPrunerProcFactory.ColumnPrunerSelectProc
          The Node Processor for Column Pruning on Select Operators.
static class ColumnPrunerProcFactory.ColumnPrunerTableScanProc
          The Node Processor for Column Pruning on Table Scan Operators.
 
Method Summary
static ColumnPrunerProcFactory.ColumnPrunerDefaultProc getDefaultProc()
          Factory method to get the ColumnPrunerDefaultProc class.
static ColumnPrunerProcFactory.ColumnPrunerFilterProc getFilterProc()
          Factory method to get the ColumnPrunerFilterProc class.
static ColumnPrunerProcFactory.ColumnPrunerGroupByProc getGroupByProc()
          Factory method to get the ColumnPrunerGroupByProc class.
static ColumnPrunerProcFactory.ColumnPrunerJoinProc getJoinProc()
          The Factory method to get ColumnJoinProc class.
static ColumnPrunerProcFactory.ColumnPrunerLateralViewForwardProc getLateralViewForwardProc()
           
static ColumnPrunerProcFactory.ColumnPrunerLateralViewJoinProc getLateralViewJoinProc()
           
static ColumnPrunerProcFactory.ColumnPrunerMapJoinProc getMapJoinProc()
          The Factory method to get ColumnMapJoinProc class.
static ColumnPrunerProcFactory.ColumnPrunerPTFProc getPTFProc()
          Factory method to get the ColumnPrunerGroupByProc class.
static ColumnPrunerProcFactory.ColumnPrunerReduceSinkProc getReduceSinkProc()
          The Factory method to get ColumnPrunerReduceSinkProc class.
static ColumnPrunerProcFactory.ColumnPrunerSelectProc getSelectProc()
          The Factory method to get the ColumnPrunerSelectProc class.
static ColumnPrunerProcFactory.ColumnPrunerTableScanProc getTableScanProc()
          Factory method to get the ColumnPrunerDefaultProc class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFilterProc

public static ColumnPrunerProcFactory.ColumnPrunerFilterProc getFilterProc()
Factory method to get the ColumnPrunerFilterProc class.

Returns:
ColumnPrunerFilterProc

getGroupByProc

public static ColumnPrunerProcFactory.ColumnPrunerGroupByProc getGroupByProc()
Factory method to get the ColumnPrunerGroupByProc class.

Returns:
ColumnPrunerGroupByProc

getPTFProc

public static ColumnPrunerProcFactory.ColumnPrunerPTFProc getPTFProc()
Factory method to get the ColumnPrunerGroupByProc class.

Returns:
ColumnPrunerGroupByProc

getDefaultProc

public static ColumnPrunerProcFactory.ColumnPrunerDefaultProc getDefaultProc()
Factory method to get the ColumnPrunerDefaultProc class.

Returns:
ColumnPrunerDefaultProc

getTableScanProc

public static ColumnPrunerProcFactory.ColumnPrunerTableScanProc getTableScanProc()
Factory method to get the ColumnPrunerDefaultProc class.

Returns:
ColumnPrunerTableScanProc

getReduceSinkProc

public static ColumnPrunerProcFactory.ColumnPrunerReduceSinkProc getReduceSinkProc()
The Factory method to get ColumnPrunerReduceSinkProc class.

Returns:
ColumnPrunerReduceSinkProc

getSelectProc

public static ColumnPrunerProcFactory.ColumnPrunerSelectProc getSelectProc()
The Factory method to get the ColumnPrunerSelectProc class.

Returns:
ColumnPrunerSelectProc

getLateralViewJoinProc

public static ColumnPrunerProcFactory.ColumnPrunerLateralViewJoinProc getLateralViewJoinProc()

getLateralViewForwardProc

public static ColumnPrunerProcFactory.ColumnPrunerLateralViewForwardProc getLateralViewForwardProc()

getJoinProc

public static ColumnPrunerProcFactory.ColumnPrunerJoinProc getJoinProc()
The Factory method to get ColumnJoinProc class.

Returns:
ColumnPrunerJoinProc

getMapJoinProc

public static ColumnPrunerProcFactory.ColumnPrunerMapJoinProc getMapJoinProc()
The Factory method to get ColumnMapJoinProc class.

Returns:
ColumnPrunerMapJoinProc


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