org.apache.pig
Class StoreConfig

java.lang.Object
  extended by org.apache.pig.StoreConfig
All Implemented Interfaces:
Serializable

public class StoreConfig
extends Object
implements Serializable

A Class which will encapsulate metadata information that a OutputFormat (or possibly StoreFunc) may want to know about the data that needs to be stored.

See Also:
Serialized Form

Constructor Summary
StoreConfig(String location, Schema schema)
           
 
Method Summary
 String getLocation()
           
 Schema getSchema()
           
 void setLocation(String location)
           
 void setSchema(Schema schema)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreConfig

public StoreConfig(String location,
                   Schema schema)
Parameters:
location -
schema -
Method Detail

getLocation

public String getLocation()
Returns:
the location

setLocation

public void setLocation(String location)
Parameters:
location - the location to set

getSchema

public Schema getSchema()
Returns:
the schema

setSchema

public void setSchema(Schema schema)
Parameters:
schema - the schema to set

toString

public String toString()
Overrides:
toString in class Object


Copyright © ${year} The Apache Software Foundation