Class TimestampOperators.TimestampMinusIntervalYearToMonth
java.lang.Object
io.trino.operator.scalar.timestamp.TimestampOperators.TimestampMinusIntervalYearToMonth
- Enclosing class:
TimestampOperators
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longsubtract(long timestamp, long interval) static LongTimestampsubtract(ConnectorSession session, LongTimestamp timestamp, long interval)
-
Constructor Details
-
TimestampMinusIntervalYearToMonth
public TimestampMinusIntervalYearToMonth()
-
-
Method Details
-
subtract
public static long subtract(long timestamp, long interval) -
subtract
public static LongTimestamp subtract(ConnectorSession session, LongTimestamp timestamp, long interval)
-