Class TimestampToTimeWithTimezoneCast
- java.lang.Object
-
- io.prestosql.operator.scalar.timestamp.TimestampToTimeWithTimezoneCast
-
public final class TimestampToTimeWithTimezoneCast extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LongTimeWithTimeZone
longToLong(long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
static long
longToShort(long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
static LongTimeWithTimeZone
shortToLong(ConnectorSession session, long timestamp)
static long
shortToShort(long targetPrecision, ConnectorSession session, long timestamp)
-
-
-
Method Detail
-
shortToShort
public static long shortToShort(long targetPrecision, ConnectorSession session, long timestamp)
-
longToShort
public static long longToShort(long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
-
shortToLong
public static LongTimeWithTimeZone shortToLong(ConnectorSession session, long timestamp)
-
longToLong
public static LongTimeWithTimeZone longToLong(long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
-
-