DTuple is the tuple Datum.
| 1439 | |
| 1440 | // DTuple is the tuple Datum. |
| 1441 | type DTuple struct { |
| 1442 | D Datums |
| 1443 | |
| 1444 | // sorted indicates that the values in D are pre-sorted. |
| 1445 | // This is used to accelerate IN comparisons. |
| 1446 | sorted bool |
| 1447 | |
| 1448 | // typ is the tuple's type. |
| 1449 | // |
| 1450 | // The Types sub-field can be initially uninitialized, and is then |
| 1451 | // populated upon first invocation of ResolvedTypes(). If |
| 1452 | // initialized it must have the same arity as D. |
| 1453 | // |
| 1454 | // The Labels sub-field can be left nil. If populated, it must have |
| 1455 | // the same arity as D. |
| 1456 | typ *types.T |
| 1457 | } |
| 1458 | |
| 1459 | // maybePopulateType populates the tuple's type if it hasn't yet been |
| 1460 | // populated. |
nothing calls this directly
no outgoing calls
no test coverage detected