Class HourOfDayFunction

All Implemented Interfaces:
Iterable<GroupingExpression>

public class HourOfDayFunction extends FunctionNode
This class represents an hour-of-day timestamp-function in a GroupingExpression. It evaluates to a long that equals the hour of day (0-23) of the result of the argument.
Author:
Simon Thoresen Hult, bratseth
  • Constructor Details

    • HourOfDayFunction

      public HourOfDayFunction(GroupingExpression exp)
      Constructs a new instance of this class.
      Parameters:
      exp - The expression to evaluate, must evaluate to a long.
  • Method Details