MobilityDB  1.0
tnpoint_selfuncs.h
Go to the documentation of this file.
1 /*****************************************************************************
2  *
3  * This MobilityDB code is provided under The PostgreSQL License.
4  *
5  * Copyright (c) 2016-2021, Université libre de Bruxelles and MobilityDB
6  * contributors
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation for any purpose, without fee, and without a written
10  * agreement is hereby granted, provided that the above copyright notice and
11  * this paragraph and the following two paragraphs appear in all copies.
12  *
13  * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR
14  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
15  * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
16  * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY
17  * OF SUCH DAMAGE.
18  *
19  * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21  * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON
22  * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO
23  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 
24  *
25  *****************************************************************************/
26 
32 #ifndef __TNPOINT_SELFUNCS_H__
33 #define __TNPOINT_SELFUNCS_H__
34 
35 #include <postgres.h>
36 #include <catalog/pg_type.h>
37 #include <fmgr.h>
38 
39 /*****************************************************************************/
40 
41 extern Datum tnpoint_overlaps_sel(PG_FUNCTION_ARGS);
42 extern Datum tnpoint_overlaps_joinsel(PG_FUNCTION_ARGS);
43 extern Datum tnpoint_contains_sel(PG_FUNCTION_ARGS);
44 extern Datum tnpoint_contains_joinsel(PG_FUNCTION_ARGS);
45 extern Datum tnpoint_same_sel(PG_FUNCTION_ARGS);
46 extern Datum tnpoint_same_joinsel(PG_FUNCTION_ARGS);
47 extern Datum tnpoint_adjacent_sel(PG_FUNCTION_ARGS);
48 extern Datum tnpoint_adjacent_joinsel(PG_FUNCTION_ARGS);
49 extern Datum tnpoint_position_sel(PG_FUNCTION_ARGS);
50 extern Datum tnpoint_position_joinsel(PG_FUNCTION_ARGS);
51 
52 /*****************************************************************************/
53 
54 #endif /* __TNPOINT_SELFUNCS_H__ */
Datum tnpoint_adjacent_joinsel(PG_FUNCTION_ARGS)
Estimate the join selectivity value of the adjacent operator for temporal network points...
Definition: tnpoint_selfuncs.c:151
Datum tnpoint_adjacent_sel(PG_FUNCTION_ARGS)
Estimate the selectivity value of the adjacent operator for temporal network points.
Definition: tnpoint_selfuncs.c:140
Datum tnpoint_contains_sel(PG_FUNCTION_ARGS)
Estimate the selectivity value of the contains operator for temporal network points.
Definition: tnpoint_selfuncs.c:96
Datum tnpoint_overlaps_joinsel(PG_FUNCTION_ARGS)
Estimate the join selectivity value of the overlap operator for temporal network points.
Definition: tnpoint_selfuncs.c:85
Datum tnpoint_same_joinsel(PG_FUNCTION_ARGS)
Estimate the join selectivity value of the same operator for temporal network points.
Definition: tnpoint_selfuncs.c:129
Datum tnpoint_position_joinsel(PG_FUNCTION_ARGS)
Estimate the join selectivity value of the relative position operators for temporal network points...
Definition: tnpoint_selfuncs.c:183
Datum tnpoint_same_sel(PG_FUNCTION_ARGS)
Estimate the selectivity value of the same operator for temporal network points.
Definition: tnpoint_selfuncs.c:118
Datum tnpoint_contains_joinsel(PG_FUNCTION_ARGS)
Estimate the join selectivity value of the contains operator for temporal network points...
Definition: tnpoint_selfuncs.c:107
Datum tnpoint_overlaps_sel(PG_FUNCTION_ARGS)
Estimate the selectivity value of the overlap operator for temporal network points.
Definition: tnpoint_selfuncs.c:74
Datum tnpoint_position_sel(PG_FUNCTION_ARGS)
Estimate the selectivity value of the relative position operators for temporal network points...
Definition: tnpoint_selfuncs.c:172