|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthyspirit.engines.HyEngine
hyspirit.engines.HyAnalysisEngine
hyspirit.engines.HyMDS2FreqEngine
public class HyMDS2FreqEngine
Created on 12-Feb-2006 01:07:06
| Field Summary |
|---|
| Fields inherited from class hyspirit.engines.HyEngine |
|---|
argumentString, LOG, stdin, TIME_PREFIX |
| Constructor Summary | |
|---|---|
HyMDS2FreqEngine()
This constructor tries to determine the HySpirit environment automatically |
|
HyMDS2FreqEngine(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)
Adds a column forming the frequency key. |
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 |
countTuples()
Count tuples. |
void |
countValues()
Count values. |
void |
reset()
Resets all parameters of the engine after destroying a possibly running process. |
void |
setAvg(boolean avg)
Whether or not to print the average frequency. |
void |
setGroup(int group)
Sets the group parameter. |
void |
setPriFile(java.lang.String priFile)
Sets the pri file to process large input streams. |
void |
setProbabilistic(boolean probabilistic)
Whether or not to take into account the tuple probabilities specified in the inut file. |
void |
setStream(boolean stream)
Sets or unsets the -stream option. |
void |
windowSize(long windowSize)
Sets the window size. |
| Methods inherited from class hyspirit.engines.HyAnalysisEngine |
|---|
addFile, context, context, runAndWait |
| 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 HyMDS2FreqEngine()
throws HySpiritException
HySpiritException - if the HySiprit envirnoment cannot be
determined
public HyMDS2FreqEngine(HySpiritProperties hyspirit)
throws HySpiritException
hyspirit - the HySpirit properties containing the environment
HySpiritException - if we can't determine the environment| Method Detail |
|---|
public void addColumn(int column)
column - the columnpublic void countValues()
public void countTuples()
public void setProbabilistic(boolean probabilistic)
probabilistic - public void setAvg(boolean avg)
avg - public void setStream(boolean stream)
stream - true if stream option should be set, false for nostream
optionpublic void windowSize(long windowSize)
windowSize - public void setPriFile(java.lang.String priFile)
priFile - the filenamepublic void setGroup(int group)
group - the value of the group parameter.public void addMDSFile(java.lang.String filename)
filename - the name of the MDS filepublic void reset()
run().
reset in class HyEngineprotected java.lang.String[] buildCommand()
buildCommand in class HyAnalysisEngine
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||