DataType
- The data type. Must implement the Temporal
interface.public interface BatchTemporalDataSource<DataType extends Temporal> extends TemporalDataSource<DataType>, java.util.List<DataType>
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getMaxTime()
Gets the maximum time for the dataset.
|
java.util.Date |
getMinTime()
Gets the minimum time for the dataset.
|
SeekableTemporalDataReadChannel<DataType> |
readChannel()
Gets the read channel for the data source.
|
BatchTemporalDataSource<DataType> |
resample(double samplePeriod)
Resamples the data at the given sample period using zero-order hold.
|
BatchTemporalDataSource<DataType> |
zeroOrderHold(BatchTemporalDataSource<? extends Temporal> alignTo)
Creates a new version of this data source that is aligned to the given
temporal data source using zero-order holding.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
SeekableTemporalDataReadChannel<DataType> readChannel()
readChannel
in interface TemporalDataSource<DataType extends Temporal>
BatchTemporalDataSource<DataType> zeroOrderHold(BatchTemporalDataSource<? extends Temporal> alignTo)
alignTo
- The data source to align to.BatchTemporalDataSource<DataType> resample(double samplePeriod)
samplePeriod
- persiod, in seconds, at which to resample the data.java.util.Date getMinTime()
java.util.Date getMaxTime()