|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.nosql.appender.mongodb.MongoDbObject
public final class MongoDbObject
The MongoDB implementation of NoSqlObject
.
Constructor Summary | |
---|---|
MongoDbObject()
|
Method Summary | |
---|---|
void |
set(String field,
NoSqlObject<com.mongodb.BasicDBObject> value)
Sets the value of a property on this object to a nested complex object. |
void |
set(String field,
NoSqlObject<com.mongodb.BasicDBObject>[] values)
Sets the value of a property on this object to an array of nested complex objects. |
void |
set(String field,
Object value)
Sets the value of a property on this object to a String or primitive. |
void |
set(String field,
Object[] values)
Sets the value of a property on this object to an array of Strings or primitives. |
com.mongodb.BasicDBObject |
unwrap()
Obtains the underlying NoSQL library-specific object that this object wraps. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MongoDbObject()
Method Detail |
---|
public void set(String field, Object value)
NoSqlObject
set
in interface NoSqlObject<com.mongodb.BasicDBObject>
field
- The name of the propertyvalue
- The value of the propertypublic void set(String field, NoSqlObject<com.mongodb.BasicDBObject> value)
NoSqlObject
set
in interface NoSqlObject<com.mongodb.BasicDBObject>
field
- The name of the propertyvalue
- The value of the propertypublic void set(String field, Object[] values)
NoSqlObject
set
in interface NoSqlObject<com.mongodb.BasicDBObject>
field
- The name of the propertyvalues
- The values for the propertypublic void set(String field, NoSqlObject<com.mongodb.BasicDBObject>[] values)
NoSqlObject
set
in interface NoSqlObject<com.mongodb.BasicDBObject>
field
- The name of the propertyvalues
- The values for the propertypublic com.mongodb.BasicDBObject unwrap()
NoSqlObject
unwrap
in interface NoSqlObject<com.mongodb.BasicDBObject>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2015 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.