DataSerie Constructor
DataSerie Constructor
Serie[T] > Name of the variable
List[Long] > list of dates range of variable data
list of variable values
DataSerie
Returns a specific data from the DataSerie at given index
Returns a specific data from the DataSerie at given index
the given index
T
Returns a part of the DataSerie of given indices
Returns a part of the DataSerie of given indices
List[Int] > given indices
List[T] >
Returns the date (in millisec) of a specific data index
Returns the date (in millisec) of a specific data index
the given index
the date in millisec
Gets the list of dates of the DataSerie
Gets the list of dates of the DataSerie
List[Long] > list of dates (millisec)
Gets the index at given date
Gets the index at given date
date in millisec
the index
Inserts a new value at the beginning of the DataSerie
Inserts a new value at the beginning of the DataSerie
T > the new value to insert
List[T]
Returns the last data from the DataSerie
Returns the last data from the DataSerie
number of data to be returned
List[T]
Returns a new DataSerie with only the indicated last values
Returns a new DataSerie with only the indicated last values
number of data to be returned
List[T]
number of values in the DataSerie
number of values in the DataSerie
Int
Returns the before-last data from the DataSerie
Returns the before-last data from the DataSerie
T
Reads and inserts a value of a specific field in the DataSerie
Reads and inserts a value of a specific field in the DataSerie
ResultSet > the ResultSet containing all fields and value
the header of the fiel to read
List[T]
Slices a portion of the DataSerie
Slices a portion of the DataSerie
date from where to slice
date until where to slice
portion of the DataSerie
Slices a portion of the DataSerie
Slices a portion of the DataSerie
index from where to slice (0-based)
index until where to slice (not included)
portion of the DataSerie
Slices a DataSerie on a given Date
Slices a DataSerie on a given Date
format of the date
the given date from where to slice
List[T]
Returns a list as consecutive unique values (identical consecutive values are reduced to 1 value).
Returns a list as consecutive unique values (identical consecutive values are reduced to 1 value).
input list
output list
Implementation of a class holding data series (time series), with a definition (variable). Time is defined by the start date (in millisec.) and the interval (timestep also in millisec.). It ahs several methods to get the date serie, slice the data and to check the data for missing values or outliers (according to the variable definition).