Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
65.2. Built-in Operator Classes
Prev UpChapter 65. SP-GiST IndexesHome Next

65.2. Built-in Operator Classes

The corePostgreSQL distribution includes theSP-GiST operator classes shown inTable 65.1.

Table 65.1. Built-inSP-GiST Operator Classes

NameIndexed Data TypeIndexable OperatorsOrdering Operators
kd_point_opspoint<<<@<^>>>^~=<->
quad_point_opspoint<<<@<^>>>^~=<->
range_opsany range type&&&<&>-|-<<<@=>>@>
box_opsbox<<&<&&&>>>~=@><@&<|<<||>>|&>
poly_opspolygon<<&<&&&>>>~=@><@&<|<<||>>|&><->
text_opstext<<==>>=~<=~~<~~>=~~>~^@
inet_opsinet,cidr&&>>>>=>>=<><<<<=<<==

Of the two operator classes for typepoint,quad_point_ops is the default.kd_point_ops supports the same operators but uses a different index data structure that may offer better performance in some applications.

Thequad_point_ops,kd_point_ops andpoly_ops operator classes support the<-> ordering operator, which enables the k-nearest neighbor (k-NN) search over indexed point or polygon data sets.


Prev Up Next
65.1. Introduction Home 65.3. Extensibility
epubpdf
Go to PostgreSQL 12
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp