public static enum SchemaTupleClassGenerator.GenContext extends java.lang.Enum<SchemaTupleClassGenerator.GenContext>
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | SchemaTupleClassGenerator.GenContext.GenerateForceLoad | 
| static interface  | SchemaTupleClassGenerator.GenContext.GenerateForeach | 
| static interface  | SchemaTupleClassGenerator.GenContext.GenerateFrJoin | 
| static interface  | SchemaTupleClassGenerator.GenContext.GenerateMergeJoin | 
| static interface  | SchemaTupleClassGenerator.GenContext.GenerateUdfThese annotations are used to mark a given SchemaTuple with
 the context in which is was intended to be generated. | 
| Enum Constant and Description | 
|---|
| FORCE_LOADAll registered Schemas will also be registered in one additional context. | 
| FOREACHThis context is for POForEach. | 
| FR_JOINThis context controls whether or not SchemaTuples will be used in FR joins. | 
| MERGE_JOINThis context controls whether or not SchemaTuples will be used in merge joins. | 
| UDFThis context is used in UDF code. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAnnotationCanonicalName() | 
| java.lang.String | key() | 
| boolean | shouldGenerate(java.lang.Class clazz)Checks the generated class to see if the annotation
 associated with this enum is present. | 
| boolean | shouldGenerate(org.apache.hadoop.conf.Configuration conf)Given a job configuration file, this checks to see
 if the default value has been overriden. | 
| static SchemaTupleClassGenerator.GenContext | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static SchemaTupleClassGenerator.GenContext[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SchemaTupleClassGenerator.GenContext UDF
public static final SchemaTupleClassGenerator.GenContext FOREACH
public static final SchemaTupleClassGenerator.GenContext FR_JOIN
public static final SchemaTupleClassGenerator.GenContext MERGE_JOIN
public static final SchemaTupleClassGenerator.GenContext FORCE_LOAD
public static SchemaTupleClassGenerator.GenContext[] values()
for (SchemaTupleClassGenerator.GenContext c : SchemaTupleClassGenerator.GenContext.values()) System.out.println(c);
public static SchemaTupleClassGenerator.GenContext valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String key()
public java.lang.String getAnnotationCanonicalName()
public boolean shouldGenerate(java.lang.Class clazz)
clazz - public boolean shouldGenerate(org.apache.hadoop.conf.Configuration conf)
conf - Copyright © 2007-2025 The Apache Software Foundation