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