Package org.languagetool.server
Class DatabaseCheckLogEntry
java.lang.Object
org.languagetool.server.DatabaseLogEntry
org.languagetool.server.DatabaseCheckLogEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final Long
private final int
private final Calendar
private final org.languagetool.Language
private final org.languagetool.Language
private final int
private DatabaseRuleMatchLogEntry
private final Long
private final Long
private final int
private final Long
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.languagetool.server.DatabaseLogEntry
print, print
-
Field Details
-
userId
-
client
-
server
-
textSize
private final int textSize -
matches
private final int matches -
lang
private final org.languagetool.Language lang -
langDetected
private final org.languagetool.Language langDetected -
computationTime
private final int computationTime -
textSessionId
-
date
-
checkMode
-
ruleMatches
-
-
Constructor Details
-
DatabaseCheckLogEntry
-
-
Method Details
-
setRuleMatches
-
getMapping
- Specified by:
getMapping
in classDatabaseLogEntry
- Returns:
- parameters for mybatis SQL statement
-
getMappingIdentifier
- Specified by:
getMappingIdentifier
in classDatabaseLogEntry
- Returns:
- identifier for mybatis SQL statement
-
followup
Description copied from class:DatabaseLogEntry
for interdependent log entries, i.e. with foreign keys referencing other entries- Overrides:
followup
in classDatabaseLogEntry
- Returns:
- null if no followup needed, else log entry that needs to be inserted directly afterwards e.g. to use LAST_INSERT_ID from mysql
-