|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthyspirit.engines.HyEngine
hyspirit.engines.HyMDS2PRIEngine
public class HyMDS2PRIEngine
This engine creates a probabilistic relational index (PRI) file from a multi-dimesional space (MDS) file. See hy_mds2pri manual for further details.
Created on 16-Jul-2006 17:46:10
| Field Summary |
|---|
| Fields inherited from class hyspirit.engines.HyEngine |
|---|
argumentString, LOG, stdin, TIME_PREFIX |
| Constructor Summary | |
|---|---|
HyMDS2PRIEngine()
This constructor tries to determine the HySpirit environment automatically |
|
HyMDS2PRIEngine(HySpiritProperties hyspirit)
This constructor must be used if you are going to start your own engine process (client/server mode). |
|
| Method Summary | |
|---|---|
void |
addColumn(int column)
The columns for which the index should be created. |
void |
addColumn(java.lang.Integer column)
The columns for which the index should be created. |
void |
addMDSFile(java.lang.String filename)
Add a file to read the MDS data from. |
protected java.lang.String[] |
buildCommand()
Builds the command from the parameters. |
void |
reset()
Resets all parameters of the engine after destroying a possibly running process. |
void |
setOutputFile(java.lang.String outputFile)
Sets the file name in which the PRI is stores (if not specified, it is stored in "a.pri") |
static void |
useHy()
Invoke this before you create a new HyMDS2PRIEngine object to use hy_mds2pri instead of hyp_mds2pri (this is the default) |
static void |
useHyp()
Invoke this before you create a new HyMDS2PRIEngine object to use hyp_mds2pri instead of hy_mds2pri |
| Methods inherited from class hyspirit.engines.HyEngine |
|---|
closeSTDIN, destroy, echoSpecial, exitValue, getCommand, getEngineName, getInputReader, getOutputWriter, getPercentageCPU, getRealTime, getSTDERR, getSTDIN, getSTDOUT, getStreamEndMessage, getSysTime, getUserTime, hasNext, isInClientMode, isRunning, kb, kb, kb, next, readFromSTDIN, restart, run, send, send, sendAndReceive, sendFile, setArgumentString, setLogger, start, suppressSTDERR, takesTime, takeTime, waitFor, waitTillRunning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HyMDS2PRIEngine()
throws HySpiritException
HySpiritException - if the HySiprit envirnoment cannot be
determined
public HyMDS2PRIEngine(HySpiritProperties hyspirit)
throws HySpiritException
hyspirit - the HySpirit properties containing the environment
HySpiritException - if we can't determine the environment| Method Detail |
|---|
public static void useHyp()
hyp_mds2pri instead of hy_mds2pri
public static void useHy()
hy_mds2pri instead of hyp_mds2pri (this is the default)
public void reset()
run().
reset in class HyEnginepublic void addMDSFile(java.lang.String filename)
filename - the name of the MDS filepublic void addColumn(int column)
column - the columnpublic void addColumn(java.lang.Integer column)
column - the columnpublic void setOutputFile(java.lang.String outputFile)
outputFile - the name of the PRI output fileprotected java.lang.String[] buildCommand()
buildCommand in class HyEngine
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||