Package | Description |
---|---|
org.apache.pig |
Public interfaces and classes for Pig.
|
org.apache.pig.impl.util.avro |
Modifier and Type | Method and Description |
---|---|
List<LoadPushDown.RequiredField> |
LoadPushDown.RequiredFieldList.getFields()
Geta ll required fields as a list.
|
List<LoadPushDown.RequiredField> |
LoadPushDown.RequiredField.getSubFields() |
Modifier and Type | Method and Description |
---|---|
void |
LoadPushDown.RequiredFieldList.add(LoadPushDown.RequiredField rf)
Add a field to the list of required fields.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadPushDown.RequiredField.setSubFields(List<LoadPushDown.RequiredField> subFields) |
Constructor and Description |
---|
LoadPushDown.RequiredField(String alias,
int index,
List<LoadPushDown.RequiredField> subFields,
byte type) |
LoadPushDown.RequiredFieldList(List<LoadPushDown.RequiredField> fields)
Set the list of required fields.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.avro.Schema |
AvroStorageSchemaConversionUtilities.newSchemaFromRequiredFieldList(org.apache.avro.Schema oldSchema,
List<LoadPushDown.RequiredField> rfl)
Takes an Avro Schema and a Pig RequiredFieldList and returns a new schema
with only the required fields, or no if the function can't extract only
those fields.
|
Copyright © 2007-2012 The Apache Software Foundation