R-tree GiST index for temporal integers and temporal floats.
These functions are based on those in the file gistproc.c
.
Leaf-level consistency for temporal numbers.
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