org.apache.pig
Class LoadPushDown.RequiredFieldList

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

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

List of fields that Pig knows to be required to executed a script.

See Also:
Serialized Form

Constructor Summary
LoadPushDown.RequiredFieldList()
           
LoadPushDown.RequiredFieldList(List<LoadPushDown.RequiredField> fields)
          Set the list of required fields.
 
Method Summary
 void add(LoadPushDown.RequiredField rf)
          Add a field to the list of required fields.
 List<LoadPushDown.RequiredField> getFields()
          Geta ll required fields as a list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadPushDown.RequiredFieldList

public LoadPushDown.RequiredFieldList(List<LoadPushDown.RequiredField> fields)
Set the list of required fields.

Parameters:
fields -

LoadPushDown.RequiredFieldList

public LoadPushDown.RequiredFieldList()
Method Detail

getFields

public List<LoadPushDown.RequiredField> getFields()
Geta ll required fields as a list.

Returns:
the required fields - this will be null if all fields are required

toString

public String toString()
Overrides:
toString in class Object

add

public void add(LoadPushDown.RequiredField rf)
Add a field to the list of required fields.

Parameters:
rf - required field to add to the list.


Copyright © 2007-2012 The Apache Software Foundation