edu.arsc.multisearch.select
Class MatrixSelect

java.lang.Object
  extended by edu.arsc.multisearch.select.Select
      extended by edu.arsc.multisearch.select.MatrixSelect

public class MatrixSelect
extends Select


Field Summary
 
Fields inherited from class edu.arsc.multisearch.select.Select
filename, numReturn
 
Constructor Summary
MatrixSelect()
           
 
Method Summary
 java.lang.String restrict(java.lang.String query, int num)
          Generates the file for Hadoop input.
 
Methods inherited from class edu.arsc.multisearch.select.Select
getFilename, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixSelect

public MatrixSelect()
Method Detail

restrict

public java.lang.String restrict(java.lang.String query,
                                 int num)
Generates the file for Hadoop input. Writes file by default to /home/mccormic/merge/programs/inputfiles/-name-

Overrides:
restrict in class Select
Parameters:
String - query
int - num the number of servers (max) to return
Returns:
String the location of the appropriate input files for Hadoop