Returns whether the window frame is "free range"; i.e. its start/end bounds are UNBOUNDED or CURRENT ROW.
(&self)
| 283 | /// Returns whether the window frame is "free range"; i.e. its start/end |
| 284 | /// bounds are UNBOUNDED or CURRENT ROW. |
| 285 | fn free_range(&self) -> bool { |
| 286 | (self.start_bound.is_unbounded() |
| 287 | || self.start_bound == WindowFrameBound::CurrentRow) |
| 288 | && (self.end_bound.is_unbounded() |
| 289 | || self.end_bound == WindowFrameBound::CurrentRow) |
| 290 | } |
| 291 | |
| 292 | /// Is the window frame ever-expanding (it always grows in the superset sense). |
| 293 | /// Useful when understanding if set-monotonicity properties of functions can |
no test coverage detected