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

Method Next

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

Next implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

1266
1267// Next implements the Datum interface.
1268func (d *DString) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
1269 return NewDString(string(encoding.BytesNext([]byte(*d)))), true
1270}
1271
1272// IsMax implements the Datum interface.
1273func (*DString) IsMax(ctx context.Context, cmpCtx CompareContext) bool {

Callers

nothing calls this directly

Calls 2

BytesNextFunction · 0.92
NewDStringFunction · 0.85

Tested by

no test coverage detected