|
◆ stbox_index_consistent_leaf()
bool stbox_index_consistent_leaf |
( |
const STBox * |
key, |
|
|
const STBox * |
query, |
|
|
StrategyNumber |
strategy |
|
) |
| |
R-tree GiST index for temporal points.
Leaf-level consistency for temporal points.
Since spatiotemporal boxes do not distinguish between inclusive and exclusive bounds it is necessary to generalize the tests, e.g.,
- before : (box1->tmax < box2->tmin) => (box1->tmax <= box2->tmin) e.g., to take into account before([a,b],(b,c])
- after : (box1->tmin > box2->tmax) => (box1->tmin >= box2->tmax) e.g., to take into account after((b,c],[a,b])
- Parameters
-
[in] | key | Element in the index |
[in] | query | Value being looked up in the index |
[in] | strategy | Operator of the operator class being applied |
- Note
- This function is used for both GiST and SP-GiST indexes
|