org.apache.pig
Class LoadFunc.RequiredField

java.lang.Object
  extended by org.apache.pig.LoadFunc.RequiredField
All Implemented Interfaces:
Serializable
Enclosing interface:
LoadFunc

public static class LoadFunc.RequiredField
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
LoadFunc.RequiredField()
           
 
Method Summary
 String getAlias()
           
 int getIndex()
           
 List<LoadFunc.RequiredField> getSubFields()
           
 byte getType()
           
 boolean isAllSubFieldsRequired()
           
 void setAlias(String alias)
           
 void setIndex(int i)
           
 void setSubFields(List<LoadFunc.RequiredField> subFields)
           
 void setType(byte t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadFunc.RequiredField

public LoadFunc.RequiredField()
Method Detail

getAlias

public String getAlias()
Returns:
the alias

getIndex

public int getIndex()
Returns:
the index

getSubFields

public List<LoadFunc.RequiredField> getSubFields()
Returns:
the required sub fields. The return value is null if all subfields are required

setSubFields

public void setSubFields(List<LoadFunc.RequiredField> subFields)

getType

public byte getType()
Returns:
the type

isAllSubFieldsRequired

public boolean isAllSubFieldsRequired()
Returns:
true if all sub fields are required, false otherwise

setType

public void setType(byte t)

setIndex

public void setIndex(int i)

setAlias

public void setAlias(String alias)

toString

public String toString()
Overrides:
toString in class Object


Copyright © ${year} The Apache Software Foundation