@Override public void addInt(int value) { holder.value = DateTimeUtils.fromJulianDay(value - ParquetOutputRecordWriter.JULIAN_DAY_EPOC - 0.5); writer.write(holder); }
@Override public void eval() { out.value = in.value; }
public static DateHolder getDateHolder(long value) { DateHolder holder = new DateHolder(); holder.value = value; return holder; }