You can use this function to check whether the data of a trajectory object is stored in Object Storage Service (OSS).
Note
This function is not supported in later versions. Use Cold data tiered storage instead.
Syntax
bool ST_IsExternal(trajectory traj);Parameters
Parameter | Description |
traj | The trajectory object. |
Description
If the data of the specified trajectory object is stored in OSS, the function returns t. Otherwise, this function returns f.
Examples
SELECT ST_IsExternal(traj) FROM trajs;
st_isexternal
---------------
t
t
t
f
t
(5 rows)