datetime
YearOperator ¶
Bases: UnaryPQLOperator
Year operator that returns year of datetime column.
Applies YEAR operator to column.
QuarterOperator ¶
Bases: UnaryPQLOperator
Quarter operator that returns the quarter.
Applies QUARTER operator to column.
MonthOperator ¶
Bases: UnaryPQLOperator
Month operator that returns month of datetime column.
Applies MONTH operator to column.
CalendarWeekOperator ¶
Bases: UnaryPQLOperator
Calendar week operator that returns calendar week of datetime column.
Applies CALENDAR_WEEK operator to column.
DayOperator ¶
Bases: UnaryPQLOperator
Day operator that returns day of datetime column.
Applies DAY operator to column.
HoursOperator ¶
Bases: UnaryPQLOperator
Hours operator that returns hours of datetime column.
Applies HOURS operator to column.
MinutesOperator ¶
Bases: UnaryPQLOperator
Minutes operator that returns minutes of datetime column.
Applies MINUTES operator to column.
SecondsOperator ¶
Bases: UnaryPQLOperator
Seconds operator that returns seconds of datetime column.
Applies SECONDS operator to column.
DayOfWeekOperator ¶
Bases: UnaryPQLOperator
Day of week operator that returns day of week as number.
Applies DAY_OF_WEEK operator to column.
RoundYearOperator ¶
Bases: UnaryPQLOperator
Round year operator that rounds date to year.
Applies ROUND_YEAR operator to column.
RoundQuarterOperator ¶
Bases: UnaryPQLOperator
Round quarter operator that rounds date to quarter.
Applies ROUND_QUARTER operator to column.
RoundMonthOperator ¶
Bases: UnaryPQLOperator
Round month operator that rounds date to month.
Applies ROUND_MONTH operator to column.
RoundWeekOperator ¶
Bases: UnaryPQLOperator
Round week operator that rounds date to week.
Applies ROUND_WEEK operator to column.
RoundDayOperator ¶
Bases: UnaryPQLOperator
Round day operator that rounds date to day.
Applies ROUND_DAY operator to column.
RoundHourOperator ¶
Bases: UnaryPQLOperator
Round hour operator that rounds date to hour.
Applies ROUND_HOUR operator to column.
RoundMinuteOperator ¶
Bases: UnaryPQLOperator
Round minute operator that rounds date to minute.
Applies ROUND_MINUTE operator to column.
RoundSecondOperator ¶
Bases: UnaryPQLOperator
Round second operator that rounds date to second.
Applies ROUND_SECOND operator to column.