34#ifndef __PG_TEMPORAL_BOXOPS_H__
35#define __PG_TEMPORAL_BOXOPS_H__
45 bool (*func)(
const Span *,
const Span *));
47 bool (*func)(
const Span *,
const Span *));
49 bool (*func)(
const Span *,
const Span *));
51 bool (*func)(
const Span *,
const Span *));
53 bool (*func)(
const Span *,
const Span *));
55 bool (*func)(
const Span *,
const Span *));
57 bool (*func)(
const Span *,
const Span *));
59 bool (*func)(
const Span *,
const Span *));
61 bool (*func)(
const Span *,
const Span *));
64 bool (*func)(
const TBox *,
const TBox *));
66 bool (*func)(
const TBox *,
const TBox *));
68 bool (*func)(
const Span *,
const Span *));
70 bool (*func)(
const Span *,
const Span *));
72 bool (*func)(
const Span *,
const Span *));
74 bool (*func)(
const TBox *,
const TBox *));
76 bool (*func)(
const TBox *,
const TBox *));
78 bool (*func)(
const TBox *,
const TBox *));
80 bool (*func)(
const TBox *,
const TBox *));
External API of the Mobility Engine Open Source (MEOS) library.
Datum Boxop_tnumber_tbox(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box function for a temporal number and a temporal box.
Definition: temporal_boxops.c:546
Datum Boxop_temporal_tstzspan(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box function for a temporal value and a timestamptz span.
Definition: temporal_boxops.c:223
Datum Boxop_numspanset_tnumber(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum Boxop_temporal_tstzset(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum Boxop_numspan_tnumber(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box function for a span and a temporal number.
Definition: temporal_boxops.c:494
Datum Boxop_number_tnumber(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum Boxop_tnumber_numspan(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box function for a temporal number and a span.
Definition: temporal_boxops.c:510
Datum Boxop_tnumber_numspanset(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum Boxop_tnumber_tnumber(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box function for two temporal numbers.
Definition: temporal_boxops.c:562
Datum Boxop_tstzset_temporal(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum Boxop_tstzspan_temporal(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box function for a timestamptz span and a temporal value.
Definition: temporal_boxops.c:206
Datum Boxop_timestamp_temporal(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Bounding box operators for temporal types.
Datum Boxop_temporal_timestamptz(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum Boxop_temporal_temporal(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box function for two temporal values.
Definition: temporal_boxops.c:239
Datum Boxop_tnumber_number(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum Boxop_tbox_tnumber(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box function for a temporal box and a temporal number.
Definition: temporal_boxops.c:527
Datum Boxop_temporal_tstzspanset(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum Boxop_tstzspanset_temporal(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
uintptr_t Datum
Definition: postgres_ext_defs.in.h:7
Structure to represent spans (a.k.a.
Definition: meos.h:94
Structure to represent temporal boxes.
Definition: meos.h:124