Class Collection_AverageFunction

    • Constructor Detail

      • Collection_AverageFunction

        public Collection_AverageFunction()
        Creates a new instance of Collection_AverageFunction
    • Method Detail

      • setParameters

        public void setParameters​(List<Expression> params)
        The provided arguments are evaulated with respect to the FeatureCollection.

        For an aggregate function (like average) please use the WFS mandated XPath syntax to refer to featureMember content.

        To refer to all 'X': featureMember/asterisk/X

        Specified by:
        setParameters in interface FunctionExpression
        Overrides:
        setParameters in class FunctionExpressionImpl
        Parameters:
        params - function parameters
      • setExpression

        public void setExpression​(Expression e)
      • toString

        public String toString()
        Return this function as a string.
        Overrides:
        toString in class FunctionExpressionImpl
        Returns:
        String representation of this average function.