Class FixedWidthFunction

  • All Implemented Interfaces:
    Iterable<GroupingExpression>

    public class FixedWidthFunction
    extends FunctionNode
    This class represents a fixed-width bucket-function in a GroupingExpression. It maps the input into the given number of buckets by the result of the argument expression.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • FixedWidthFunction

        public FixedWidthFunction​(GroupingExpression exp,
                                  Number width)
        Constructs a new instance of this class.
        Parameters:
        exp - The expression to evaluate.
        width - The width of each bucket.