Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
J
K
L
M
O
P
Q
R
S
T
U
V
A
addExcludedFields(List<ArrayList<BDBGcqlQueryContainer.SingleTerm>>, List<String>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Adds the fields that may be in searchables with wildcards but not appear in projections
addIndexTypes(Map<String, String>)
- Method in class org.gcube.couchbase.
CouchBaseNode
Given at map of
elements it adds the keys of that hold the DataType of each field and then it creates the indexes for each field
addNode(String, String, String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
applyProjection(Map<String, Object>, List<String>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Performs projection on the given documents.
C
calendarToDateString(Calendar)
- Static method in class org.gcube.couchbase.helpers.
DateHelper
checkIfBucketExists()
- Method in class org.gcube.couchbase.
CouchBaseNode
Checks if the bucket that is defined for the client exists
checkIfBucketExists(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
clear()
- Method in class org.gcube.couchbase.
CouchBaseNode
Recreates the bucket
collectionDocIDs(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Returns the document IDs of the collection with the given ID
commit(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Executes a dummyQuery on each index to "warm" it.
commitMetaIndexToDatabase()
- Method in class org.gcube.couchbase.
CouchBaseNode
Saves the current state of meta index in the database and overrides the previous contents
connectTo(String, String)
- Method in class org.gcube.couchbase.
CouchBaseNode
Initializes a client for the server located at
host:port
constructViewName(String, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
constructViewName(String, String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
convertToObject(String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
CouchBaseDataTypesHelper
- Class in
org.gcube.couchbase.helpers
CouchBaseDataTypesHelper()
- Constructor for class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
CouchBaseDataTypesHelper.DataType
- Enum in
org.gcube.couchbase.helpers
CouchBaseHelper
- Class in
org.gcube.couchbase.helpers
CouchBaseHelper()
- Constructor for class org.gcube.couchbase.helpers.
CouchBaseHelper
CouchBaseNode
- Class in
org.gcube.couchbase
CouchBaseNode(String, Integer, Integer, String)
- Constructor for class org.gcube.couchbase.
CouchBaseNode
CouchBaseNode(String, String, String, String, String, Integer, Integer, String)
- Constructor for class org.gcube.couchbase.
CouchBaseNode
CouchBaseNode(String, String, String, Integer, Integer, String)
- Constructor for class org.gcube.couchbase.
CouchBaseNode
CouchBaseRestHelper
- Class in
org.gcube.couchbase.helpers
CouchBaseRestHelper()
- Constructor for class org.gcube.couchbase.helpers.
CouchBaseRestHelper
createAllIndexes(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
createAllIndexes(CouchbaseClient, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
createBucket(String, String, String, String, String, Integer)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
createBucket(String, String, String, String, String, Integer, Integer, Integer)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
createCluster(boolean)
- Method in class org.gcube.couchbase.
CouchBaseNode
Creates a cluster by creating a node and adding a node
createIndexes(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Creates one view-index for each key.
createOneOperantQuery(Operator, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Creates a 1-operant Query from the given operator and value
createOneOperantQuery(Query, Operator, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Creates a 1-operant Query from the given operator and value
createTwoOperantQuery(Operator, Object, Operator, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Creates a 2-operant Query from the given operators and values
createTwoOperantQuery(Operator, Object, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Creates a 2-operant Query from the given operators and values
D
DateHelper
- Class in
org.gcube.couchbase.helpers
DateHelper()
- Constructor for class org.gcube.couchbase.helpers.
DateHelper
delete()
- Method in class org.gcube.couchbase.
CouchBaseNode
Deletes the bucket
delete(String, CouchBaseDataTypesHelper.DataType, CouchbaseClient)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Deletes the record with the given key
deleteBucket(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
deleteBucketSDK(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
deleteCollection(String)
- Method in class org.gcube.couchbase.
CouchBaseNode
Deletes all the documents of the given collection
deleteCollectionCouchBase(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>, MetaIndex, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Deletes all the documents of the given collection
deleteDocsCouchBase(CouchbaseClient, List<String>)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Deletes all the documents with key in the given keys list
deleteDocuments(List<String>)
- Method in class org.gcube.couchbase.
CouchBaseNode
Deletes all the documents with keys given in docIDs param
destroy()
- Method in class org.gcube.couchbase.
CouchBaseNode
Deletes the bucket and then shutdowns
DOCID_FIELD
- Static variable in class org.gcube.couchbase.entities.
ForwardIndexDocument
dummyQuery(CouchbaseClient, String, String)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Performs a dummy query with stale value FALSE in order to force index to be recreated
E
ejectNode(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
F
failOverNode(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
feedLocator(String)
- Method in class org.gcube.couchbase.
CouchBaseNode
Feeds the index with values taken from a specific locator.
feedLocator(CouchbaseClient, String, MetaIndex)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Inserts all the records that are read from the resultSetLocation gRS2 endpoint in the record, updates the meta-index and saves it
flipOperator(Operator)
- Static method in enum org.gcube.couchbase.entities.
Operator
flipOperator(String)
- Static method in enum org.gcube.couchbase.entities.
Operator
flushToDatabase(CouchbaseClient)
- Method in class org.gcube.couchbase.entities.
MetaIndex
Like save but does not take into account the metaindex from the database
ForwardIndexDocument
- Class in
org.gcube.couchbase.entities
Simple parsing of the Rowsets that are produced from the gDTS and are fed to the index.
ForwardIndexDocument()
- Constructor for class org.gcube.couchbase.entities.
ForwardIndexDocument
ForwardIndexDocument(String)
- Constructor for class org.gcube.couchbase.entities.
ForwardIndexDocument
G
getBucketName()
- Method in class org.gcube.couchbase.
CouchBaseNode
getClusterNodes(String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
getClusterNodesAddressesAndPorts(String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
getColId()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getCollections()
- Method in class org.gcube.couchbase.entities.
MetaIndex
getDataType(ForwardIndexField.DataType)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getDateDoc(String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getDateView()
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getDateView(String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getDateView(String, String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getDesignDocName()
- Method in class org.gcube.couchbase.
CouchBaseNode
getDoc(String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getDocId()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getDocLang()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getExcludedFields(List<BDBGcqlQueryContainer.SingleTerm>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Excludes the fields with the wildcards
getFields()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getFields()
- Method in class org.gcube.couchbase.entities.
MetaIndex
getFloatDoc(String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getFloatView()
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getFloatView(String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getFloatView(String, String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getID()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getIndexKeys()
- Method in class org.gcube.couchbase.entities.
MetaIndex
getIntegerDoc(String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getIntegerView()
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getIntegerView(String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getIntegerView(String, String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getKeys()
- Method in class org.gcube.couchbase.
CouchBaseNode
getKeys()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
getKeys(String)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Return a Map that contains the Relations per key that are extracted from the queryString Relations contain the operator and the value for each key.
getMetaIndex()
- Method in class org.gcube.couchbase.
CouchBaseNode
getOperatorFromString(String)
- Static method in enum org.gcube.couchbase.entities.
Operator
getPresentables()
- Method in class org.gcube.couchbase.entities.
MetaIndex
getRebalanceProgress(String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
getRowsetFromResult(Record)
- Static method in class org.gcube.couchbase.helpers.
RowsetParser
getRradaptor()
- Method in class org.gcube.couchbase.
CouchBaseNode
getScope()
- Method in class org.gcube.couchbase.
CouchBaseNode
getSearchables()
- Method in class org.gcube.couchbase.entities.
MetaIndex
getStringDoc(String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper
getStringFromOperator(Operator)
- Static method in enum org.gcube.couchbase.entities.
Operator
getStringView()
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getStringView(String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getStringView(String, String)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getView(String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getView(String, String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
getViewResponse(ViewResponse)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns a list of the keys of the matching documents of the ViewResponse
getViewResponseKeyValues(ViewResponse)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
I
initRSWriterForSearchHits(List<String>, List<String>, boolean, RRadaptor)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Creates the gRS2 writer for the given projections and presentables.
insertSimple(CouchbaseClient, String, String, CouchBaseDataTypesHelper.DataType)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Insert a key-value pair
insertSimple(CouchbaseClient, ForwardIndexDocument)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Inserts a ForwardIndexDocument document
J
joinCluster(String, String)
- Method in class org.gcube.couchbase.
CouchBaseNode
Joins a cluster of a known server
joinCluster(Map<String, String>)
- Method in class org.gcube.couchbase.
CouchBaseNode
K
keyCount(CouchbaseClient, String, String, Set<String>, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns the number of keys for each field.
L
LANG_UNKNOWN
- Static variable in class org.gcube.couchbase.entities.
ForwardIndexDocument
loadFromDatabase(CouchbaseClient)
- Method in class org.gcube.couchbase.entities.
MetaIndex
loadKeysFromMetaIndex()
- Method in class org.gcube.couchbase.
CouchBaseNode
Loads the keys from the metaIndex
loadMetaFromDatabase()
- Method in class org.gcube.couchbase.
CouchBaseNode
Loads the meta index from the database and discards current changes
loadMetaFromDatabase(CouchbaseClient)
- Static method in class org.gcube.couchbase.entities.
MetaIndex
loadXMLFromString(String)
- Static method in class org.gcube.couchbase.entities.
ForwardIndexDocument
M
main(String[])
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
main(String[])
- Static method in class org.gcube.couchbase.helpers.
ViewHelper
MetaIndex
- Class in
org.gcube.couchbase.entities
MetaIndex()
- Constructor for class org.gcube.couchbase.entities.
MetaIndex
multiGetCouchBase(CouchbaseClient, Collection<String>, boolean)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns a Map of
for the given collection of ids.
multiGetCouchBase(CouchbaseClient, Collection<String>, boolean, int)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns a Map of
for the given collection of ids.
O
Operator
- Enum in
org.gcube.couchbase.entities
org.gcube.couchbase
- package org.gcube.couchbase
org.gcube.couchbase.entities
- package org.gcube.couchbase.entities
org.gcube.couchbase.helpers
- package org.gcube.couchbase.helpers
P
parseXML(String)
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
parseXML(Map<String, ArrayList<String>>, Map<String, ArrayList<String>>, String)
- Static method in class org.gcube.couchbase.entities.
ForwardIndexDocument
printQueryDate(ViewResponse)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
pruneQuery(List<BDBGcqlQueryContainer.SingleTerm>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns a string that is the representations of the terms given but excludes the fields with the wildcard
Q
query(String)
- Method in class org.gcube.couchbase.
CouchBaseNode
Executes the queryString and returns the answers at a specific locator.
query(CouchbaseClient, MetaIndex, String, String, Map<String, CouchBaseDataTypesHelper.DataType>, RRadaptor, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseHelper
Executes the queryString and returns a gRS2 endpoint locator were the results will written.
queryCouchBase(CouchbaseClient, String, String, Operator, Object, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns only the keys and the matching docs (not the document).
queryCouchBase(CouchbaseClient, String, String, Operator, Object, Operator, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns only the keys and the matching docs (not the document).
queryCouchBase(CouchbaseClient, String, String, Operator, Object)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns only the keys and the matching docs (not the document).
queryCountCouchBase(CouchbaseClient, String, String, String, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns the number of keys for each field.
queryCountCouchBase(CouchbaseClient, String, String)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns the number of keys for each field.
QueryHelper
- Class in
org.gcube.couchbase.helpers
QueryHelper()
- Constructor for class org.gcube.couchbase.helpers.
QueryHelper
queryRelations(CouchbaseClient, String, String, Map<String, List<Relation>>, Map<String, CouchBaseDataTypesHelper.DataType>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns all the ids that match the given Relations in a list.
queryString(CouchbaseClient, String, String, Map<String, CouchBaseDataTypesHelper.DataType>, String)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns all the ids that match the given queryString in a list.
R
rebalanceCluster(String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
rebalanceCluster(String, String, String, String, List<String>)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
rebalanceCluster(String, String, String, String, List<String>, List<String>)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
removeCollection(String)
- Method in class org.gcube.couchbase.entities.
MetaIndex
removeNode(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
removeNode(String, String, String, String, List<String>, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
RowsetParser
- Class in
org.gcube.couchbase.helpers
RowsetParser()
- Constructor for class org.gcube.couchbase.helpers.
RowsetParser
S
saveMetaIndexToDatabase(CouchbaseClient, MetaIndex, Boolean)
- Static method in class org.gcube.couchbase.entities.
MetaIndex
saveMetaIndexToDatabase(CouchbaseClient, MetaIndex)
- Static method in class org.gcube.couchbase.entities.
MetaIndex
saveToDatabase(CouchbaseClient)
- Method in class org.gcube.couchbase.entities.
MetaIndex
Saves the metaindex in the database.
setIndexType(Map<String, String>)
- Method in class org.gcube.couchbase.
CouchBaseNode
Given at map of
elements it creates the keys of that hold the DataType of each field and then it creates the indexes for each field
setMetaIndex(MetaIndex)
- Method in class org.gcube.couchbase.
CouchBaseNode
shutdown()
- Method in class org.gcube.couchbase.
CouchBaseNode
Shuts down the node and leaves the cluster
singleGetCouchBase(CouchbaseClient, String)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Returns a document that its key matches the id given
statusBucketsRestfully(String, String, String, String, String)
- Static method in class org.gcube.couchbase.helpers.
CouchBaseRestHelper
T
toCalendarDateString(long)
- Static method in class org.gcube.couchbase.helpers.
DateHelper
toCalendarDateTime(GregorianCalendar)
- Static method in class org.gcube.couchbase.helpers.
DateHelper
toDateString(long)
- Static method in class org.gcube.couchbase.helpers.
DateHelper
toDateTime(Date)
- Static method in class org.gcube.couchbase.helpers.
DateHelper
toJSON()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
toString()
- Method in class org.gcube.couchbase.entities.
ForwardIndexDocument
toString()
- Method in class org.gcube.couchbase.entities.
MetaIndex
toString()
- Method in enum org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper.DataType
U
updateFromDoc(ForwardIndexDocument)
- Method in class org.gcube.couchbase.entities.
MetaIndex
updateMetaFromDoc(MetaIndex, ForwardIndexDocument)
- Static method in class org.gcube.couchbase.entities.
MetaIndex
V
validateAndSimplifyKeys(Map<String, List<Relation>>)
- Static method in class org.gcube.couchbase.helpers.
QueryHelper
Performs a validation on a Map that contains the Relations per key.
valueOf(String)
- Static method in enum org.gcube.couchbase.entities.
Operator
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper.DataType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.gcube.couchbase.entities.
Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.gcube.couchbase.helpers.
CouchBaseDataTypesHelper.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
ViewHelper
- Class in
org.gcube.couchbase.helpers
The important thing about the views is that each view has name that is constructed from the given bucket_name (or "" if not given) the field name and the datatype of the field.
ViewHelper()
- Constructor for class org.gcube.couchbase.helpers.
ViewHelper
A
C
D
E
F
G
I
J
K
L
M
O
P
Q
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2013. All Rights Reserved.