|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
gov.llnl.ontology.mapreduce.CorpusTableMR
gov.llnl.ontology.mapreduce.ingest.ExtractNounPairsMR
public class ExtractNounPairsMR
| Nested Class Summary | |
|---|---|
static class |
ExtractNounPairsMR.ExtractNounPairReducer
|
static class |
ExtractNounPairsMR.ExtractNounPairsMapper
|
| Nested classes/interfaces inherited from class gov.llnl.ontology.mapreduce.CorpusTableMR |
|---|
CorpusTableMR.CorpusTableMapper<K,V> |
| Field Summary | |
|---|---|
static String |
ACCEPTOR
The configuration key for the DependencyPathAcceptor. |
static String |
EVIDENCE
The configuration key for the EvidenceTable. |
static String |
PATH_LENGTH
The configuration key for the maximum valid depenendency path length. |
| Fields inherited from class gov.llnl.ontology.mapreduce.CorpusTableMR |
|---|
CONF_PREFIX, TABLE |
| Constructor Summary | |
|---|---|
ExtractNounPairsMR()
|
|
| Method Summary | |
|---|---|
protected void |
addOptions(MRArgOptions options)
Add more command line arguments. |
protected String |
jobName()
Returns a descriptive job name for this map reduce task. |
static void |
main(String[] args)
Runs the ExtractNounPairsMR. |
protected Class |
mapperClass()
Returns the Class object for the Mapper task. |
protected Class |
mapperKeyClass()
Returns the Class object for the Mapper Key of this task. |
protected Class |
mapperValueClass()
Returns the Class object for the Mapper Value of this task. |
protected void |
setupConfiguration(MRArgOptions options,
org.apache.hadoop.conf.Configuration conf)
Copies command line arguments to a Configuration so that
Map/Reduce jobs can utilize the values set. |
protected void |
setupReducer(String tableName,
org.apache.hadoop.mapreduce.Job job,
MRArgOptions options)
Sets up the Reducer for this job. |
| Methods inherited from class gov.llnl.ontology.mapreduce.CorpusTableMR |
|---|
run, validateOptions |
| Methods inherited from class org.apache.hadoop.conf.Configured |
|---|
getConf, setConf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hadoop.conf.Configurable |
|---|
getConf, setConf |
| Field Detail |
|---|
public static final String ACCEPTOR
DependencyPathAcceptor.
public static final String PATH_LENGTH
public static final String EVIDENCE
EvidenceTable.
| Constructor Detail |
|---|
public ExtractNounPairsMR()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
ExtractNounPairsMR.
Exceptionprotected String jobName()
jobName in class CorpusTableMRprotected Class mapperClass()
Class object for the Mapper task.
mapperClass in class CorpusTableMRprotected Class mapperKeyClass()
Class object for the Mapper Key of this task. By
default this returns ImmutableBytesWritable.
mapperKeyClass in class CorpusTableMRprotected Class mapperValueClass()
Class object for the Mapper Value of this task. By
default, this returns Put.
mapperValueClass in class CorpusTableMR
protected void setupReducer(String tableName,
org.apache.hadoop.mapreduce.Job job,
MRArgOptions options)
throws IOException
CorpusTableMRIdentityTableReducer.
setupReducer in class CorpusTableMRIOExceptionprotected void addOptions(MRArgOptions options)
addOptions in class CorpusTableMR
protected void setupConfiguration(MRArgOptions options,
org.apache.hadoop.conf.Configuration conf)
Configuration so that
Map/Reduce jobs can utilize the values set. By default, this does no
configuration.
setupConfiguration in class CorpusTableMR
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||