• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MobilityDB / MobilityDB / 23604155451
95%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2026 04:00PM UTC
Jobs 1
Files 128
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2026 03:55PM UTC coverage: 95.212%. Remained the same
23604155451

push

github

web-flow
Add search operation support to R-tree (overlaps, contains, contained_by) (#772)

Add RTreeSearchOp enum to the public API with three operations following
the GiST naming convention (from the stored box's perspective):
- RTREE_OVERLAPS: find stored boxes that overlap the query
- RTREE_CONTAINS: find stored boxes that contain the query (@>)
- RTREE_CONTAINED_BY: find stored boxes contained by the query (<@)

Refactor node_search following the GiST pattern with separate
leaf_consistent and inner_consistent functions:
- leaf_consistent applies the exact predicate at leaf nodes
- inner_consistent applies a looser pruning check at inner nodes (e.g.,
for CONTAINS the inner node bbox must contain the query, while for
OVERLAPS/CONTAINED_BY a simple overlap check suffices)

The search op is placed before the query pointer in the signature so
that rtree_search(rtree, RTREE_CONTAINS, box, &count) reads like the SQL
pattern: column @> value.

Also make node_search static (only used within the file).

32652 of 34294 relevant lines covered (95.21%)

1140943.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23604155451.1 26 Mar 2026 04:00PM UTC 128
95.21
GitHub Action Run
Source Files on build 23604155451
  • Tree
  • List 128
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c9dbe4d8 on github
  • Prev Build on master (#23602072690)
  • Next Build on master (#23604848585)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc