org.apache.hadoop.hive.ql.optimizer
Enum GroupByOptimizer.GroupByOptimizerSortMatch

java.lang.Object
  extended by java.lang.Enum<GroupByOptimizer.GroupByOptimizerSortMatch>
      extended by org.apache.hadoop.hive.ql.optimizer.GroupByOptimizer.GroupByOptimizerSortMatch
All Implemented Interfaces:
Serializable, Comparable<GroupByOptimizer.GroupByOptimizerSortMatch>
Enclosing class:
GroupByOptimizer

public static enum GroupByOptimizer.GroupByOptimizerSortMatch
extends Enum<GroupByOptimizer.GroupByOptimizerSortMatch>


Enum Constant Summary
COMPLETE_MATCH
           
NO_MATCH
           
PARTIAL_MATCH
           
 
Method Summary
static GroupByOptimizer.GroupByOptimizerSortMatch valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GroupByOptimizer.GroupByOptimizerSortMatch[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_MATCH

public static final GroupByOptimizer.GroupByOptimizerSortMatch NO_MATCH

PARTIAL_MATCH

public static final GroupByOptimizer.GroupByOptimizerSortMatch PARTIAL_MATCH

COMPLETE_MATCH

public static final GroupByOptimizer.GroupByOptimizerSortMatch COMPLETE_MATCH
Method Detail

values

public static GroupByOptimizer.GroupByOptimizerSortMatch[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GroupByOptimizer.GroupByOptimizerSortMatch c : GroupByOptimizer.GroupByOptimizerSortMatch.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GroupByOptimizer.GroupByOptimizerSortMatch valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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