org.apache.pig
Class StoreConfig
java.lang.Object
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
StoreConfig
public StoreConfig(String location,
Schema schema)
- Parameters:
location
- schema
-
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