Package com.bayesserver.data.timeseries
Class WindowDataReaderCommand
- java.lang.Object
-
- com.bayesserver.data.timeseries.WindowDataReaderCommand
-
- All Implemented Interfaces:
DataReaderCommand
public final class WindowDataReaderCommand extends Object implements DataReaderCommand
A data reader command that reads windows of data over another data reader.
-
-
Constructor Summary
Constructors Constructor Description WindowDataReaderCommand(DataReaderCommand source, WindowOptions windowOptions, WindowDataReaderOptions readerOptions)
Initializes a new instance of theWindowDataReaderCommand
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataReader
executeReader()
Returns an instance ofIDataReader
.
-
-
-
Constructor Detail
-
WindowDataReaderCommand
public WindowDataReaderCommand(DataReaderCommand source, WindowOptions windowOptions, WindowDataReaderOptions readerOptions)
Initializes a new instance of theWindowDataReaderCommand
class.- Parameters:
source
- The source data to window over.windowOptions
- Options for the windows to create.readerOptions
- Options for the window reader, such as a derived column names.
-
-
Method Detail
-
executeReader
public DataReader executeReader()
Returns an instance ofIDataReader
.- Specified by:
executeReader
in interfaceDataReaderCommand
- Returns:
- A data reader.
-
-