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