Package org.apache.pinot.common.function
Class TimeZoneKey
- java.lang.Object
-
- org.apache.pinot.common.function.TimeZoneKey
-
public final class TimeZoneKey extends Object
Copied from the presto TimeZoneKey. It basically caches the Joda Chronologies corresponding to each of the timezones listed in the zone-index.properties The zone-index.properties is kept in sync with the presto zone index properties.
-
-
Field Summary
Fields Modifier and Type Field Description static shortMAX_TIME_ZONE_KEYstatic TimeZoneKeyUTC_KEY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()shortgetKey()static TimeZoneKeygetTimeZoneKey(String zoneId)static Set<TimeZoneKey>getTimeZoneKeys()inthashCode()StringtoString()
-
-
-
Field Detail
-
UTC_KEY
public static final TimeZoneKey UTC_KEY
-
MAX_TIME_ZONE_KEY
public static final short MAX_TIME_ZONE_KEY
-
-
Method Detail
-
getTimeZoneKeys
public static Set<TimeZoneKey> getTimeZoneKeys()
-
getTimeZoneKey
public static TimeZoneKey getTimeZoneKey(String zoneId)
-
getId
public String getId()
-
getKey
public short getKey()
-
-