org.apache.pig.data
Class SchemaTupleClassGenerator
java.lang.Object
org.apache.pig.data.SchemaTupleClassGenerator
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class SchemaTupleClassGenerator
- extends Object
This class encapsulates the generation of SchemaTuples, as well as some logic
around shipping code to the distributed cache.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resetGlobalClassIdentifier
protected static void resetGlobalClassIdentifier()
generateSchemaTuple
protected static void generateSchemaTuple(Schema s,
boolean appendable,
int id,
File codeDir,
SchemaTupleClassGenerator.GenContext... contexts)
- This class actually generates the code for a given Schema.
- Parameters:
s
- as Schemaappendable
- as boolean, true or false depending on whether it should be appendableid
- as int, id means identifiercontexts
- which are a list of contexts in which the SchemaTuple is intended to be instantiated
getNextGlobalClassIdentifier
protected static int getNextGlobalClassIdentifier()
Copyright © 2007-2012 The Apache Software Foundation