| Package | Description |
|---|---|
| org.gcube.couchbase | |
| org.gcube.couchbase.entities | |
| org.gcube.couchbase.helpers |
| Modifier and Type | Method and Description |
|---|---|
MetaIndex |
CouchBaseNode.getMetaIndex() |
| Modifier and Type | Method and Description |
|---|---|
void |
CouchBaseNode.setMetaIndex(MetaIndex metaIndex) |
| Modifier and Type | Method and Description |
|---|---|
static MetaIndex |
MetaIndex.loadMetaFromDatabase(com.couchbase.client.CouchbaseClient client) |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
MetaIndex.saveMetaIndexToDatabase(com.couchbase.client.CouchbaseClient client,
MetaIndex meta) |
static Boolean |
MetaIndex.saveMetaIndexToDatabase(com.couchbase.client.CouchbaseClient client,
MetaIndex meta,
Boolean override) |
static void |
MetaIndex.updateMetaFromDoc(MetaIndex meta,
ForwardIndexDocument doc) |
| Modifier and Type | Method and Description |
|---|---|
static Long |
CouchBaseHelper.countCollectionCouchBase(com.couchbase.client.CouchbaseClient client,
String bucketName,
String designDocName,
Map<String,CouchBaseDataTypesHelper.DataType> keys,
MetaIndex meta,
String collID)
Count all the documents of the given collection
|
static Boolean |
CouchBaseHelper.deleteCollectionCouchBase(com.couchbase.client.CouchbaseClient client,
String bucketName,
String designDocName,
Map<String,CouchBaseDataTypesHelper.DataType> keys,
MetaIndex meta,
String collID)
Deletes all the documents of the given collection
|
static boolean |
CouchBaseHelper.feedLocator(com.couchbase.client.CouchbaseClient client,
String resultSetLocation,
MetaIndex meta)
Inserts all the records that are read from the resultSetLocation gRS2
endpoint in the record, updates the meta-index and saves it
|
static String |
CouchBaseHelper.query(com.couchbase.client.CouchbaseClient client,
MetaIndex meta,
String bucketName,
String designDocName,
Map<String,CouchBaseDataTypesHelper.DataType> keys,
org.gcube.indexmanagement.resourceregistry.RRadaptor rradaptor,
String queryString)
Executes the queryString and returns a gRS2 endpoint locator were the
results will written.
|
Copyright © 2014. All Rights Reserved.