forked from usdot-jpo-ode/jpo-cvmanager
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from usdot-jpo-ode/intersection-selection
Intersection selection
- Loading branch information
Showing
10 changed files
with
209 additions
and
109 deletions.
There are no files selected for viewing
Submodule jpo-conflictmonitor
updated
from 64c521 to 79c1b5
22 changes: 12 additions & 10 deletions
22
...e/api/accessors/events/SignalGroupAlignmentEvent/SignalGroupAlignmentEventRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
|
||
package us.dot.its.jpo.ode.api.accessors.events.SignalGroupAlignmentEvent; | ||
package us.dot.its.jpo.ode.api.accessors.events.SignalGroupAlignmentEvent; | ||
|
||
import java.util.List; | ||
import java.util.List; | ||
|
||
import org.springframework.data.mongodb.core.query.Query; | ||
import us.dot.its.jpo.conflictmonitor.monitor.models.events.SignalGroupAlignmentEvent; | ||
import org.springframework.data.mongodb.core.query.Query; | ||
import us.dot.its.jpo.conflictmonitor.monitor.models.events.SignalGroupAlignmentEvent; | ||
import us.dot.its.jpo.ode.api.models.IDCount; | ||
|
||
public interface SignalGroupAlignmentEventRepository{ | ||
Query getQuery(Integer intersectionID, Long startTime, Long endTime, boolean latest); | ||
public interface SignalGroupAlignmentEventRepository { | ||
Query getQuery(Integer intersectionID, Long startTime, Long endTime, boolean latest); | ||
|
||
long getQueryResultCount(Query query); | ||
|
||
List<SignalGroupAlignmentEvent> find(Query query); | ||
} | ||
long getQueryResultCount(Query query); | ||
|
||
List<IDCount> getSignalGroupAlignmentEventsByDay(int intersectionID, Long startTime, Long endTime); | ||
|
||
List<SignalGroupAlignmentEvent> find(Query query); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.