|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Options | |
|---|---|
| org.ektorp | |
| org.ektorp.impl | |
| org.ektorp.support | |
| Uses of Options in org.ektorp |
|---|
| Methods in org.ektorp that return Options | |
|---|---|
Options |
Options.includeConflicts()
The loaded doc will include the special field '_conflicts' that contains all the conflicting revisions of the document. |
Options |
Options.includeRevisions()
The loaded doc will include the special field '_revisions' that describes all document revisions that exists in the database. |
Options |
Options.param(String name,
String value)
Adds a parameter to the GET request sent to the database. |
Options |
Options.revision(String rev)
Retrieve a specific revision of the document. |
| Methods in org.ektorp with parameters of type Options | ||
|---|---|---|
|
CouchDbConnector.find(Class<T> c,
String id,
Options options)
Same as get(Class |
|
|
CouchDbConnector.get(Class<T> c,
String id,
Options options)
|
|
InputStream |
CouchDbConnector.getAsStream(String id,
Options options)
Please note that the stream has to be closed after usage, otherwise http connection leaks will occur and the system will eventually hang due to connection starvation. |
|
void |
CouchDbConnector.update(String id,
InputStream document,
long length,
Options options)
Sends a document to the Couch server as a JSON stream |
|
void |
CouchDbConnector.updateMultipart(String id,
InputStream stream,
String boundary,
long length,
Options options)
Sends a document to the Couch server as a MIME multipart/related message. |
|
| Uses of Options in org.ektorp.impl |
|---|
| Methods in org.ektorp.impl with parameters of type Options | ||
|---|---|---|
|
StdCouchDbConnector.find(Class<T> c,
String id,
Options options)
|
|
|
StdCouchDbConnector.get(Class<T> c,
String id,
Options options)
|
|
InputStream |
StdCouchDbConnector.getAsStream(String id,
Options options)
|
|
void |
StdCouchDbConnector.update(String id,
InputStream document,
long length,
Options options)
|
|
void |
StdCouchDbConnector.updateMultipart(String id,
InputStream stream,
String boundary,
long length,
Options options)
|
|
| Uses of Options in org.ektorp.support |
|---|
| Methods in org.ektorp.support with parameters of type Options | |
|---|---|
T |
CouchDbRepositorySupport.get(String id,
Options options)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||