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