Package | Description |
---|---|
org.apache.pig |
Public interfaces and classes for Pig.
|
org.apache.pig.newplan.logical | |
org.apache.pig.newplan.logical.expression | |
org.apache.pig.newplan.logical.relational |
Constructor and Description |
---|
ResourceFieldSchema(LogicalSchema.LogicalFieldSchema fieldSchema)
Construct using a
LogicalSchema.LogicalFieldSchema as the template. |
Modifier and Type | Method and Description |
---|---|
static LogicalSchema.LogicalFieldSchema |
Util.translateFieldSchema(Schema.FieldSchema fs) |
Modifier and Type | Method and Description |
---|---|
static Schema.FieldSchema |
Util.translateFieldSchema(LogicalSchema.LogicalFieldSchema fs) |
Modifier and Type | Field and Description |
---|---|
protected LogicalSchema.LogicalFieldSchema |
LogicalExpression.fieldSchema |
protected LogicalSchema.LogicalFieldSchema |
LogicalExpression.uidOnlyFieldSchema |
Modifier and Type | Method and Description |
---|---|
void |
LogicalExpression.neverUseForRealSetFieldSchema(LogicalSchema.LogicalFieldSchema fs) |
Constructor and Description |
---|
CastExpression(OperatorPlan plan,
LogicalExpression exp,
LogicalSchema.LogicalFieldSchema fs) |
Modifier and Type | Method and Description |
---|---|
LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.cloneUid() |
LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.deepCopy() |
LogicalSchema.LogicalFieldSchema |
LogicalSchema.getField(int fieldNum)
Fetch a field by field number
|
LogicalSchema.LogicalFieldSchema |
LogicalSchema.getField(String alias)
Fetch a field by alias
|
LogicalSchema.LogicalFieldSchema |
LogicalSchema.getFieldSubNameMatch(String alias)
Given an alias name, find the associated LogicalFieldSchema.
|
static LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.merge(LogicalSchema.LogicalFieldSchema fs1,
LogicalSchema.LogicalFieldSchema fs2,
LogicalSchema.MergeMode mode)
Merge two LogicalFieldSchema, the behavior of merge depends on mode.
|
LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.mergeUid(LogicalSchema.LogicalFieldSchema uidOnlyFieldSchema)
Adds the uid from FieldSchema argument to this FieldSchema
If the argument is null, it stamps this FieldSchema with uid
|
Modifier and Type | Method and Description |
---|---|
List<LogicalSchema.LogicalFieldSchema> |
LogicalSchema.getFields()
Get all fields
|
Modifier and Type | Method and Description |
---|---|
void |
LogicalSchema.addField(LogicalSchema.LogicalFieldSchema field)
Add a field to this schema.
|
static boolean |
LogicalSchema.LogicalFieldSchema.castable(LogicalSchema.LogicalFieldSchema inFs,
LogicalSchema.LogicalFieldSchema outFs)
Check if FieldSchema inFs is castable to outFs
|
static boolean |
LogicalSchema.LogicalFieldSchema.equals(LogicalSchema.LogicalFieldSchema fschema,
LogicalSchema.LogicalFieldSchema fother,
boolean relaxInner,
boolean relaxAlias)
Compare two field schema for equality
|
static boolean |
LogicalSchema.LogicalFieldSchema.isEqualUnlessUnknown(LogicalSchema.LogicalFieldSchema fs1,
LogicalSchema.LogicalFieldSchema fs2) |
static LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.merge(LogicalSchema.LogicalFieldSchema fs1,
LogicalSchema.LogicalFieldSchema fs2,
LogicalSchema.MergeMode mode)
Merge two LogicalFieldSchema, the behavior of merge depends on mode.
|
LogicalSchema.LogicalFieldSchema |
LogicalSchema.LogicalFieldSchema.mergeUid(LogicalSchema.LogicalFieldSchema uidOnlyFieldSchema)
Adds the uid from FieldSchema argument to this FieldSchema
If the argument is null, it stamps this FieldSchema with uid
|
static boolean |
LogicalSchema.LogicalFieldSchema.typeMatch(LogicalSchema.LogicalFieldSchema fs1,
LogicalSchema.LogicalFieldSchema fs2) |
Modifier and Type | Method and Description |
---|---|
static void |
LogicalRelationalOperator.fixDuplicateUids(List<LogicalSchema.LogicalFieldSchema> fss)
In the case of an operation which manipualtes columns (such as a foreach or a join)
it is possible for multiple columns to have been derived from the same
column and thus have duplicate UID's.
|
Constructor and Description |
---|
LogicalFieldSchema(LogicalSchema.LogicalFieldSchema fs) |
Copyright © 2007-2017 The Apache Software Foundation