すべてのプロダクト
Search
ドキュメントセンター

AnalyticDB:ST_equals

最終更新日:Sep 29, 2024

この関数は、軌道オブジェクト1と2が指定された時間範囲内で空間的に等しい場合にtrueを返します。

構文

boolean ST_equals(trajectory traj1, trajectory traj2, tsrange range);
boolean ST_equals(trajectory traj1, trajectory traj2, timestamp t1, timestamp t2);

パラメーター

パラメーター

説明

traj

軌道オブジェクト。

t1

開始時刻

t2

終了時刻です。

範囲

時間範囲

Select ST_equals((Select traj from traj_table where id=1), (Select traj from traj_table where id=2), '2010-1-1 13:00:00', '2010-1-1 14:00:00');