@FunctionalInterface
private static interface SQLStatementLogger.ObjectLogger
StringBuilder
.
The justification for the existence of this interface is that we do not want to execute some code before deciding whether the database is active, avoiding throwing away the computed string if the database is not active. The lambda expressions will evaluate only after a positive decision is taken.
Modifier and Type | Method and Description |
---|---|
void |
exec(java.lang.StringBuilder sb)
Code which is executed for appending information to output.
|