public class Database extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ReducedResult |
| Constructor and Description |
|---|
Database(String name,
MapFunctionInterpreter mapFunctionInterpreter,
JavaScriptInterpreter javaScriptInterpreter) |
| Modifier and Type | Method and Description |
|---|---|
SuccessfulDocumentCreateResponse |
addDocument(String document) |
void |
addOrUpdate(String document) |
boolean |
containsViewGroup(String viewGroupName) |
ViewGroup |
createViewGroup(String viewGroupName,
String document) |
void |
delete(String id) |
boolean |
equals(Object o) |
String |
executeView(String viewGroupName,
String viewName,
IndexQuery indexQuery,
boolean doReduce,
Page page) |
String |
get(String documentId) |
int |
hashCode() |
String |
name() |
String |
toString() |
SuccessfulDocumentCreateResponse |
updateDocument(String document) |
ViewGroup |
viewGroup(String name) |
public static String ReducedResult
public Database(String name, MapFunctionInterpreter mapFunctionInterpreter, JavaScriptInterpreter javaScriptInterpreter)
public boolean containsViewGroup(String viewGroupName)
public String executeView(String viewGroupName, String viewName, IndexQuery indexQuery, boolean doReduce, Page page)
public SuccessfulDocumentCreateResponse addDocument(String document)
public String name()
public SuccessfulDocumentCreateResponse updateDocument(String document)
public void delete(String id)
public void addOrUpdate(String document)
Copyright © 2017. All rights reserved.