 |
vrpRouting
0.3
|
Go to the documentation of this file.
25 #ifndef INCLUDE_C_COMMON_GET_CHECK_DATA_H_
26 #define INCLUDE_C_COMMON_GET_CHECK_DATA_H_
172 #endif // INCLUDE_C_COMMON_GET_CHECK_DATA_H_
Priority get_Priority(HeapTuple *, TupleDesc *, Column_info_t, Priority)
get Priority from data
Distance get_Distance(HeapTuple *, TupleDesc *, Column_info_t, Distance)
get Distance from data
TTimestamp timestamp_without_timezone(TTimestamp timestamp)
Converts timestamp to timestamp without timezone.
bool column_found(int colNumber)
Check whether the colNumber represent any specific column or NULL (SPI_ERROR_NOATTRIBUTE).
Coordinate spi_getCoordinate(HeapTuple *, TupleDesc *, Column_info_t, Coordinate)
get a coordinate value
Id get_Id(HeapTuple *, TupleDesc *, Column_info_t, Id)
get Id from data
TInterval get_TInterval(HeapTuple *, TupleDesc *, Column_info_t, TInterval)
gets an interval value from postgres type INTERVAL
Idx get_Idx(HeapTuple *, TupleDesc *, Column_info_t, Idx)
get Idx from data
TTimestamp get_TTimestamp(HeapTuple *, TupleDesc *, Column_info_t, TTimestamp)
gets a timestamp value from postgres type TIMESTAMP
int64_t * spi_getPositiveBigIntArr_allowEmpty(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, size_t *the_size)
Function returns the values of specified columns in array.
TInterval get_PositiveTInterval(HeapTuple *, TupleDesc *, Column_info_t, TInterval)
gets an interval value from postgres type INTERVAL > 0
MatrixIndex get_MatrixIndex(HeapTuple *, TupleDesc *, Column_info_t, MatrixIndex)
get MatrixIndex from data
int64_t * spi_getBigIntArr_allowEmpty(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, size_t *the_size)
Function returns the values of specified columns in array.
char * spi_getText(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
gets string representation of the value of specified column.
int32_t spi_getMaxTasks(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
gets the vehicle max tasks value
char get_Kind(HeapTuple *, TupleDesc *, Column_info_t, char)
get Kind from data
TTimestamp get_PositiveTTimestamp_plain(HeapTuple *, TupleDesc *, Column_info_t, TTimestamp)
gets a timestamp value from ANY-INTEGER > 0
PAmount get_PositiveAmount(HeapTuple *, TupleDesc *, Column_info_t, PAmount)
get positive Amount from data
uint32_t * spi_getPositiveIntArr_allowEmpty(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, size_t *the_size)
Function returns the values of specified columns in array.
TTimestamp get_PositiveTTimestamp(HeapTuple *, TupleDesc *, Column_info_t, TTimestamp)
gets a timestamp value from postgres type TIMESTAMP >= 1970-01-01 00:00:00
StepType get_StepType(HeapTuple *, TupleDesc *, Column_info_t, StepType)
get StepType from data
int64_t * spi_getBigIntArr(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, size_t *the_size)
Function returns the values of specified columns in array.
void pgr_fetch_column_info(Column_info_t info[], int info_size)
Function tells expected type of each column and then check the correspondence type of each column.
TInterval get_TInterval_plain(HeapTuple *, TupleDesc *, Column_info_t, TInterval)
gets an interval value from ANY-INTEGER
Amount get_Amount(HeapTuple *, TupleDesc *, Column_info_t, Amount)
get Amount from data
double spi_getFloat8(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
gets value of specified column in double type.
TInterval get_PositiveTInterval_plain(HeapTuple *, TupleDesc *, Column_info_t, TInterval)
gets an interval value from ANY-INTEGER > 0
char spi_getChar(HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, char default_value)
get value of specified column in char type.
TravelCost get_Cost(HeapTuple *, TupleDesc *, Column_info_t, TravelCost)
get TravelCost from data
TTimestamp get_TTimestamp_plain(HeapTuple *, TupleDesc *, Column_info_t, TTimestamp)
gets a timestamp value from ANY-INTEGER
Duration get_Duration(HeapTuple *, TupleDesc *, Column_info_t, Duration)
get Duration from data