|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.pig.PigContextFactoryBean
public class PigContextFactoryBean
Factory for creating a PigContext
instance. Used for detailed configuration of a PigServer
instance.
Constructor Summary | |
---|---|
PigContextFactoryBean()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PigContextFactoryBean()
Method Detail |
---|
public PigContext getObject() throws Exception
getObject
in interface FactoryBean<PigContext>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<PigContext>
public boolean isSingleton()
isSingleton
in interface FactoryBean<PigContext>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |