Package | Description |
---|---|
org.apache.pig |
Public interfaces and classes for Pig.
|
org.apache.pig.impl.util.avro |
Modifier and Type | Method and Description |
---|---|
java.util.List<LoadPushDown.RequiredField> |
LoadPushDown.RequiredFieldList.getFields()
Geta ll required fields as a list.
|
java.util.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(java.util.List<LoadPushDown.RequiredField> subFields) |
Constructor and Description |
---|
LoadPushDown.RequiredField(java.lang.String alias,
int index,
java.util.List<LoadPushDown.RequiredField> subFields,
byte type) |
LoadPushDown.RequiredFieldList(java.util.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,
java.util.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