Package edu.gsu.cs.dmlab.datasources
Class HekISDEventDataSource
- java.lang.Object
-
- edu.gsu.cs.dmlab.datasources.HekISDEventDataSource
-
- All Implemented Interfaces:
IISDEventDataSource
public class HekISDEventDataSource extends Object implements IISDEventDataSource
This class is used to retrieve event reports coming from the source location that are intended to be inserted into our database.- Author:
- Dustin Kempton, Surabhi Priya, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description HekISDEventDataSource(IHEKObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IISDEventReport>
getReports(org.joda.time.DateTime startTime, org.joda.time.DateTime endTime, EventType type)
Retrieves all of the event reports of a particular type from the datasource that meet the startTime endTime requirements of having a start time between the two.
-
-
-
Constructor Detail
-
HekISDEventDataSource
public HekISDEventDataSource(IHEKObjectFactory factory)
-
-
Method Detail
-
getReports
public List<IISDEventReport> getReports(org.joda.time.DateTime startTime, org.joda.time.DateTime endTime, EventType type)
Description copied from interface:IISDEventDataSource
Retrieves all of the event reports of a particular type from the datasource that meet the startTime endTime requirements of having a start time between the two.- Specified by:
getReports
in interfaceIISDEventDataSource
- Parameters:
startTime
- The start time of the event search in the datasource. The start time of the event will be on or after this time.endTime
- The end time of the event search in the datasource. The start time of the event will be before this time, but after startTime.type
- The event type to search in the datasource for.- Returns:
- A list of the events that have a start time between startTime and endTime and are of the type specified in the search input.
-
-