[英]JDBC- SQL spatio-temporal query
trajectory table 轨迹表
OBJID PLACE
7 H
8 Q
9 W
10 A
7 H
8 A
1 S
2 D
4 G
7 B
3 K
7 H
3 I
7 C
i have trajectory table as shown in above. 我有上面显示的轨迹表。 I want a spatio-temporal query using JDBC-SQL to retrieve results.
我想要使用JDBC-SQL的时空查询来检索结果。
here for example in this image objid 7 moves from H to B, hence the result should be . 例如,在此图像中,目标7从H移至B,因此结果应为。
output 输出
query1
objids : 7
query2
7 trajectory is HHBHC
I want a SQL query for this. 我想要一个SQL查询。
Query your table WHERE objid = ?
查询表
WHERE objid = ?
then take the results and concatenate them together as you pull from the ResultSet
. 然后从
ResultSet
提取结果并将它们连接在一起。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.