public static class Inv2DirectMultiReduce.Inv2DirectMultiReduceJob extends Object
Constructor and Description |
---|
Inv2DirectMultiReduce.Inv2DirectMultiReduceJob(IndexOnDisk _index,
HadoopPlugin.JobFactory _jf)
constructor
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DirectInvertedOutputStream> |
getBitOutputClass()
get bitOutputClass
|
HadoopPlugin.JobFactory |
getJf()
What job factory to use?
|
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
|
String |
getSourceLookupStructureName()
Name of the lookup structure for the source structure.
|
String |
getSourceStructureName()
Name of the source posting structure.
|
String |
getTargetLookupStructureName()
Name of the lookup structure for the target.
|
String |
getTargetStructureName()
Name of the target structure.
|
void |
runJob()
Runs the MapReduce job described by the current state of this class
|
void |
setBitOutputClass(Class<? extends DirectInvertedOutputStream> _bitOutputClass)
set bitOutputClass
|
void |
setJf(HadoopPlugin.JobFactory _jf)
set jf
|
void |
setMapOutputClass(Class<?> _mapOutputClass)
set mapOutputClass
|
void |
setNumberOfReduceTasks(int _numberOfReduceTasks)
set number of reduce task
|
void |
setNumberOfTargetEntries(int _numberOfTargetEntries)
set number of target entries
|
void |
setSourceLookupStructureName(String _sourceLookupStructureName)
set source lookup structure name
|
void |
setSourceStructureName(String _sourceStructureName)
set source structure name
|
void |
setTargetLookupStructureName(String _targetLookupStructureName)
set target lookup structure name
|
void |
setTargetStructureName(String _targetStructureName)
set target structure name
|
public Inv2DirectMultiReduce.Inv2DirectMultiReduceJob(IndexOnDisk _index, HadoopPlugin.JobFactory _jf)
_index
- _jf
- public void runJob() throws Exception
Exception
public Class<? extends DirectInvertedOutputStream> getBitOutputClass()
public void setBitOutputClass(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 Class<?> getMapOutputClass()
public void setMapOutputClass(Class<?> _mapOutputClass)
_mapOutputClass
- public int getNumberOfReduceTasks()
public void setNumberOfReduceTasks(int _numberOfReduceTasks)
_numberOfReduceTasks
- public String getSourceLookupStructureName()
public void setSourceLookupStructureName(String _sourceLookupStructureName)
_sourceLookupStructureName
- public String getSourceStructureName()
public void setSourceStructureName(String _sourceStructureName)
_sourceStructureName
- public String getTargetLookupStructureName()
public void setTargetLookupStructureName(String _targetLookupStructureName)
_targetLookupStructureName
- public String getTargetStructureName()
public void setTargetStructureName(String _targetStructureName)
_targetStructureName
- Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow