34#ifndef __PG_TEMPORAL_BOXOPS_H__
35#define __PG_TEMPORAL_BOXOPS_H__
40#include "general/meos_catalog.h"
41#include "general/temporal.h"
42#include "general/span.h"
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 *));
63 bool (*func)(
const Span *,
const Span *));
65 bool (*func)(
const Span *,
const Span *));
68 bool (*func)(
const TBox *,
const TBox *));
70 bool (*func)(
const TBox *,
const TBox *));
72 bool (*func)(
const Span *,
const Span *));
74 bool (*func)(
const Span *,
const Span *));
76 bool (*func)(
const Span *,
const Span *));
78 bool (*func)(
const TBox *,
const TBox *));
80 bool (*func)(
const TBox *,
const TBox *));
82 bool (*func)(
const TBox *,
const TBox *));
84 bool (*func)(
const TBox *,
const TBox *));
Datum boxop_numspanset_tnumber_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum boxop_temporal_period_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box operator for a temporal value and a period.
Definition: temporal_boxops.c:103
Datum boxop_temporal_timestamp_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum boxop_period_temporal_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box operator for a period and a temporal value.
Definition: temporal_boxops.c:85
Datum boxop_temporal_temporal_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box operator for two temporal values.
Definition: temporal_boxops.c:121
Datum boxop_temporal_periodset_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum boxop_numspan_tnumber_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box operator for a span and a temporal number.
Definition: temporal_boxops.c:362
Datum boxop_number_tnumber_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum boxop_tnumber_tbox_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box operator for a temporal number and a temporal box.
Definition: temporal_boxops.c:416
Datum boxop_tnumber_number_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum boxop_periodset_temporal_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum boxop_timestamp_temporal_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Bounding box operators for temporal types.
Datum boxop_tnumber_numspanset_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Datum boxop_tbox_tnumber_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box operator for a temporal box and a temporal number.
Definition: temporal_boxops.c:398
Datum boxop_tnumber_tnumber_ext(FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
Generic bounding box operator for two temporal numbers.
Definition: temporal_boxops.c:434
Datum boxop_timestampset_temporal_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Datum boxop_tnumber_numspan_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
Generic bounding box operator for a temporal number and a span.
Definition: temporal_boxops.c:380
Datum boxop_temporal_timestampset_ext(FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
uintptr_t Datum
Definition: pg_ext_defs.in.h:4
Structure to represent spans (a.k.a.
Definition: meos.h:70
Structure to represent temporal boxes.
Definition: meos.h:97