|
◆ tbox_index_leaf_consistent()
Basic routines for indexing temporal values.
Basic routines for indexing temporal values.
Since temporal boxes do not distinguish between inclusive and exclusive bounds, it is necessary to generalize the tests, e.g.,
- left : (box1->xmax < box2->xmin) => (box1->xmax <= box2->xmin) e.g., to take into account left([a,b],(b,c])
- right : (box1->xmin > box2->xmax) => (box1->xmin >= box2->xmax) e.g., to take into account right((b,c],[a,b]) and similarly for before and after
- 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
|