Package | Description |
---|---|
org.apache.pig |
Public interfaces and classes for Pig.
|
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.
|
org.apache.pig.impl.logicalLayer.schema | |
org.apache.pig.impl.streaming | |
org.apache.pig.newplan.logical |
Constructor and Description |
---|
ResourceSchema.ResourceFieldSchema(Schema.FieldSchema fieldSchema)
Construct using a
Schema.FieldSchema as the template. |
Modifier and Type | Method and Description |
---|---|
static Schema.FieldSchema |
DataType.determineFieldSchema(Object o)
Determine the field schema of an object
|
static Schema.FieldSchema |
DataType.determineFieldSchema(ResourceSchema.ResourceFieldSchema rcFieldSchema)
Determine the field schema of an ResourceFieldSchema
|
Modifier and Type | Method and Description |
---|---|
Schema.FieldSchema |
Schema.FieldSchema.clone()
Make a deep copy of this FieldSchema and return it.
|
Schema.FieldSchema |
Schema.findFieldSchema(String canonicalName)
Look for a FieldSchema instance in the schema hierarchy which has the given canonical name.
|
Schema.FieldSchema |
Schema.FieldSchema.findFieldSchema(String canonicalName)
Find a field schema instance in this FieldSchema hierarchy (including "this")
that matches the given canonical name.
|
Schema.FieldSchema |
Schema.getField(int fieldNum)
Given a field number, find the associated FieldSchema.
|
Schema.FieldSchema |
Schema.getField(String alias)
Given an alias name, find the associated FieldSchema.
|
Schema.FieldSchema |
Schema.getFieldSubNameMatch(String alias)
Given an alias name, find the associated FieldSchema.
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs)
Recursively prefix merge two schemas
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs,
boolean otherTakesAliasPrecedence)
Recursively prefix merge two schemas
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs,
boolean otherTakesAliasPrecedence,
boolean allowMergeableTypes)
Recursively prefix merge two schemas
|
Modifier and Type | Method and Description |
---|---|
List<Schema.FieldSchema> |
Schema.getFields() |
Modifier and Type | Method and Description |
---|---|
void |
Schema.add(Schema.FieldSchema f) |
void |
Schema.addAlias(String alias,
Schema.FieldSchema fs) |
static boolean |
Schema.FieldSchema.castable(Schema.FieldSchema castFs,
Schema.FieldSchema inputFs)
Recursively compare two schemas to check if the input schema
can be cast to the cast schema
|
static boolean |
Schema.FieldSchema.equals(Schema.FieldSchema fschema,
Schema.FieldSchema fother,
boolean relaxInner,
boolean relaxAlias)
Compare two field schema for equality
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs)
Recursively prefix merge two schemas
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs,
boolean otherTakesAliasPrecedence)
Recursively prefix merge two schemas
|
Schema.FieldSchema |
Schema.FieldSchema.mergePrefixFieldSchema(Schema.FieldSchema otherFs,
boolean otherTakesAliasPrecedence,
boolean allowMergeableTypes)
Recursively prefix merge two schemas
|
static void |
Schema.FieldSchema.setFieldSchemaDefaultType(Schema.FieldSchema fs,
byte t)
Recursively set NULL type to the specifid type
|
Constructor and Description |
---|
Schema.FieldSchema(Schema.FieldSchema fs)
Copy Constructor.
|
Schema(Schema.FieldSchema fieldSchema)
Create a schema with only one field.
|
Constructor and Description |
---|
Schema(List<Schema.FieldSchema> fields) |
Constructor and Description |
---|
PigStreamingUDF(Schema.FieldSchema topLevelFs) |
Modifier and Type | Method and Description |
---|---|
static Schema.FieldSchema |
Util.translateFieldSchema(LogicalSchema.LogicalFieldSchema fs) |
Modifier and Type | Method and Description |
---|---|
static LogicalSchema.LogicalFieldSchema |
Util.translateFieldSchema(Schema.FieldSchema fs) |
Copyright © 2007-2012 The Apache Software Foundation