@Test public final void testAsInt8() { Datum d = DatumFactory.createTime(TIME); Datum copy = DatumFactory.createTime(d.asInt8()); assertEquals(d, copy); }
@Override public long asInt8() { return time; }
TimeDatum extends Datum { @Override public long asInt8() { return time; } }
TimeDatum extends Datum { @Override public long asInt8() { return time; } TimeDatum(long time); }
TimeDatum extends Datum { @Override public long asInt8() { return time; } TimeDatum(long time); @Override TimeMeta asTimeMeta(); int getHourOfDay(); int getMinuteOfHour(); int getSecondOfMinute(); int getMillisOfSecond(); String toString(); @Override int asInt4(); @Override long asInt8(); @Override float asFloat4(); @Override double asFloat8(); @Override String asChars(); @Override int size(); @Override byte [] asByteArray(); @Override Datum plus(Datum datum); @Override Datum minus(Datum datum); @Override Datum equalsTo(Datum datum); @Override int compareTo(Datum datum); @Override boolean equals(Object obj); @Override int hashCode(); }
TimeDatum extends Datum { @Override public long asInt8() { return time; } TimeDatum(long time); @Override TimeMeta asTimeMeta(); int getHourOfDay(); int getMinuteOfHour(); int getSecondOfMinute(); int getMillisOfSecond(); String toString(); @Override int asInt4(); @Override long asInt8(); @Override float asFloat4(); @Override double asFloat8(); @Override String asChars(); @Override int size(); @Override byte [] asByteArray(); @Override Datum plus(Datum datum); @Override Datum minus(Datum datum); @Override Datum equalsTo(Datum datum); @Override int compareTo(Datum datum); @Override boolean equals(Object obj); @Override int hashCode(); static final int SIZE; }