Package | Description |
---|---|
org.apache.logging.log4j.core.appender.nosql |
The NoSQL Appender supports writing log events to NoSQL databases.
|
org.apache.logging.log4j.couchdb |
The classes in this package contain the Apache CouchDB provider for the NoSQL Appender.
|
org.apache.logging.log4j.mongodb3 |
The classes in this package contain the MongoDB provider for the NoSQL Appender.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractNoSqlConnection<W,T extends NoSqlObject<W>> |
Facilitates implementations of
NoSqlConnection . |
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 | Description |
---|---|---|
class |
DefaultNoSqlObject |
Default implementation of
NoSqlObject . |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
void |
CouchDbConnection.insertObject(NoSqlObject<Map<String,Object>> object) |
Modifier and Type | Class | Description |
---|---|---|
class |
MongoDbDocumentObject |
The MongoDB implementation of
NoSqlObject typed to a BSON Document . |
Modifier and Type | Method | Description |
---|---|---|
void |
MongoDbConnection.insertObject(NoSqlObject<org.bson.Document> object) |
|
void |
MongoDbDocumentObject.set(String field,
NoSqlObject<org.bson.Document> value) |
|
void |
MongoDbDocumentObject.set(String field,
NoSqlObject<org.bson.Document>[] values) |
Copyright © 1999-2018. 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.