Package | Description |
---|---|
org.apache.logging.log4j.nosql.appender |
The NoSQL Appender supports writing log events to NoSQL databases.
|
org.apache.logging.log4j.nosql.appender.couchdb |
The classes in this package contain the Apache CouchDB provider for the NoSQL Appender.
|
org.apache.logging.log4j.nosql.appender.mongodb |
The classes in this package contain the MongoDB provider for the NoSQL Appender.
|
Modifier and Type | Interface and Description |
---|---|
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 the
NoSqlAppender with the proper provider
(MongoDB, etc.). |
Modifier and Type | Class and Description |
---|---|
class |
DefaultNoSqlObject
Default implementation of
NoSqlObject . |
Modifier and Type | Method and Description |
---|---|
T[] |
NoSqlConnection.createList(int length)
Creates an array of the specified length typed to match the
NoSqlObject implementation appropriate for
this provider. |
Modifier and Type | Method and Description |
---|---|
void |
NoSqlConnection.insertObject(NoSqlObject<W> object)
Inserts the given object into the underlying NoSQL database.
|
void |
DefaultNoSqlObject.set(String field,
NoSqlObject<Map<String,Object>> value) |
void |
DefaultNoSqlObject.set(String field,
NoSqlObject<Map<String,Object>>[] values) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
CouchDbConnection.insertObject(NoSqlObject<Map<String,Object>> object) |
Modifier and Type | Class and Description |
---|---|
class |
MongoDbObject
The MongoDB implementation of
NoSqlObject . |
Modifier and Type | Method and Description |
---|---|
void |
MongoDbConnection.insertObject(NoSqlObject<com.mongodb.BasicDBObject> object) |
void |
MongoDbObject.set(String field,
NoSqlObject<com.mongodb.BasicDBObject> value) |
void |
MongoDbObject.set(String field,
NoSqlObject<com.mongodb.BasicDBObject>[] values) |
Copyright © 1999-2021 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.