|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.indexing.singlepass.hadoop.Inv2DirectMultiReduce.Inv2DirectMultiReduceJob
public static class Inv2DirectMultiReduce.Inv2DirectMultiReduceJob
This class performs contains setup for the MR job. It allows reuse of the general MR job by other similar situations.
Constructor Summary | |
---|---|
Inv2DirectMultiReduce.Inv2DirectMultiReduceJob(Index _index,
HadoopPlugin.JobFactory _jf)
constructor |
Method Summary | |
---|---|
java.lang.Class<? extends DirectInvertedOutputStream> |
getBitOutputClass()
get bitOutputClass |
HadoopPlugin.JobFactory |
getJf()
What job factory to use? |
java.lang.Class<?> |
getMapOutputClass()
Type of the posting class |
int |
getNumberOfReduceTasks()
Number of reduce task to use |
int |
getNumberOfTargetEntries()
How many entries should there be in the final structure |
java.lang.String |
getSourceLookupStructureName()
Name of the lookup structure for the source structure. |
java.lang.String |
getSourceStructureName()
Name of the source posting structure. |
java.lang.String |
getTargetLookupStructureName()
Name of the lookup structure for the target. |
java.lang.String |
getTargetStructureName()
Name of the target structure. |
void |
runJob()
Runs the MapReduce job described by the current state of this class |
void |
setBitOutputClass(java.lang.Class<? extends DirectInvertedOutputStream> _bitOutputClass)
set bitOutputClass |
void |
setJf(HadoopPlugin.JobFactory _jf)
set jf |
void |
setMapOutputClass(java.lang.Class<?> _mapOutputClass)
set mapOutputClass |
void |
setNumberOfReduceTasks(int _numberOfReduceTasks)
set number of reduce task |
void |
setNumberOfTargetEntries(int _numberOfTargetEntries)
set number of target entries |
void |
setSourceLookupStructureName(java.lang.String _sourceLookupStructureName)
set source lookup structure name |
void |
setSourceStructureName(java.lang.String _sourceStructureName)
set source structure name |
void |
setTargetLookupStructureName(java.lang.String _targetLookupStructureName)
set target lookup structure name |
void |
setTargetStructureName(java.lang.String _targetStructureName)
set target structure name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Inv2DirectMultiReduce.Inv2DirectMultiReduceJob(Index _index, HadoopPlugin.JobFactory _jf)
_index
- _jf
- Method Detail |
---|
public void runJob() throws java.lang.Exception
java.lang.Exception
public java.lang.Class<? extends DirectInvertedOutputStream> getBitOutputClass()
public void setBitOutputClass(java.lang.Class<? extends DirectInvertedOutputStream> _bitOutputClass)
_bitOutputClass
- public int getNumberOfTargetEntries()
public void setNumberOfTargetEntries(int _numberOfTargetEntries)
_numberOfTargetEntries
- public HadoopPlugin.JobFactory getJf()
public void setJf(HadoopPlugin.JobFactory _jf)
_jf
- public java.lang.Class<?> getMapOutputClass()
public void setMapOutputClass(java.lang.Class<?> _mapOutputClass)
_mapOutputClass
- public int getNumberOfReduceTasks()
public void setNumberOfReduceTasks(int _numberOfReduceTasks)
_numberOfReduceTasks
- public java.lang.String getSourceLookupStructureName()
public void setSourceLookupStructureName(java.lang.String _sourceLookupStructureName)
_sourceLookupStructureName
- public java.lang.String getSourceStructureName()
public void setSourceStructureName(java.lang.String _sourceStructureName)
_sourceStructureName
- public java.lang.String getTargetLookupStructureName()
public void setTargetLookupStructureName(java.lang.String _targetLookupStructureName)
_targetLookupStructureName
- public java.lang.String getTargetStructureName()
public void setTargetStructureName(java.lang.String _targetStructureName)
_targetStructureName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |