org.apache.hyracks.data.std.api.IPointable
, org.apache.hyracks.data.std.api.IValueReference
, ITime
, ITimezone
public class XSTimePointable extends org.apache.hyracks.data.std.api.AbstractPointable implements ITime, ITimezone
Modifier and Type | Field | Description |
---|---|---|
static org.apache.hyracks.data.std.api.IPointableFactory |
FACTORY |
|
static int |
HOUR_OFFSET |
|
static int |
MILLISECOND_OFFSET |
|
static int |
MINUTE_OFFSET |
|
static int |
TIMEZONE_HOUR_OFFSET |
|
static int |
TIMEZONE_MINUTE_OFFSET |
|
static org.apache.hyracks.api.dataflow.value.ITypeTraits |
TYPE_TRAITS |
Constructor | Description |
---|---|
XSTimePointable() |
Modifier and Type | Method | Description |
---|---|---|
long |
getDayTime() |
|
static long |
getDayTime(byte[] bytes,
int start) |
|
long |
getHour() |
|
static long |
getHour(byte[] bytes,
int start) |
|
long |
getMilliSecond() |
|
static long |
getMilliSecond(byte[] bytes,
int start) |
|
long |
getMinute() |
|
static long |
getMinute(byte[] bytes,
int start) |
|
long |
getTimezone() |
|
static long |
getTimezone(byte[] bytes,
int start) |
|
long |
getTimezoneHour() |
|
static long |
getTimezoneHour(byte[] bytes,
int start) |
|
long |
getTimezoneMinute() |
|
static long |
getTimezoneMinute(byte[] bytes,
int start) |
|
long |
getYearMonth() |
|
static long |
getYearMonth(byte[] bytes,
int start) |
|
static void |
setTime(byte[] bytes,
int start,
long hour,
long minute,
long second,
long timezoneHour,
long timezoneMinute) |
|
void |
setTime(long hour,
long minute,
long second,
long timezoneHour,
long timezoneMinute) |
public static final int HOUR_OFFSET
public static final int MINUTE_OFFSET
public static final int MILLISECOND_OFFSET
public static final int TIMEZONE_HOUR_OFFSET
public static final int TIMEZONE_MINUTE_OFFSET
public static final org.apache.hyracks.api.dataflow.value.ITypeTraits TYPE_TRAITS
public static final org.apache.hyracks.data.std.api.IPointableFactory FACTORY
public void setTime(long hour, long minute, long second, long timezoneHour, long timezoneMinute)
public static void setTime(byte[] bytes, int start, long hour, long minute, long second, long timezoneHour, long timezoneMinute)
public static long getHour(byte[] bytes, int start)
public static long getMinute(byte[] bytes, int start)
public long getMilliSecond()
getMilliSecond
in interface ITime
public static long getMilliSecond(byte[] bytes, int start)
public long getTimezoneHour()
getTimezoneHour
in interface ITimezone
public static long getTimezoneHour(byte[] bytes, int start)
public long getTimezoneMinute()
getTimezoneMinute
in interface ITimezone
public static long getTimezoneMinute(byte[] bytes, int start)
public long getTimezone()
getTimezone
in interface ITimezone
public static long getTimezone(byte[] bytes, int start)
public long getDayTime()
getDayTime
in interface ITime
getDayTime
in interface ITimezone
public static long getDayTime(byte[] bytes, int start)
public long getYearMonth()
getYearMonth
in interface ITimezone
public static long getYearMonth(byte[] bytes, int start)
Copyright © 2019 Apache Software Foundation. All rights reserved.