public class PigSchemaFactory extends Object implements SchemaFactory
PigSchema.
Allows a custom schema to be included in a model.json
file.
| Modifier and Type | Field and Description |
|---|---|
static PigSchemaFactory |
INSTANCE
Public singleton, per factory contract.
|
| Modifier | Constructor and Description |
|---|---|
private |
PigSchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
create(SchemaPlus parentSchema,
String name,
Map<String,Object> operand) |
public static final PigSchemaFactory INSTANCE
public Schema create(SchemaPlus parentSchema, String name, Map<String,Object> operand)
create in interface SchemaFactoryCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.