↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 操作符族

gist/box_ops (family)

GiST operator family containing 1 classes, 13 operator strategies and 7 support functions in this source build.

当前阅读 PG 18·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

Object kind
Operator family
Index AM
GiST
aliases
box_ops, gist/box_ops
classes
map[default:t family:box_ops family_slug:family-gist-box_ops input_type:box key_type:none method:gist name:box_ops slug:class-gist-box_ops source_oid:]
signature
gist/box_ops
source oid
2593

版本定义 PG 18

GiST operator family containing 1 classes, 13 operator strategies and 7 support functions in this source build.

Family operator strategies

Operator overloadStrategyPurposeOrdering familyMembership scopeSource description
<<(box,box)1searchFamily memberis left of
&<(box,box)2searchFamily memberoverlaps or is left of
&&(box,box)3searchFamily memberoverlaps
&>(box,box)4searchFamily memberoverlaps or is right of
>>(box,box)5searchFamily memberis right of
~=(box,box)6searchFamily membersame as
@>(box,box)7searchFamily membercontains
<@(box,box)8searchFamily memberis contained by
&<|(box,box)9searchFamily memberoverlaps or is below
<<|(box,box)10searchFamily memberis below
|>>(box,box)11searchFamily memberis above
|&>(box,box)12searchFamily memberoverlaps or is above
<->(box,point)15orderingfloat_opsFamily memberdistance between

Family support functions

Support numberLeft typeRight typeFunction signatureResult type
1boxboxgist_box_consistent(internal,box,int2,oid,internal)bool
2boxboxgist_box_union(internal,internal)box
5boxboxgist_box_penalty(internal,internal,internal)internal
6boxboxgist_box_picksplit(internal,internal)internal
7boxboxgist_box_same(box,box,internal)internal
8boxboxgist_box_distance(internal,box,int2,oid,internal)float8
12anyanygist_translate_cmptype_common(int4)int2

Classes in this family

ClassInput typeKey typeDefault
box_opsboxSame as input typeyes

比较版本

完整来源事实

family

{"method":"gist","name":"box_ops"}

operators

map[description:is left of family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:<<(box,box) operator_slug:op-3c3c-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:1], map[description:overlaps or is left of family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:&<(box,box) operator_slug:op-263c-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:2], map[description:overlaps family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:&&(box,box) operator_slug:op-2626-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:3], map[description:overlaps or is right of family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:&>(box,box) operator_slug:op-263e-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:4], map[description:is right of family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:>>(box,box) operator_slug:op-3e3e-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:5], map[description:same as family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:~=(box,box) operator_slug:op-7e3d-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:6], map[description:contains family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:@>(box,box) operator_slug:op-403e-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:7], map[description:is contained by family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:<@(box,box) operator_slug:op-3c40-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:8], map[description:overlaps or is below family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:&<|(box,box) operator_slug:op-263c7c-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:9], map[description:is below family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:<<|(box,box) operator_slug:op-3c3c7c-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:10], map[description:is above family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:|>>(box,box) operator_slug:op-7c3e3e-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:11], map[description:overlaps or is above family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:|&>(box,box) operator_slug:op-7c263e-box-box purpose:search result_type:bool right_type:box sort_family: sort_family_slug: strategy:12], map[description:distance between family:box_ops family_slug:family-gist-box_ops left_type:box method:gist operator:<->(box,point) operator_slug:op-3c2d3e-box-point purpose:ordering result_type:float8 right_type:point sort_family:float_ops sort_family_slug:family-btree-float_ops strategy:15]

support functions

map[family:box_ops family_slug:family-gist-box_ops function:gist_box_consistent(internal,box,int2,oid,internal) left_type:box method:gist number:1 result_type:bool right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_box_union(internal,internal) left_type:box method:gist number:2 result_type:box right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_box_penalty(internal,internal,internal) left_type:box method:gist number:5 result_type:internal right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_box_picksplit(internal,internal) left_type:box method:gist number:6 result_type:internal right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_box_same(box,box,internal) left_type:box method:gist number:7 result_type:internal right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_box_distance(internal,box,int2,oid,internal) left_type:box method:gist number:8 result_type:float8 right_type:box], map[family:box_ops family_slug:family-gist-box_ops function:gist_translate_cmptype_common(int4) left_type:any method:gist number:12 result_type:int2 right_type:any]

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f