APISonar


org.apache.drill.exec.vector.complex.impl.MapOrListWriterImpl.date

> org > apache > drill > exec > vector > complex > impl > MapOrListWriterImpl > date
org APIs apache APIs drill APIs exec APIs vector APIs complex APIs impl APIs MapOrListWriterImpl APIs date APIs

Example 1
protected void writeDate(MapOrListWriterImpl writer, String fieldName, DocumentReader reader) {
    long milliSecondsSinceEpoch = reader.getDateInt() * MILLISECONDS_IN_A_DAY;
    writer.date(fieldName).writeDate(milliSecondsSinceEpoch);
  }