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

java.lang.Object
  extended by org.apache.pig.newplan.logical.relational.LogicalSchema.LogicalFieldSchema
Enclosing class:
LogicalSchema

public static class LogicalSchema.LogicalFieldSchema
extends Object


Field Summary
 String alias
           
 LogicalSchema schema
           
 byte type
           
 long uid
           
 
Constructor Summary
LogicalSchema.LogicalFieldSchema(LogicalSchema.LogicalFieldSchema fs)
           
LogicalSchema.LogicalFieldSchema(String alias, LogicalSchema schema, byte type)
           
LogicalSchema.LogicalFieldSchema(String alias, LogicalSchema schema, byte type, long uid)
           
 
Method Summary
 LogicalSchema.LogicalFieldSchema cloneUid()
           
 LogicalSchema.LogicalFieldSchema deepCopy()
           
 boolean isEqual(Object other)
          Equality is defined as having the same type and either the same schema or both null schema.
 LogicalSchema.LogicalFieldSchema mergeUid(LogicalSchema.LogicalFieldSchema uidOnlyFieldSchema)
           
 void stampFieldSchema()
           
 String toString()
           
 String toString(boolean verbose)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

alias

public String alias

type

public byte type

uid

public long uid

schema

public LogicalSchema schema
Constructor Detail

LogicalSchema.LogicalFieldSchema

public LogicalSchema.LogicalFieldSchema(String alias,
                                        LogicalSchema schema,
                                        byte type)

LogicalSchema.LogicalFieldSchema

public LogicalSchema.LogicalFieldSchema(LogicalSchema.LogicalFieldSchema fs)

LogicalSchema.LogicalFieldSchema

public LogicalSchema.LogicalFieldSchema(String alias,
                                        LogicalSchema schema,
                                        byte type,
                                        long uid)
Method Detail

isEqual

public boolean isEqual(Object other)
Equality is defined as having the same type and either the same schema or both null schema. Alias and uid are not checked.


toString

public String toString(boolean verbose)

toString

public String toString()
Overrides:
toString in class Object

stampFieldSchema

public void stampFieldSchema()

mergeUid

public LogicalSchema.LogicalFieldSchema mergeUid(LogicalSchema.LogicalFieldSchema uidOnlyFieldSchema)
                                          throws FrontendException
Throws:
FrontendException

cloneUid

public LogicalSchema.LogicalFieldSchema cloneUid()

deepCopy

public LogicalSchema.LogicalFieldSchema deepCopy()


Copyright © ${year} The Apache Software Foundation