code: @Override
      public Object map(Object input) {
          List<Object> ret = new ArrayList<>();
          Long l = (Long) input;
          for (DerivedColumn d : derivedColumns) {
              switch (d.columnType) {
                  case String:
                      ret.add(d.dateTimeFormatter.print(l));
                      break;
                  case Integer:
                      DateTime dt = new DateTime(l, inputTimeZone);
                      ret.add(dt.get(d.fieldType));
                      break;
                  default:
                      throw new IllegalStateException("Unexpected column type: " + d.columnType);
              }
          }
  
          return ret;
      }
docs: Transform an object
  in to another object
  
  @param input the record to transform
  @return the transformed writable