|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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()
|
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. |
| 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 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.
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||