org.apache.pig
Class LoadPushDown.RequiredFieldResponse

java.lang.Object
  extended by org.apache.pig.LoadPushDown.RequiredFieldResponse
Enclosing interface:
LoadPushDown

@InterfaceAudience.Public
@InterfaceStability.Evolving
public static class LoadPushDown.RequiredFieldResponse
extends Object

Indicates whether the loader will return the requested fields or all fields.


Constructor Summary
LoadPushDown.RequiredFieldResponse(boolean requiredFieldRequestHonored)
           
 
Method Summary
 boolean getRequiredFieldResponse()
          Indicates whether the loader will return only the requested fields or all fields.
 void setRequiredFieldResponse(boolean honored)
          Set whether the loader will return only the requesetd fields or all fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadPushDown.RequiredFieldResponse

public LoadPushDown.RequiredFieldResponse(boolean requiredFieldRequestHonored)
Method Detail

getRequiredFieldResponse

public boolean getRequiredFieldResponse()
Indicates whether the loader will return only the requested fields or all fields.

Returns:
true if only requested fields will be returned, false if all fields will be returned.

setRequiredFieldResponse

public void setRequiredFieldResponse(boolean honored)
Set whether the loader will return only the requesetd fields or all fields.

Parameters:
honored - if true only requested fields will be returned, else all fields will be returned.


Copyright © 2007-2012 The Apache Software Foundation