Class TimestampToTimestampWithTimeZoneCast
java.lang.Object
io.trino.operator.scalar.timestamp.TimestampToTimestampWithTimeZoneCast
-
Method Summary
Modifier and TypeMethodDescriptionstatic LongTimestampWithTimeZonelongToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, LongTimestamp timestamp) static longlongToShort(long targetPrecision, ConnectorSession session, LongTimestamp timestamp) static LongTimestampWithTimeZoneshortToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, long epochMicros) static longshortToShort(long targetPrecision, ConnectorSession session, long timestamp)
-
Method Details
-
shortToShort
-
longToShort
public static long longToShort(long targetPrecision, ConnectorSession session, LongTimestamp timestamp) -
shortToLong
public static LongTimestampWithTimeZone shortToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, long epochMicros) -
longToLong
public static LongTimestampWithTimeZone longToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
-