MobilityDB 1.1
Functions
temporal_boxops.c File Reference
#include "general/temporal_boxops.h"
#include <postgres.h>
#include <utils/palloc.h>
#include <fmgr.h>
#include <utils/timestamp.h>
#include <meos.h>
#include <meos_internal.h>
#include "point/tpoint_boxops.h"
#include "pg_general/meos_catalog.h"
Include dependency graph for temporal_boxops.c:

Functions

PGDLLEXPORT Datum Adjacent_numspan_tnumber (PG_FUNCTION_ARGS)
 Return true if the span and the bounding box of the temporal number are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_period_temporal (PG_FUNCTION_ARGS)
 Return true if a period and the bounding period of a temporal value are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_tbox_tnumber (PG_FUNCTION_ARGS)
 Return true if the temporal box and the bounding box of the temporal number are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_temporal_period (PG_FUNCTION_ARGS)
 Return true if the bounding period of a temporal value and a period are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_temporal_temporal (PG_FUNCTION_ARGS)
 Return true if the bounding periods of the temporal values are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_tnumber_numspan (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the span are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_tnumber_tbox (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the temporal box are adjacent. More...
 
PGDLLEXPORT Datum Adjacent_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return true if the bounding boxes of the temporal numbers are adjacent. More...
 
Datum boxop_numspan_tnumber_ext (FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
 Generic bounding box operator for a span and a temporal number. More...
 
Datum boxop_period_temporal_ext (FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
 Generic bounding box operator for a period and a temporal value. More...
 
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. More...
 
Datum boxop_temporal_period_ext (FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
 Generic bounding box operator for a temporal value and a period. More...
 
Datum boxop_temporal_temporal_ext (FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
 Generic bounding box operator for two temporal values. More...
 
Datum boxop_tnumber_numspan_ext (FunctionCallInfo fcinfo, bool(*func)(const Span *, const Span *))
 Generic bounding box operator for a temporal number and a span. More...
 
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. More...
 
Datum boxop_tnumber_tnumber_ext (FunctionCallInfo fcinfo, bool(*func)(const TBox *, const TBox *))
 Generic bounding box operator for two temporal numbers. More...
 
PGDLLEXPORT Datum Contained_numspan_tnumber (PG_FUNCTION_ARGS)
 Return true if the span is contained in the bounding box of the temporal number. More...
 
PGDLLEXPORT Datum Contained_period_temporal (PG_FUNCTION_ARGS)
 Return true if a period is contained the bounding period of the temporal value. More...
 
PGDLLEXPORT Datum Contained_tbox_tnumber (PG_FUNCTION_ARGS)
 Return true if the temporal box is contained in the bounding box of the temporal number. More...
 
PGDLLEXPORT Datum Contained_temporal_period (PG_FUNCTION_ARGS)
 Return true if the bounding period of a temporal value is contained in a period. More...
 
PGDLLEXPORT Datum Contained_temporal_temporal (PG_FUNCTION_ARGS)
 Return true if the bounding period of the first temporal value is contained in the one of the second temporal value. More...
 
PGDLLEXPORT Datum Contained_tnumber_numspan (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number is contained in the span. More...
 
PGDLLEXPORT Datum Contained_tnumber_tbox (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number is contained in the temporal box. More...
 
PGDLLEXPORT Datum Contained_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return true if the bounding box of the first temporal number is contained in the one of the second temporal number. More...
 
PGDLLEXPORT Datum Contains_numspan_tnumber (PG_FUNCTION_ARGS)
 Return true if the span contains the bounding box of the temporal number. More...
 
PGDLLEXPORT Datum Contains_numspanset_tnumber (PG_FUNCTION_ARGS)
 Return true if the span set contains the bounding box of the temporal number. More...
 
PGDLLEXPORT Datum Contains_period_temporal (PG_FUNCTION_ARGS)
 Return true if a period contains the bounding period of a temporal value. More...
 
PGDLLEXPORT Datum Contains_tbox_tnumber (PG_FUNCTION_ARGS)
 Return true if the temporal box contains the bounding box of the temporal number. More...
 
PGDLLEXPORT Datum Contains_temporal_period (PG_FUNCTION_ARGS)
 Return true if the bounding period of a temporal value contains a period. More...
 
PGDLLEXPORT Datum Contains_temporal_temporal (PG_FUNCTION_ARGS)
 Return true if the bounding period of the first temporal value contains the one of the second one. More...
 
PGDLLEXPORT Datum Contains_tnumber_numspan (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number contains the span. More...
 
PGDLLEXPORT Datum Contains_tnumber_tbox (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number contains the temporal box. More...
 
PGDLLEXPORT Datum Contains_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return true if the bounding box of the first temporal number contains the one of the second temporal number. More...
 
PGDLLEXPORT Datum Overlaps_numspan_tnumber (PG_FUNCTION_ARGS)
 Return true if the span and the bounding box of the temporal number overlap. More...
 
PGDLLEXPORT Datum Overlaps_period_temporal (PG_FUNCTION_ARGS)
 Return true if a period and the bounding period of a temporal value overlap. More...
 
PGDLLEXPORT Datum Overlaps_tbox_tnumber (PG_FUNCTION_ARGS)
 Return true if the temporal box and the bounding box of the temporal number overlap. More...
 
PGDLLEXPORT Datum Overlaps_temporal_period (PG_FUNCTION_ARGS)
 Return true if the bounding period of a temporal value and a period overlap. More...
 
PGDLLEXPORT Datum Overlaps_temporal_temporal (PG_FUNCTION_ARGS)
 Return true if the bounding periods of the temporal values overlap. More...
 
PGDLLEXPORT Datum Overlaps_tnumber_numspan (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the span overlap. More...
 
PGDLLEXPORT Datum Overlaps_tnumber_tbox (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the temporal box overlap. More...
 
PGDLLEXPORT Datum Overlaps_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return true if the bounding boxes of the temporal numbers overlap. More...
 
PGDLLEXPORT Datum Same_numspan_tnumber (PG_FUNCTION_ARGS)
 Return true if the span and the bounding box of the temporal number are equal on the common dimensions. More...
 
PGDLLEXPORT Datum Same_period_temporal (PG_FUNCTION_ARGS)
 Return true if a period and the bounding period of a temporal value are equal. More...
 
PGDLLEXPORT Datum Same_tbox_tnumber (PG_FUNCTION_ARGS)
 Return true if the temporal box and the bounding box of the temporal number are equal in the common dimensions. More...
 
PGDLLEXPORT Datum Same_temporal_period (PG_FUNCTION_ARGS)
 Return true if the bounding period of a temporal value and a period are equal. More...
 
PGDLLEXPORT Datum Same_temporal_temporal (PG_FUNCTION_ARGS)
 Return true if the bounding periods of the temporal values are equal. More...
 
PGDLLEXPORT Datum Same_tnumber_numspan (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the span are equal on the common dimensions. More...
 
PGDLLEXPORT Datum Same_tnumber_tbox (PG_FUNCTION_ARGS)
 Return true if the bounding box of the temporal number and the temporal box are equal in the common dimensions. More...
 
PGDLLEXPORT Datum Same_tnumber_tnumber (PG_FUNCTION_ARGS)
 Return true if the bounding boxes of the temporal numbers are equal in the common dimensions. More...
 
uint32_t temporal_max_header_size (void)
 Bounding box operators for temporal types. More...