org.apache.pig.impl.logicalLayer.schema
Class AtomSchema

java.lang.Object
  extended by org.apache.pig.impl.logicalLayer.schema.Schema
      extended by org.apache.pig.impl.logicalLayer.schema.AtomSchema
All Implemented Interfaces:
Serializable

public class AtomSchema
extends Schema

A SchemaField encapsulates a column alias and its numeric column value.

Author:
dnm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.impl.logicalLayer.schema.Schema
aliases
 
Constructor Summary
AtomSchema(String alias)
           
 
Method Summary
 int colFor(String alias)
           
 AtomSchema copy()
           
 List<Schema> flatten()
           
 Schema schemaFor(int col)
           
 String toString()
           
 
Methods inherited from class org.apache.pig.impl.logicalLayer.schema.Schema
getAlias, getAliases, removeAlias, removeAllAliases, setAlias
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtomSchema

public AtomSchema(String alias)
Method Detail

colFor

public int colFor(String alias)
Specified by:
colFor in class Schema

schemaFor

public Schema schemaFor(int col)
Specified by:
schemaFor in class Schema

copy

public AtomSchema copy()
Overrides:
copy in class Schema

flatten

public List<Schema> flatten()
Specified by:
flatten in class Schema

toString

public String toString()
Overrides:
toString in class Object


Copyright © ${year} The Apache Software Foundation