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