MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tspatial_gist.c File Reference

R-tree GiST index for spatiotemporal values. More...

#include <float.h>
#include <postgres.h>
#include <access/gist.h>
#include <utils/timestamp.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/stratnum.h"
#include "temporal/span.h"
#include "temporal/type_util.h"
#include "geo/stbox.h"
#include "geo/stbox_index.h"
#include "pg_temporal/meos_catalog.h"
#include "pg_temporal/temporal.h"
#include "pg_temporal/tnumber_gist.h"

Functions

void stbox_adjust (void *bbox1, void *bbox2)
 Increase the first box to include the second one. More...
 
Datum Stbox_gist_consistent (PG_FUNCTION_ARGS)
 GiST consistent method for spatiotemporal values. More...
 
Datum Stbox_gist_distance (PG_FUNCTION_ARGS)
 GiST distance for spatiotemporal values. More...
 
Datum Stbox_gist_penalty (PG_FUNCTION_ARGS)
 GiST penalty method for spatiotemporal values. More...
 
Datum Stbox_gist_picksplit (PG_FUNCTION_ARGS)
 GiST picksplit method for spatiotemporal values. More...
 
Datum Stbox_gist_same (PG_FUNCTION_ARGS)
 GiST same method for spatiotemporal values. More...
 
Datum Stbox_gist_union (PG_FUNCTION_ARGS)
 GiST union method for spatiotemporal values. More...
 
double stbox_penalty (void *bbox1, void *bbox2)
 Return the amount by which the union of the two boxes is larger than the original STBox's volume. More...
 
static double stbox_size (const STBox *box)
 Return the size of a spatiotemporal box for penalty calculation. More...
 
static void stbox_union_gist (const STBox *a, const STBox *b, STBox *new)
 Calculate the union of two spatiotemporal boxes. More...
 
Datum Tspatial_gist_compress (PG_FUNCTION_ARGS)
 GiST compress methods for spatiotemporal values. More...
 
static bool tspatial_gist_get_stbox (FunctionCallInfo fcinfo, STBox *result, meosType type)
 Transform a query argument into a box initializing the dimensions that must not be taken into account by the operators to infinity. More...
 

Detailed Description

R-tree GiST index for spatiotemporal values.