org.apache.hyracks.data.std.api.IPointable, org.apache.hyracks.data.std.api.IValueReference, IDate, ITimezonepublic class XSDatePointable extends org.apache.hyracks.data.std.api.AbstractPointable implements IDate, ITimezone
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DAY_OFFSET |
|
static org.apache.hyracks.data.std.api.IPointableFactory |
FACTORY |
|
static int |
MONTH_OFFSET |
|
static int |
TIMEZONE_HOUR_OFFSET |
|
static int |
TIMEZONE_MINUTE_OFFSET |
|
static org.apache.hyracks.api.dataflow.value.ITypeTraits |
TYPE_TRAITS |
|
static int |
YEAR_OFFSET |
| Constructor | Description |
|---|---|
XSDatePointable() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getDay() |
|
static long |
getDay(byte[] bytes,
int start) |
|
long |
getDayTime() |
|
static long |
getDayTime(byte[] bytes,
int start) |
|
long |
getMonth() |
|
static long |
getMonth(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 |
getYear() |
|
static long |
getYear(byte[] bytes,
int start) |
|
long |
getYearMonth() |
|
static long |
getYearMonth(byte[] bytes,
int start) |
|
static void |
setDate(byte[] bytes,
int start,
long year,
long month,
long day,
long timezoneHour,
long timezoneMinute) |
|
void |
setDate(long year,
long month,
long day,
long timezoneHour,
long timezoneMinute) |
public static final int YEAR_OFFSET
public static final int MONTH_OFFSET
public static final int DAY_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 setDate(long year,
long month,
long day,
long timezoneHour,
long timezoneMinute)
public static void setDate(byte[] bytes,
int start,
long year,
long month,
long day,
long timezoneHour,
long timezoneMinute)
public static long getYear(byte[] bytes,
int start)
public static long getMonth(byte[] bytes,
int start)
public static long getDay(byte[] bytes,
int start)
public long getTimezoneHour()
getTimezoneHour in interface ITimezonepublic static long getTimezoneHour(byte[] bytes,
int start)
public long getTimezoneMinute()
getTimezoneMinute in interface ITimezonepublic static long getTimezoneMinute(byte[] bytes,
int start)
public long getTimezone()
getTimezone in interface ITimezonepublic static long getTimezone(byte[] bytes,
int start)
public long getYearMonth()
getYearMonth in interface IDategetYearMonth in interface ITimezonepublic static long getYearMonth(byte[] bytes,
int start)
public long getDayTime()
getDayTime in interface IDategetDayTime in interface ITimezonepublic static long getDayTime(byte[] bytes,
int start)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.