org.apache.hadoop.hive.ql.optimizer.optiq
Class HiveOptiqUtil

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

public class HiveOptiqUtil
extends Object

Generic utility functions needed for Optiq based Hive CBO.


Constructor Summary
HiveOptiqUtil()
           
 
Method Summary
static List<Integer> getVirtualCols(List<org.eigenbase.rex.RexNode> exps)
          Get list of virtual columns from the given list of projections.
static void todo(String s)
          Deprecated. 
static List<Integer> translateBitSetToProjIndx(BitSet projBitSet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveOptiqUtil

public HiveOptiqUtil()
Method Detail

getVirtualCols

public static List<Integer> getVirtualCols(List<org.eigenbase.rex.RexNode> exps)
Get list of virtual columns from the given list of projections.

Parameters:
exps - list of rex nodes representing projections
Returns:
List of Virtual Columns, will not be null.

translateBitSetToProjIndx

public static List<Integer> translateBitSetToProjIndx(BitSet projBitSet)

todo

@Deprecated
public static void todo(String s)
Deprecated. 



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