Skip rows at the root-level.
(numRows int64)
| 144 | |
| 145 | // Skip rows at the root-level. |
| 146 | func (t *RowNumber) Skip(numRows int64) { |
| 147 | t[0] += int32(numRows) |
| 148 | for i := 1; i < len(t); i++ { |
| 149 | t[i] = -1 |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | // Preceding returns the largest representable row number that is immediately prior to this |
| 154 | // one. Think of it like math.NextAfter but for segmented row numbers. Examples: |
no outgoing calls