Class TimestampToTimestampWithTimezoneCast
- java.lang.Object
-
- io.prestosql.operator.scalar.timestamp.TimestampToTimestampWithTimezoneCast
-
public final class TimestampToTimestampWithTimezoneCast extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LongTimestampWithTimeZone
longToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
static long
longToShort(long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
static LongTimestampWithTimeZone
shortToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, long epochMicros)
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 LongTimestampWithTimeZone shortToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, long epochMicros)
-
longToLong
public static LongTimestampWithTimeZone longToLong(long sourcePrecision, long targetPrecision, ConnectorSession session, LongTimestamp timestamp)
-
-