Package | Description |
---|---|
org.apache.pig.data |
This package contains implementations of Pig specific data types as well as
support functions for reading, writing, and using all Pig data types.
|
Modifier and Type | Method and Description |
---|---|
static SchemaTupleClassGenerator.GenContext |
SchemaTupleClassGenerator.GenContext.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaTupleClassGenerator.GenContext[] |
SchemaTupleClassGenerator.GenContext.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
SchemaTupleClassGenerator.generateSchemaTuple(Schema s,
boolean appendable,
int id,
File codeDir,
SchemaTupleClassGenerator.GenContext... contexts)
This class actually generates the code for a given Schema.
|
static SchemaTupleFactory |
SchemaTupleFactory.getInstance(Schema s,
boolean isAppendable,
SchemaTupleClassGenerator.GenContext context)
This method is the publicly facing method which returns a SchemaTupleFactory
which will generate SchemaTuples of the given Schema.
|
static SchemaTupleFactory |
SchemaTupleBackend.newSchemaTupleFactory(Schema s,
boolean isAppendable,
SchemaTupleClassGenerator.GenContext context) |
static int |
SchemaTupleFrontend.registerToGenerateIfPossible(Schema udfSchema,
boolean isAppendable,
SchemaTupleClassGenerator.GenContext context)
This method "registers" a Schema to be generated.
|
Copyright © 2007-2017 The Apache Software Foundation