Package | Description |
---|---|
org.apache.logging.log4j.core.appender.db |
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
|
Modifier and Type | Method and Description |
---|---|
static ColumnMapping.Builder |
ColumnMapping.newBuilder() |
ColumnMapping.Builder |
ColumnMapping.Builder.setConfiguration(Configuration configuration) |
ColumnMapping.Builder |
ColumnMapping.Builder.setLayout(StringLayout layout)
Layout of value to write to database (before type conversion).
|
ColumnMapping.Builder |
ColumnMapping.Builder.setLiteral(String literal)
Literal value to use for populating a column.
|
ColumnMapping.Builder |
ColumnMapping.Builder.setName(String name)
Column name.
|
ColumnMapping.Builder |
ColumnMapping.Builder.setParameter(String parameter)
Parameter value to use for populating a column, MUST contain a single parameter marker '?'.
|
ColumnMapping.Builder |
ColumnMapping.Builder.setPattern(String pattern)
Pattern to use as a
PatternLayout . |
ColumnMapping.Builder |
ColumnMapping.Builder.setSource(String source)
Source name.
|
ColumnMapping.Builder |
ColumnMapping.Builder.setType(Class<?> type)
Class to convert value to before storing in database.
|
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.