Class WindowOperatorQuery

  • All Implemented Interfaces:
    Query<RowsAndColumns>

    public class WindowOperatorQuery
    extends BaseQuery<RowsAndColumns>
    A query that can compute window functions on top of a completely in-memory inline datasource or query results.

    It relies on a set of Operators to work on the data that it is given. As such, it doesn't actually encapsulate any window-specific logic in-and-of-itself, but rather delegates everything to the operators. This is because this is also intended as the initial addition of more explicit Operators to the Druid code base.

    The assumptions on the incoming data are defined by the operators. At initial time of writing, there is a baked in assumption that data has been sorted "correctly" before this runs.