Uses of Interface
org.apache.logging.log4j.core.appender.nosql.NoSqlObject
Packages that use NoSqlObject
Package
Description
The NoSQL Appender supports writing log events to NoSQL databases.
The classes in this package contain the Apache CouchDB provider for the NoSQL Appender.
-
Uses of NoSqlObject in org.apache.logging.log4j.core.appender.nosql
Classes in org.apache.logging.log4j.core.appender.nosql with type parameters of type NoSqlObjectModifier and TypeClassDescriptionclass
AbstractNoSqlConnection<W,
T extends NoSqlObject<W>> Facilitates implementations ofNoSqlConnection
.interface
NoSqlConnection<W,
T extends NoSqlObject<W>> Represents a connection to the NoSQL database.interface
NoSqlProvider<C extends NoSqlConnection<?,
? extends NoSqlObject<?>>> Implementations of this class are plugins for configuring theNoSqlAppender
with the proper provider (MongoDB, etc.).Classes in org.apache.logging.log4j.core.appender.nosql that implement NoSqlObjectFields in org.apache.logging.log4j.core.appender.nosql with type parameters of type NoSqlObjectModifier and TypeFieldDescriptionprivate NoSqlConnection
<W, ? extends NoSqlObject<W>> NoSqlDatabaseManager.connection
private final NoSqlProvider
<NoSqlConnection<W, ? extends NoSqlObject<W>>> NoSqlDatabaseManager.provider
Methods in org.apache.logging.log4j.core.appender.nosql that return NoSqlObjectModifier and TypeMethodDescriptionprivate NoSqlObject
<W> NoSqlDatabaseManager.buildMarkerEntity
(Marker marker) private NoSqlObject<W>[]
NoSqlDatabaseManager.convertStackTrace
(StackTraceElement[] stackTrace) private NoSqlObject
<W> NoSqlDatabaseManager.convertStackTraceElement
(StackTraceElement element) T[]
NoSqlConnection.createList
(int length) Creates an array of the specified length typed to match theNoSqlObject
implementation appropriate for this provider.Methods in org.apache.logging.log4j.core.appender.nosql with parameters of type NoSqlObjectModifier and TypeMethodDescriptionvoid
NoSqlConnection.insertObject
(NoSqlObject<W> object) Inserts the given object into the underlying NoSQL database.void
void
void
NoSqlObject.set
(String field, NoSqlObject<W> value) Sets the value of a property on this object to a nested complex object.void
NoSqlObject.set
(String field, NoSqlObject<W>[] values) Sets the value of a property on this object to an array of nested complex objects.private void
NoSqlDatabaseManager.setAdditionalFields
(NoSqlObject<W> entity) private void
NoSqlDatabaseManager.setFields
(LogEvent event, NoSqlObject<W> entity) private void
NoSqlDatabaseManager.setFields
(MapMessage<?, ?> mapMessage, NoSqlObject<W> noSqlObject) Constructor parameters in org.apache.logging.log4j.core.appender.nosql with type arguments of type NoSqlObjectModifierConstructorDescriptionprivate
NoSqlDatabaseManager
(String name, int bufferSize, NoSqlProvider<NoSqlConnection<W, ? extends NoSqlObject<W>>> provider, KeyValuePair[] additionalFields, Configuration configuration) -
Uses of NoSqlObject in org.apache.logging.log4j.couchdb
Methods in org.apache.logging.log4j.couchdb with parameters of type NoSqlObjectModifier and TypeMethodDescriptionvoid
CouchDbConnection.insertObject
(NoSqlObject<Map<String, Object>> object)