Package io.trino.operator.scalar.timetz
Class TimeWithTimeZoneToTimestampWithTimeZoneCast
java.lang.Object
io.trino.operator.scalar.timetz.TimeWithTimeZoneToTimestampWithTimeZoneCast
-
Method Summary
Modifier and TypeMethodDescriptionstatic LongTimestampWithTimeZonelongToLong(long targetPrecision, ConnectorSession session, LongTimeWithTimeZone time) static longlongToShort(long targetPrecision, ConnectorSession session, LongTimeWithTimeZone time) static LongTimestampWithTimeZoneshortToLong(long targetPrecision, ConnectorSession session, long packedTime) static longshortToShort(long targetPrecision, ConnectorSession session, long packedTime)
-
Method Details
-
shortToShort
-
longToShort
public static long longToShort(long targetPrecision, ConnectorSession session, LongTimeWithTimeZone time) -
shortToLong
public static LongTimestampWithTimeZone shortToLong(long targetPrecision, ConnectorSession session, long packedTime) -
longToLong
public static LongTimestampWithTimeZone longToLong(long targetPrecision, ConnectorSession session, LongTimeWithTimeZone time)
-