Class AggregateFunction<INCOL extends Column<?>,​OUT>

    • Constructor Detail

      • AggregateFunction

        public AggregateFunction​(String functionName)
        Constructs a function with the given name
    • Method Detail

      • functionName

        public String functionName()
        Returns this function's name
      • summarize

        public abstract OUT summarize​(INCOL column)
        Apply this function to the column argument
      • isCompatibleColumn

        public abstract boolean isCompatibleColumn​(ColumnType type)
        Returns true if the given ColumnType is compatible with this function
      • returnType

        public abstract ColumnType returnType()
        Returns the ColumnType to be used for the values returned by this function