|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.storedProcedures.ToWindow
This class realizes the M4 operator "Windowing".
Constructor Summary | |
ToWindow(BusinessDbConnectionSource dbc,
java.lang.String source,
java.lang.String time,
java.lang.String column,
java.lang.String target,
java.lang.String outTimeStart,
java.lang.String outTimeEnd,
java.lang.String[] targetColumns,
int distance)
Constructor |
Method Summary | |
void |
calc()
Method calc() reads from the column(s) specified in the constructor and writes to the specified target, using windowing |
static void |
dbWindow(java.lang.Object dbc,
java.lang.String sourceTable,
java.lang.String timeAttrib,
java.lang.String valueAttrib,
java.lang.String targetTable,
java.lang.String outTimeStart,
java.lang.String outTimeEnd,
java.lang.String outWindowedCols,
int distance)
--- dbWindow --- description : this function has to be used in the database as stored procedure for rerepresenting a time series using windows. |
protected edu.udo.cs.miningmart.storedProcedures.OutputColumnset |
getOutputColumnset()
|
protected Windowing |
getWindow()
|
protected int |
getWindowSize()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ToWindow(BusinessDbConnectionSource dbc, java.lang.String source, java.lang.String time, java.lang.String column, java.lang.String target, java.lang.String outTimeStart, java.lang.String outTimeEnd, java.lang.String[] targetColumns, int distance) throws java.sql.SQLException, TimeOperatorException
dbc
- source of database connection if not used as stored proceduresource
- source tabletime
- time column of source tablecolumn
- value column of source tabletarget
- name of the target table to be createdoutTimeStart
- name of the interval start attribute for
the output tableoutTimeEnd
- name of the interval end attribute for the
output tabletargetColumns
- String array containing the name of the
windowed output columns. Specifies the window size!
java.sql.SQLException
TimeOperatorException
Method Detail |
protected Windowing getWindow()
protected edu.udo.cs.miningmart.storedProcedures.OutputColumnset getOutputColumnset()
protected int getWindowSize()
public void calc() throws TimeOperatorException
TimeOperatorException
public static void dbWindow(java.lang.Object dbc, java.lang.String sourceTable, java.lang.String timeAttrib, java.lang.String valueAttrib, java.lang.String targetTable, java.lang.String outTimeStart, java.lang.String outTimeEnd, java.lang.String outWindowedCols, int distance) throws java.sql.SQLException, TimeOperatorException
java.sql.SQLException
TimeOperatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |