org.apache.pig
Class LoadPushDown.RequiredField

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

@InterfaceAudience.Public
@InterfaceStability.Evolving
public static class LoadPushDown.RequiredField
extends Object
implements Serializable

Describes a field that is required to execute a scripts.

See Also:
Serialized Form

Constructor Summary
LoadPushDown.RequiredField()
           
LoadPushDown.RequiredField(String alias, int index, List<LoadPushDown.RequiredField> subFields, byte type)
           
 
Method Summary
 String getAlias()
           
 int getIndex()
           
 List<LoadPushDown.RequiredField> getSubFields()
           
 byte getType()
           
 void setAlias(String alias)
           
 void setIndex(int i)
           
 void setSubFields(List<LoadPushDown.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

LoadPushDown.RequiredField

public LoadPushDown.RequiredField()

LoadPushDown.RequiredField

public LoadPushDown.RequiredField(String alias,
                                  int index,
                                  List<LoadPushDown.RequiredField> subFields,
                                  byte type)
Parameters:
alias -
index -
subFields -
type -
Method Detail

getAlias

public String getAlias()
Returns:
the alias

getIndex

public int getIndex()
Returns:
the index

getSubFields

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

setSubFields

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

getType

public byte getType()
Returns:
the type

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 © 2007-2012 The Apache Software Foundation