public interface Token
| Modifier and Type | Method | Description |
|---|---|---|
void |
apply(LogEntry logEntry,
java.sql.PreparedStatement statement,
int index) |
Adds the value of this token to a prepared SQL statement.
|
java.util.Collection<LogEntryValue> |
getRequiredLogEntryValues() |
Gets all log entry values that are required for outputting a log entry.
|
void |
render(LogEntry logEntry,
java.lang.StringBuilder builder) |
Renders a log entry.
|
java.util.Collection<LogEntryValue> getRequiredLogEntryValues()
void render(LogEntry logEntry, java.lang.StringBuilder builder)
logEntry - Log entry to renderbuilder - Output will be appended to this string buildervoid apply(LogEntry logEntry, java.sql.PreparedStatement statement, int index) throws java.sql.SQLException
logEntry - Log entry that contains the source value(s)statement - Target prepared SQL statementindex - Index for valuejava.sql.SQLException - Failed to add value to prepared SQL statementCopyright © 2019. All rights reserved.