DTuple is the tuple Datum.
| 2876 | |
| 2877 | // DTuple is the tuple Datum. |
| 2878 | type DTuple struct { |
| 2879 | D Datums |
| 2880 | |
| 2881 | // sorted indicates that the values in D are pre-sorted. |
| 2882 | // This is used to accelerate IN comparisons. |
| 2883 | sorted bool |
| 2884 | |
| 2885 | // typ is the tuple's type. |
| 2886 | // |
| 2887 | // The Types sub-field can be initially uninitialized, and is then |
| 2888 | // populated upon first invocation of ResolvedTypes(). If |
| 2889 | // initialized it must have the same arity as D. |
| 2890 | // |
| 2891 | // The Labels sub-field can be left nil. If populated, it must have |
| 2892 | // the same arity as D. |
| 2893 | typ *types.T |
| 2894 | } |
| 2895 | |
| 2896 | // NewDTuple creates a *DTuple with the provided datums. When creating a new |
| 2897 | // DTuple with Datums that are known to be sorted in ascending order, chain |
nothing calls this directly
no outgoing calls
no test coverage detected