MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Next

Method Next

pkg/sql/sem/tree/datum.go:167–167  ·  view source on GitHub ↗

Next returns the next datum and true, if one exists, or nil and false otherwise. The next datum satisfies the following definition: if the receiver is "a" and the returned datum is "b", then for every compatible datum "x", it holds that "x > a" is true if and only if "x >= b" is true. The return va

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

165 // weaker contract. The original filter expression is left in place to catch
166 // false positives.
167 Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool)
168
169 // IsMax returns true if the datum is equal to the maximum value the datum
170 // type can hold.

Callers 15

NextMethod · 0.65
jsonNodeMethod · 0.65
IsCompositeMethod · 0.65
NextMethod · 0.65
NextMethod · 0.65
NextMethod · 0.65
DatumNextFunction · 0.65
commonConstantTypeFunction · 0.65
typeCheckSameTypedExprsFunction · 0.65
typeCheckSameTypedConstsFunction · 0.65

Implementers 15

DTuplepkg/sql/sem/tree/datum.go
DArraypkg/sql/sem/tree/datum.go
Placeholderpkg/sql/sem/tree/expr.go
dNullpkg/sql/sem/tree/datum.go
DBitArraypkg/sql/sem/tree/datum.go
DDecimalpkg/sql/sem/tree/datum.go
DCollatedStringpkg/sql/sem/tree/datum.go
DUuidpkg/sql/sem/tree/datum.go
DIPAddrpkg/sql/sem/tree/datum.go
DDatepkg/sql/sem/tree/datum.go
DTimeTZpkg/sql/sem/tree/datum.go
DTimestamppkg/sql/sem/tree/datum.go

Calls

no outgoing calls

Tested by

no test coverage detected