Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Autogenerated by Thrift DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 
 package org.apache.hadoop.hive.ql.plan.api;
 
 
 import java.util.Map;
public enum OperatorType implements TEnum {
  JOIN(0),
  MAPJOIN(1),
  EXTRACT(2),
  FILTER(3),
  FORWARD(4),
  GROUPBY(5),
  LIMIT(6),
  SCRIPT(7),
  SELECT(8),
  TABLESCAN(9),
  FILESINK(10),
  REDUCESINK(11),
  UNION(12),
  UDTF(13),
  LATERALVIEWJOIN(14),
  LATERALVIEWFORWARD(15),
  HASHTABLESINK(16),
  HASHTABLEDUMMY(17);
  private final int value;
  private OperatorType(int value) {
    this. = value;
  }

  
Get the integer value of this enum value, as defined in the Thrift IDL.
  public int getValue() {
    return ;
  }

  
Find a the enum type by its integer value, as defined in the Thrift IDL.

Returns:
null if the value is not found.
  public static OperatorType findByValue(int value) { 
    switch (value) {
      case 0:
        return ;
      case 1:
        return ;
      case 2:
        return ;
      case 3:
        return ;
      case 4:
        return ;
      case 5:
        return ;
      case 6:
        return ;
      case 7:
        return ;
      case 8:
        return ;
      case 9:
        return ;
      case 10:
        return ;
      case 11:
        return ;
      case 12:
        return ;
      case 13:
        return ;
      case 14:
        return ;
      case 15:
        return ;
      case 16:
        return ;
      case 17:
        return ;
      default:
        return null;
    }
  }
New to GrepCode? Check out our FAQ X