org.apache.pig.impl.logicalLayer.schema
Class AtomSchema
java.lang.Object
org.apache.pig.impl.logicalLayer.schema.Schema
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
Fields inherited from class org.apache.pig.impl.logicalLayer.schema.Schema |
aliases |
AtomSchema
public AtomSchema(String alias)
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