|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.data.TimeSeriesRow
public class TimeSeriesRow
This class fills in the missing gaps in the time series.
| Constructor Summary | |
|---|---|
TimeSeriesRow()
Create a time series row. |
|
TimeSeriesRow(String tcol,
int dtype,
Object missingval)
Create a calc row. |
|
| Method Summary | |
|---|---|
List |
calculate(DataSet data)
Calculate the values for the dataset. |
Comparator |
getComparator(String col)
Get the comparer to sort data at the specified column. |
String[] |
getGroupFields()
Get the fields for grouping values into subsets for filling in time series. |
int |
getMaxGaps()
Get the maximum number of rows to add to fill the gaps. |
Object |
getMissingValue(String measure)
Get the per measure missing time gap value. |
String[] |
getOuterFields()
Get the outer dimension fields. |
String |
getTimeColumn()
Get the time series column name. |
int |
getTimeType()
Get the time series type. |
protected boolean |
isFillTimeGap(String dim)
|
protected boolean |
isRunningTotal(String dim)
|
void |
setGroupFields(String[] fields)
Set the fields for grouping values into subsets for filling in time series. |
void |
setMaxGaps(int max)
Set the maximum number of rows to add to fill the gaps. |
void |
setMissingValue(String measure,
Object val)
Set the per measure missing time gap value. |
void |
setOuterFields(String[] fields)
Set the outer dimension fields. |
void |
setTimeColumn(String tcol)
Set the time series column name. |
void |
setTimeType(int dtype)
Set the time series type, one of the constants defined in TimeScale (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSeriesRow()
public TimeSeriesRow(String tcol,
int dtype,
Object missingval)
tcol - the time series column.dtype - date column type, a constants defined in TimeScale.missingval - the measure value for filling missing time gaps.| Method Detail |
|---|
public void setTimeColumn(String tcol)
public String getTimeColumn()
public void setTimeType(int dtype)
public int getTimeType()
public void setMissingValue(String measure,
Object val)
public Object getMissingValue(String measure)
public void setGroupFields(String[] fields)
public String[] getGroupFields()
public void setOuterFields(String[] fields)
public String[] getOuterFields()
public int getMaxGaps()
public void setMaxGaps(int max)
public List calculate(DataSet data)
calculate in interface CalcRowprotected boolean isFillTimeGap(String dim)
protected boolean isRunningTotal(String dim)
public Comparator getComparator(String col)
getComparator in interface CalcRowcol - the specified column.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||