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

Struct DTuple

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

DTuple is the tuple Datum.

Source from the content-addressed store, hash-verified

4505
4506// DTuple is the tuple Datum.
4507type DTuple struct {
4508 D Datums
4509
4510 // sorted indicates that the values in D are pre-sorted.
4511 // This is used to accelerate IN comparisons.
4512 sorted bool
4513
4514 // typ is the tuple's type.
4515 //
4516 // The Types sub-field can be initially uninitialized, and is then
4517 // populated upon first invocation of ResolvedTypes(). If
4518 // initialized it must have the same arity as D.
4519 //
4520 // The Labels sub-field can be left nil. If populated, it must have
4521 // the same arity as D.
4522 typ *types.T
4523}
4524
4525// NewDTuple creates a *DTuple with the provided datums. When creating a new
4526// DTuple with Datums that are known to be sorted in ascending order, chain

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected