DTuple is the tuple Datum.
| 4505 | |
| 4506 | // DTuple is the tuple Datum. |
| 4507 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected