Closeable, AutoCloseable, NoSqlConnection<Map<String,Object>,DefaultNoSqlObject>public final class CouchDbConnection extends AbstractNoSqlConnection<Map<String,Object>,DefaultNoSqlObject>
NoSqlConnection.| Constructor | Description |
|---|---|
CouchDbConnection(org.lightcouch.CouchDbClient client) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
closeImpl() |
|
DefaultNoSqlObject[] |
createList(int length) |
Creates an array of the specified length typed to match the
NoSqlObject implementation appropriate for
this provider. |
DefaultNoSqlObject |
createObject() |
Instantiates and returns a
NoSqlObject instance whose properties can be configured before ultimate
insertion via NoSqlConnection.insertObject(NoSqlObject). |
void |
insertObject(NoSqlObject<Map<String,Object>> object) |
Inserts the given object into the underlying NoSQL database.
|
close, isClosedpublic DefaultNoSqlObject createObject()
NoSqlConnectionNoSqlObject instance whose properties can be configured before ultimate
insertion via NoSqlConnection.insertObject(NoSqlObject).NoSqlObjectpublic DefaultNoSqlObject[] createList(int length)
NoSqlConnectionNoSqlObject implementation appropriate for
this provider.length - the length of the array to create.NoSqlObjectpublic void insertObject(NoSqlObject<Map<String,Object>> object)
NoSqlConnectionobject - The object to insert.protected void closeImpl()
closeImpl in class AbstractNoSqlConnection<Map<String,Object>,DefaultNoSqlObject>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.