Interface WindowFunction

    • Method Detail

      • applyToSequence

        List<List<List<Writable>>> applyToSequence​(List<List<Writable>> sequence)
        Apply the windowing function to the given sequence
        Parameters:
        sequence - the input sequence
        Returns:
        the sequence with the window function applied
      • setInputSchema

        void setInputSchema​(Schema schema)
        Parameters:
        schema -
      • getInputSchema

        Schema getInputSchema()
        Returns:
      • transform

        Schema transform​(Schema inputSchema)
        Get the output schema, given the input schema. Typically the output schema is the same as the input schema, but not necessarily (for example, if the window function adds columns for the window start/end times)
        Parameters:
        inputSchema - Schema of the input data
        Returns:
        Schema of the output windows