Commit 163cf1c5 authored by Sören Henning's avatar Sören Henning

added storage driver

parent 576ff9a9
package anomalydetection.storage;
import java.time.Instant;
import anomalydetection.measurement.AnomalyScoredMeasurement;
import anomalydetection.timeseries.TimeSeries;
public class CassandraDriver implements StorageDriver {
public CassandraDriver() {
// TODO Auto-generated constructor stub
}
@Override
public TimeSeries retrieveTimeSeries(Instant start, Instant end) {
// TODO Auto-generated method stub
return null;
}
@Override
public void storeMeasurement(AnomalyScoredMeasurement measurement) {
// TODO Auto-generated method stub
}
}
package anomalydetection.storage;
import java.time.Instant;
import anomalydetection.measurement.AnomalyScoredMeasurement;
import anomalydetection.timeseries.TimeSeries;
public interface StorageDriver {
public TimeSeries retrieveTimeSeries(final Instant start, final Instant end);
public void storeMeasurement(final AnomalyScoredMeasurement measurement);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment