class DatabaseCheckLogEntry extends DatabaseLogEntry {
  private final Long userId;
  private final Long client;
  private final Long server;
  private final int textSize;
  private final int matches;
  private final Language lang;
  private final Language langDetected;
  private final int computationTime;
  private final Long textSessionId;
  private final Calendar date;
  private final String checkMode;

  public DatabaseCheckLogEntry(Long userId, Long client, Long server, int textSize, int matches,
                               Language lang, Language langDetected, int computationTime,
                               Long textSessionId, String checkMode) {
    this.userId = userId;
    this.client = client;
    this.server = server;
    this.textSize = textSize;
    this.matches = matches;
    this.lang = lang;
    this.langDetected = langDetected;
    this.computationTime = computationTime;
    this.textSessionId = textSessionId;
    this.checkMode = checkMode;
    this.date = Calendar.getInstance();
  }

  @Override
  public Map<Object, Object> getMapping() {<FILL_FUNCTION_BODY>}

  @Override
  public String getMappingIdentifier() {
    return "org.languagetool.server.LogMapper.logCheck";
  }

}

    HashMap<Object, Object> map = new HashMap<>();
    SimpleDateFormat dayFormat = new SimpleDateFormat("yyyy-MM-dd");
    dayFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
    map.put("day", dayFormat.format(date.getTime()));
    map.put("date", ServerTools.getSQLDatetimeString(date));
    map.put("user_id", userId);
    map.put("textsize", textSize);
    map.put("matches", matches);
    map.put("language", StringUtils.abbreviate(lang.getShortCodeWithCountryAndVariant(), 30));
    map.put("language_detected", StringUtils.abbreviate(langDetected.getShortCodeWithCountryAndVariant(), 30));
    map.put("computation_time", computationTime);
    map.put("text_session_id", textSessionId);
    map.put("check_mode", StringUtils.abbreviate(checkMode, 32));
    map.put("server", server);
    map.put("client", client);
    return map;
  
<methods>public non-sealed void <init>() ,public org.languagetool.server.DatabaseLogEntry followup() ,public abstract Map<java.lang.Object,java.lang.Object> getMapping() ,public abstract java.lang.String getMappingIdentifier() ,public void print(java.io.PrintStream) ,public void print() <variables>