Sorted returns true if the tuple is known to be sorted (and contains no NULLs).
()
| 3125 | // Sorted returns true if the tuple is known to be sorted (and contains no |
| 3126 | // NULLs). |
| 3127 | func (d *DTuple) Sorted() bool { |
| 3128 | return d.sorted |
| 3129 | } |
| 3130 | |
| 3131 | // SetSorted sets the sorted flag on the DTuple. This should be used when a |
| 3132 | // DTuple is known to be sorted based on the datums added to it. |