Added Methods |
Schema copyAndLink(Schema, LogicalOperator)
|
Make a copy of the given schema object and link the original with the copy using canonical name map. |
FieldSchema findFieldSchema(String )
|
Look for a FieldSchema instance in the schema hierarchy which has the given canonical name. |
FieldSchema getFieldSubNameMatch(String )
|
Given an alias name find the associated FieldSchema. |
int getPositionSubName(String )
|
Given an alias find the associated position of the field schema. |
Schema mergeSchemaByAlias(Schema, Schema)
|
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 |
Schema mergeSchemasByAlias(Collection )
|
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 |