public class PigContextFactoryBean extends Object implements InitializingBean, FactoryBean<PigContext>
PigContext instance. Used for detailed configuration of a PigServer instance.| Constructor and Description | 
|---|
| PigContextFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| PigContext | getObject() | 
| Class<?> | getObjectType() | 
| boolean | isSingleton() | 
| void | setConfiguration(Configuration configuration)Sets the Hadoop configuration to use. | 
| void | setExecType(ExecType execType)Sets the execution type. | 
| void | setJobTracker(String jobTracker)Sets the job tracker. | 
| void | setLastAlias(String lastAlias)Sets the last alias. | 
| void | setProperties(Properties properties)Sets the configuration properties. | 
public PigContext getObject() throws Exception
getObject in interface FactoryBean<PigContext>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<PigContext>public boolean isSingleton()
isSingleton in interface FactoryBean<PigContext>public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setLastAlias(String lastAlias)
lastAlias - The lastAlias to set.public void setJobTracker(String jobTracker)
jobTracker - The jobTracker to set.public void setExecType(ExecType execType)
execType - The execType to set.public void setProperties(Properties properties)
properties - The properties to set.public void setConfiguration(Configuration configuration)
configuration - The configuration to set.