Hermes
 All Data Structures Files Functions Variables Macros Pages
Accessors.c File Reference

The implementation of Trajectory. More...

#include "../../h/SpatioTemporal/Trajectory/Accessors.h"
#include "../../h/Utilities/Utilities.h"
#include <funcapi.h>
#include <access/tuptoaster.h>
Include dependency graph for Accessors.c:

Functions

PGDLLEXPORT Datum sizeTrajectory (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sizeTrajectory)
 
int32 NrPointsTrajectory (Datum trajectory)
 
PGDLLEXPORT Datum NrPointsTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (NrPointsTrajectoryV1)
 
PGDLLEXPORT Datum NrSegmentsTrajectory (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (NrSegmentsTrajectory)
 
float8 samplingPeriodTrajectory (Datum trajectory)
 
PGDLLEXPORT Datum samplingPeriodTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (samplingPeriodTrajectoryV1)
 
PointSTpointAtTrajectory (Datum trajectory, int32 i, PointST *result)
 
SegmentSTsegmentAtTrajectory (Datum trajectory, int32 i, SegmentST *result)
 
PGDLLEXPORT Datum pointAtTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (pointAtTrajectoryV1)
 
PGDLLEXPORT Datum segmentAtTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (segmentAtTrajectoryV1)
 
PointSTfirstPointTrajectory (Datum trajectory, PointST *result)
 
PointSTlastPointTrajectory (Datum trajectory, PointST *result)
 
SegmentSTfirstSegmentTrajectory (Datum trajectory, SegmentST *result)
 
SegmentSTlastSegmentTrajectory (Datum trajectory, SegmentST *result)
 
PGDLLEXPORT Datum firstPointTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (firstPointTrajectoryV1)
 
PGDLLEXPORT Datum lastPointTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (lastPointTrajectoryV1)
 
PGDLLEXPORT Datum firstSegmentTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (firstSegmentTrajectoryV1)
 
PGDLLEXPORT Datum lastSegmentTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (lastSegmentTrajectoryV1)
 
TrajectorysubTrajectory (Datum trajectory, int32 s, int32 e)
 
PGDLLEXPORT Datum subTrajectoryV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (subTrajectoryV1)
 
PGDLLEXPORT Datum pointsTrajectory (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (pointsTrajectory)
 
PGDLLEXPORT Datum segmentsTrajectory (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (segmentsTrajectory)
 

Detailed Description

The implementation of Trajectory.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the Trajectory/Accessors.h

Function Documentation

PointST* firstPointTrajectory ( Datum  trajectory,
PointST result 
)

References pointAtTrajectory().

Referenced by firstPointTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum firstPointTrajectoryV1 ( PG_FUNCTION_ARGS  )

References firstPointTrajectory().

Here is the call graph for this function:

SegmentST* firstSegmentTrajectory ( Datum  trajectory,
SegmentST result 
)

References segmentAtTrajectory().

Referenced by firstSegmentTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum firstSegmentTrajectoryV1 ( PG_FUNCTION_ARGS  )

References firstSegmentTrajectory().

Here is the call graph for this function:

PointST* lastPointTrajectory ( Datum  trajectory,
PointST result 
)

References NrPointsTrajectory(), and pointAtTrajectory().

Referenced by lastPointTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum lastPointTrajectoryV1 ( PG_FUNCTION_ARGS  )

References lastPointTrajectory().

Here is the call graph for this function:

SegmentST* lastSegmentTrajectory ( Datum  trajectory,
SegmentST result 
)

References NrPointsTrajectory(), and segmentAtTrajectory().

Referenced by lastSegmentTrajectoryV1().

Here is the call graph for this function:

PGDLLEXPORT Datum lastSegmentTrajectoryV1 ( PG_FUNCTION_ARGS  )

References lastSegmentTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum NrPointsTrajectoryV1 ( PG_FUNCTION_ARGS  )

References NrPointsTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum NrSegmentsTrajectory ( PG_FUNCTION_ARGS  )

References NrPoints2NrSegments, and NrPointsTrajectory().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( sizeTrajectory  )
PG_FUNCTION_INFO_V1 ( NrPointsTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( NrSegmentsTrajectory  )
PG_FUNCTION_INFO_V1 ( samplingPeriodTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( pointAtTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( segmentAtTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( firstPointTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( lastPointTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( firstSegmentTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( lastSegmentTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( subTrajectoryV1  )
PG_FUNCTION_INFO_V1 ( pointsTrajectory  )
PG_FUNCTION_INFO_V1 ( segmentsTrajectory  )
PGDLLEXPORT Datum pointAtTrajectoryV1 ( PG_FUNCTION_ARGS  )

References pointAtTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum pointsTrajectory ( PG_FUNCTION_ARGS  )

References i(), Trajectory::NrPoints, Trajectory::points, and trajectory().

Here is the call graph for this function:

float8 samplingPeriodTrajectory ( Datum  trajectory)
PGDLLEXPORT Datum samplingPeriodTrajectoryV1 ( PG_FUNCTION_ARGS  )

References samplingPeriodTrajectory(), and seconds2interval().

Here is the call graph for this function:

SegmentST* segmentAtTrajectory ( Datum  trajectory,
int32  i,
SegmentST result 
)
PGDLLEXPORT Datum segmentAtTrajectoryV1 ( PG_FUNCTION_ARGS  )

References segmentAtTrajectory().

Here is the call graph for this function:

PGDLLEXPORT Datum segmentsTrajectory ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sizeTrajectory ( PG_FUNCTION_ARGS  )
Trajectory* subTrajectory ( Datum  trajectory,
int32  s,
int32  e 
)
PGDLLEXPORT Datum subTrajectoryV1 ( PG_FUNCTION_ARGS  )

References subTrajectory(), and updateMetadataTrajectory().

Here is the call graph for this function: