-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTP filters #5630
Comments
In order to support flex it would be nice if this supported not only TripPatterns but also Trips. I sketched out a solution for flex filtering and it wasn't very hard to support both since the main methods to use ( |
What is the attributes you use in Route? Maybe it is better to add explisit methods: |
One thought - if we can make a cashed BitSet for every possible leaf-node in the expression, than we can eliminate the domain/entity dependency in the factories as well. Then the only thing we swap for filtering different types is the cashe. PS! This is not possible at the moment because of the problems we have with inconsistency with RT updates. We need indexes over all entities filtered to do this. And these need to be consistent with the RT Transit Snapshot model. |
How can I help with moving us into the right direction? |
Goal / high level use-case
The goal is to create reusable, consistent way of doing filtering on the OTP APIs and configuration - and have a general implementation which can be tailred to each specific use-case. This should work with the goal of filtering transit data very efficient for performance reasons - (the idea is to use bitmaps for this).
This issue is manly a ticket for discussion.
Her is a diagram witch illustrate the design:
The text was updated successfully, but these errors were encountered: