@Service
public class AggregatedTrajectoryService
extends java.lang.Object
Constructor and Description |
---|
AggregatedTrajectoryService(AggregatedTrajectoryRepository aggregatedTrajectoryRepository) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<AggregatedTrajectoryView> |
getAggregatedTrajectoriesByAreaId(java.util.UUID monitoredAreaID,
java.time.Instant since,
java.time.Instant until,
double minVelocity,
double maxVelocity)
Returns aggregated trajectories filtered by the given criteria
|
@Autowired public AggregatedTrajectoryService(AggregatedTrajectoryRepository aggregatedTrajectoryRepository)
public java.lang.Iterable<AggregatedTrajectoryView> getAggregatedTrajectoriesByAreaId(java.util.UUID monitoredAreaID, java.time.Instant since, java.time.Instant until, double minVelocity, double maxVelocity)
monitoredAreaID
- the ID of the monitored are whose trajectories should be returnedsince
- the time since when trajectories should be returneduntil
- the time until when trajectories should be returnedminVelocity
- minimum speed in pixels per second, points at which the speed was
lower will not be returnedmaxVelocity
- maximum speed in pixels per second (-1 for unlimited), points at
which the speed was higher will not be returned