Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回作为几何的线性散列的二进制字符串。
geometry-expression.ST_LinearHash()
BINARY(32) 返回作为几何的线性散列的二进制字符串。
空间索引支持使用几何的线性散列将表中的几何映射到 B 树索引中的线性顺序。ST_LinearHash 方法通过返回给出 B 树索引中行序的二进制字符串来公开此映射。散列字符串提供以下属性:如果几何 A 覆盖几何 B,则 [A.ST_LinearHash() >= B.ST_LinearHash()]。
A.ST_LinearHash() >= B.ST_LinearHash()
可以在 ORDER BY 子句中使用线性散列。例如,从 SELECT 语句卸载数据时,可以将 ST_LinearHash 用于生成与空间索引的聚簇相匹配的数据文件。
SQL/MM (ISO/IEC 13249-3: 2006) 服务商扩充