@InterfaceAudience.Private @InterfaceStability.Unstable public class SchemaTupleClassGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaTupleClassGenerator.GenContext
The GenContext mechanism provides a level of control in where SchemaTupleFactories
are used.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected static int |
getNextGlobalClassIdentifier() |
protected static void |
resetGlobalClassIdentifier() |
protected static void resetGlobalClassIdentifier()
protected static void generateSchemaTuple(Schema s, boolean appendable, int id, File codeDir, SchemaTupleClassGenerator.GenContext... contexts)
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 instantiatedprotected static int getNextGlobalClassIdentifier()
Copyright © 2007-2017 The Apache Software Foundation