Generated by
JDiff

Class org.apache.pig.newplan.logical.relational.LogicalSchema

Removed Methods
boolean isTwoLevelAccessRequired()  
void setTwoLevelAccessRequired(boolean)  
 

Added Methods
boolean castable(LogicalSchema, LogicalSchema) Recursively compare two schemas to check if the input schema can be cast to the cast schema
boolean equals(LogicalSchema, LogicalSchema, boolean, boolean) Recursively compare two schemas for equality
int getFieldPosition(String)  
LogicalFieldSchema getFieldSubNameMatch(String) Given an alias name find the associated LogicalFieldSchema.
boolean isEqual(Object, boolean) Two schemas are equal if they are of equal size and their fields schemas considered in order are equal.
LogicalSchema mergeSchemaByAlias(LogicalSchema, LogicalSchema) Merges two schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible as per DataType.mergeType(..) For Tuples and Bags SubSchemas have to be equal be considered compatible
LogicalSchema mergeSchemasByAlias(List) Merges collection of schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible as per DataType.mergeType(..) For Tuples and Bags SubSchemas have to be equal be considered compatible
void normalize() Old Pig schema does not require a tuple schema inside a bag; Now it is required to have that; this method is to fill the gap
void resetUid() Reset uids of all fieldschema that the schema contains
 

Changed Methods
LogicalSchema merge(LogicalSchema, LogicalSchema, MergeMode) Change in signature from (LogicalSchema, LogicalSchema) to (LogicalSchema, LogicalSchema, MergeMode).
Merge two schemas.
LogicalFieldSchema getField(String) Change in exceptions thrown from no exceptions to org.apache.pig.impl.logicalLayer.FrontendException.
Fetch a field by alias