|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.conf.Configured
edu.arsc.multisearch.Multisearch
public class Multisearch
Constructor Summary | |
---|---|
Multisearch(java.io.File file)
Create a Multisearch object with a file full of queries. |
|
Multisearch(java.lang.String query)
Create a Multisearch object with only one query. |
Method Summary | |
---|---|
static void |
cleanInput(java.io.File folder)
delete all |
void |
cleanUp()
Given multiple outputs during a batch run, this function combines all results into a single file in basepath called final-results |
java.lang.String[] |
getArgs()
|
static java.lang.String |
getInput()
|
static java.lang.String |
getLabel()
Return the label associated with this Multisearch object. |
static java.lang.String |
getMergeClass()
Return the merge class associated with this Multisearch object |
java.lang.String |
getOutputFile()
|
static java.lang.String |
getQuery()
Return the query associated with this Multisearch object. |
static int |
getQueryNumber()
Return the queryNumber associated with this Multisearch object. |
static void |
main(java.lang.String[] args)
Runs a Multisearch and prints the results. |
int |
run(java.lang.String[] args)
Run function |
static void |
setInput(java.lang.String in)
|
static void |
setLimit(int lim)
|
void |
setMergeClass(java.lang.String classSet)
|
static void |
setOutputType(java.lang.String ot)
|
void |
setPrint(java.io.PrintWriter web)
remove this kylie |
void |
setRestriction(java.lang.String classSet)
|
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 |
Constructor Detail |
---|
public Multisearch(java.lang.String query)
String
- querypublic Multisearch(java.io.File file)
File
- fileMethod Detail |
---|
public static void main(java.lang.String[] args)
public int run(java.lang.String[] args)
run
in interface org.apache.hadoop.util.Tool
public void setPrint(java.io.PrintWriter web)
public static java.lang.String getQuery()
public java.lang.String[] getArgs()
public static java.lang.String getLabel()
public static int getQueryNumber()
public static java.lang.String getMergeClass()
public void setMergeClass(java.lang.String classSet)
String
- public void setRestriction(java.lang.String classSet)
String
- public void cleanUp()
public static void cleanInput(java.io.File folder)
public java.lang.String getOutputFile()
public static java.lang.String getInput()
public static void setOutputType(java.lang.String ot)
public static void setInput(java.lang.String in)
public static void setLimit(int lim)
int
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |