org.apache.hadoop.hive.ql.hooks
Enum LineageInfo.DependencyType

java.lang.Object
  extended by java.lang.Enum<LineageInfo.DependencyType>
      extended by org.apache.hadoop.hive.ql.hooks.LineageInfo.DependencyType
All Implemented Interfaces:
Serializable, Comparable<LineageInfo.DependencyType>
Enclosing class:
LineageInfo

public static enum LineageInfo.DependencyType
extends Enum<LineageInfo.DependencyType>

Enum to track dependency. This enum has the following values: 1. SIMPLE - Indicates that the column is derived from another table column with no transformations e.g. T2.c1 = T1.c1. 2. EXPRESSION - Indicates that the column is derived from a UDF, UDAF, UDTF or set operations like union on columns on other tables e.g. T2.c1 = T1.c1 + T3.c1. 4. SCRIPT - Indicates that the column is derived from the output of a user script through a TRANSFORM, MAP or REDUCE syntax or from the output of a PTF chain execution.


Enum Constant Summary
EXPRESSION
           
SCRIPT
           
SIMPLE
           
 
Method Summary
static LineageInfo.DependencyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LineageInfo.DependencyType[] 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

SIMPLE

public static final LineageInfo.DependencyType SIMPLE

EXPRESSION

public static final LineageInfo.DependencyType EXPRESSION

SCRIPT

public static final LineageInfo.DependencyType SCRIPT
Method Detail

values

public static LineageInfo.DependencyType[] 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 (LineageInfo.DependencyType c : LineageInfo.DependencyType.values())
    System.out.println(c);

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

valueOf

public static LineageInfo.DependencyType 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.