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