ivory.ptc
Class AnchorTextInvertedIndex

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by edu.umd.cloud9.util.PowerTool
          extended by ivory.ptc.AnchorTextInvertedIndex
All Implemented Interfaces:
Configurable, Tool

public class AnchorTextInvertedIndex
extends PowerTool

Map-Reduce job that constructs anchor text-inverted index. The inverted index contains, for each unique anchor text, a list of documents that are pointed to by that anchor text.

Author:
Nima Asadi

Field Summary
static String PARAMETER_SEPARATER
           
static String[] RequiredParameters
           
 
Constructor Summary
AnchorTextInvertedIndex(Configuration conf)
           
 
Method Summary
 String[] getRequiredParameters()
           
 int runTool()
           
 
Methods inherited from class edu.umd.cloud9.util.PowerTool
run, run
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

PARAMETER_SEPARATER

public static final String PARAMETER_SEPARATER
See Also:
Constant Field Values

RequiredParameters

public static final String[] RequiredParameters
Constructor Detail

AnchorTextInvertedIndex

public AnchorTextInvertedIndex(Configuration conf)
Method Detail

getRequiredParameters

public String[] getRequiredParameters()
Specified by:
getRequiredParameters in class PowerTool

runTool

public int runTool()
            throws Exception
Specified by:
runTool in class PowerTool
Throws:
Exception