- changed(DatabaseChange) - Method in interface com.couchbase.lite.DatabaseChangeListener
-
- changed(DocumentChange) - Method in interface com.couchbase.lite.DocumentChangeListener
-
- changed(Replicator, Replicator.Status, CouchbaseLiteException) - Method in interface com.couchbase.lite.ReplicatorChangeListener
-
- changeEncryptionKey(Object) - Static method in class com.couchbase.lite.Database
-
Changes the database's encryption key, or removes encryption if the new key is null.
- close() - Method in class com.couchbase.lite.Database
-
Closes a database.
- com.couchbase.lite - package com.couchbase.lite
-
- compact() - Method in class com.couchbase.lite.Database
-
Compacts the database file by deleting unused attachment files and vacuuming the SQLite database
- concat(Object) - Method in class com.couchbase.lite.Expression
-
Create a concat expression to concatenate the current expression with the given expression.
- Conflict - Class in com.couchbase.lite
-
Provides details about a Conflict.
- Conflict.OperationType - Enum in com.couchbase.lite
-
- ConflictResolver - Interface in com.couchbase.lite
-
Interface for an application-defined object that can resolve a conflict between two revisions of
a document.
- contains(String) - Method in class com.couchbase.lite.Database
-
- contains(String) - Method in class com.couchbase.lite.Dictionary
-
Tests whether a property exists or not.
- contains(String) - Method in class com.couchbase.lite.Document
-
Tests whether a property exists or not.
- contains(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Tests whether a property exists or not.
- copy(Query) - Method in class com.couchbase.lite.Query
-
- copy() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- CouchbaseLiteException - Exception in com.couchbase.lite
-
A CouchbaseLiteException gets raised whenever a Couchbase Lite faces errors.
- CouchbaseLiteException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified detail message.
- CouchbaseLiteException(Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified cause
- CouchbaseLiteException(int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified error domain and error code
- CouchbaseLiteException(int, int, Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified error domain, error code and the specified cause
- count() - Method in class com.couchbase.lite.Array
-
Gets a number of the items in the array.
- count() - Method in class com.couchbase.lite.Dictionary
-
Gets a number of the entries in the dictionary.
- count() - Method in class com.couchbase.lite.Document
-
Gets a number of the entries in the dictionary.
- count() - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets a number of the items in the array.
- count() - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a number of the entries in the dictionary.
- createIndex(List<Expression>) - Method in class com.couchbase.lite.Database
-
Creates a value index (type IndexType.Value) on the given expressions.
- createIndex(List<Expression>, IndexType, IndexOptions) - Method in class com.couchbase.lite.Database
-
Creates an index based on the given expressions, index type, and index config.
- Database - Class in com.couchbase.lite
-
A Couchbase Lite database.
- Database(String, DatabaseConfiguration) - Constructor for class com.couchbase.lite.Database
-
Construct a Database with a given name and database config.
- database(Database) - Static method in class com.couchbase.lite.DataSource
-
Create a database as a data source.
- Database(Database) - Constructor for class com.couchbase.lite.DataSource.Database
-
- DATABASE - Static variable in class com.couchbase.lite.Log
-
Logging Tag for Database related operations
- DatabaseChange - Class in com.couchbase.lite
-
Provides details about a Database change.
- DatabaseChangeListener - Interface in com.couchbase.lite
-
The listener interface for receiving Database change events.
- DatabaseConfiguration - Class in com.couchbase.lite
-
- DatabaseConfiguration(Context) - Constructor for class com.couchbase.lite.DatabaseConfiguration
-
- DataSource - Class in com.couchbase.lite
-
A query data source, used for specifying the source of data for a query.
- DataSource(Object) - Constructor for class com.couchbase.lite.DataSource
-
- DataSource.Database - Class in com.couchbase.lite
-
Database as a data source for query.
- delete(Document) - Method in class com.couchbase.lite.Database
-
Delete the givin document.
- delete() - Method in class com.couchbase.lite.Database
-
Deletes a database.
- delete(String, File) - Static method in class com.couchbase.lite.Database
-
Deletes a database of the given name in the given directory.
- descending() - Method in class com.couchbase.lite.OrderBy.SortOrder
-
Set the order as descending order.
- Dictionary - Class in com.couchbase.lite
-
Dictionary provides access to dictionary data.
- Dictionary() - Constructor for class com.couchbase.lite.Dictionary
-
Initialize a new empty Dictionary object.
- Dictionary(Map<String, Object>) - Constructor for class com.couchbase.lite.Dictionary
-
Initializes a new CBLDictionary object with dictionary content.
- digest() - Method in class com.couchbase.lite.Blob
-
The cryptograhic digest of this Blob's contents, which uniquely identifies it.
- divide(Object) - Method in class com.couchbase.lite.Expression
-
Create a divide expression to divide the current expression by the given expression.
- Document - Class in com.couchbase.lite
-
A Couchbase Lite Document.
- Document() - Constructor for class com.couchbase.lite.Document
-
Creates a new Document object with a new random UUID.
- Document(String) - Constructor for class com.couchbase.lite.Document
-
Creates a new Document object with the given ID.
- Document(Map<String, Object>) - Constructor for class com.couchbase.lite.Document
-
Initializes a new CBLDocument object with a new random UUID and the dictionary as the content.
- Document(String, Map<String, Object>) - Constructor for class com.couchbase.lite.Document
-
Initializes a new Document object with a given ID and the dictionary as the content.
- DocumentChange - Class in com.couchbase.lite
-
Provides details about a Document change.
- DocumentChangeListener - Interface in com.couchbase.lite
-
The listener interface for receiving Document change events.
- getActivityLevel() - Method in class com.couchbase.lite.Replicator.Status
-
The current activity level.
- getArray(int) - Method in class com.couchbase.lite.Array
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.Dictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(String) - Method in class com.couchbase.lite.Document
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getBase() - Method in class com.couchbase.lite.Conflict
-
- getBlob(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Blob.
- getBlob(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as a Blob.
- getBoolean(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a boolean.
- getBoolean(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as a boolean.
- getC4enum() - Method in class com.couchbase.lite.QueryRow
-
- getCode() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error code for this error.
- getCompleted() - Method in class com.couchbase.lite.Replicator.Progress
-
The number of completed changes processed.
- getConfig() - Method in class com.couchbase.lite.Database
-
Returned the copied config object
- getConfig() - Method in class com.couchbase.lite.Replicator
-
The replicator's configuration.
- getConflictResolver() - Method in class com.couchbase.lite.BaseDatabaseConfiguration
-
- getContent() - Method in class com.couchbase.lite.Blob
-
Gets the contents of a Blob as a block of memory.
- getContentStream() - Method in class com.couchbase.lite.Blob
-
Get the stream of content of a Blob.
- getContentType() - Method in class com.couchbase.lite.Blob
-
Return the type of content this Blob represents; by convention this is a MIME type.
- getCount() - Method in class com.couchbase.lite.Database
-
The number of documents in the database.
- getData() - Method in class com.couchbase.lite.ReadOnlyArray
-
- getData() - Method in class com.couchbase.lite.ReadOnlyDictionary
-
- getDatabase() - Method in class com.couchbase.lite.DatabaseChange
-
Returns the database instance
- getDatabase() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- getDatabase() - Method in class com.couchbase.lite.ReplicatorTarget
-
- getDate(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Date.
- getDate(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Date.
- getDate(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Date.
- getDate(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as a Date.
- getDate(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as a Date.
- getDictionary(int) - Method in class com.couchbase.lite.Array
-
Gets a Dictionary at the given index.
- getDictionary(String) - Method in class com.couchbase.lite.Dictionary
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(String) - Method in class com.couchbase.lite.Document
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets a Dictionary at the given index.
- getDictionary(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDirectory() - Method in class com.couchbase.lite.BaseDatabaseConfiguration
-
Returns the path to the directory to store the database in.
- getDocument(String) - Method in class com.couchbase.lite.Database
-
Gets an existing Document object with the given ID.
- getDocument() - Method in class com.couchbase.lite.QueryRow
-
Get the document that produced this row.
- getDocumentID() - Method in class com.couchbase.lite.DocumentChange
-
Returns the changed document ID
- getDocumentID() - Method in class com.couchbase.lite.QueryRow
-
Get the ID of the document that produced this row.
- getDocumentIDs() - Method in class com.couchbase.lite.DatabaseChange
-
Returns the list of the changed document IDs
- getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error domain for this error.
- getDomainString() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error domain for this error.
- getDouble(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an double.
- getDouble(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an double.
- getDouble(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an double.
- getDouble(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as an double.
- getDouble(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as an double.
- getEncryptionKey() - Method in class com.couchbase.lite.BaseDatabaseConfiguration
-
Returns a key to encrypt the database with.
- getFloat(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an float.
- getFloat(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an float.
- getFloat(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an float.
- getFloat(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as an float.
- getFloat(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as an float.
- getFrom() - Method in class com.couchbase.lite.Query
-
- getFullTextMatched() - Method in class com.couchbase.lite.FullTextQueryRow
-
Get the text emitted when the view was indexed which contains the match(es).
- getId() - Method in class com.couchbase.lite.ReadOnlyDocument
-
return the document's ID.
- getInt(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an int.
- getInt(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an int.
- getInt(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an int.
- getInt(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as an int.
- getInt(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as an int.
- getKeys() - Method in class com.couchbase.lite.Dictionary
-
- getKeys() - Method in class com.couchbase.lite.Document
-
- getKeys() - Method in class com.couchbase.lite.ReadOnlyDictionary
-
- getLanguage() - Method in class com.couchbase.lite.IndexOptions
-
Get the language option.
- getLength() - Method in class com.couchbase.lite.Range
-
Get the length of the word.
- getLocation() - Method in class com.couchbase.lite.Range
-
Get the start location that the word is located in the full text.
- getLong(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an long.
- getLong(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an long.
- getLong(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an long.
- getLong(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as an long.
- getLong(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as an long.
- getMatchCount() - Method in class com.couchbase.lite.FullTextQueryRow
-
Get the number of query words that were found in the full-text.
- getMine() - Method in class com.couchbase.lite.Conflict
-
- getName() - Method in class com.couchbase.lite.Database
-
Return the database name
- getNumber(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Number.
- getNumber(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Number.
- getNumber(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Number.
- getNumber(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as a Number.
- getNumber(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as a Number.
- getObject(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an object.
- getObject(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an object.
- getObject(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an object.
- getObject(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as an object.
- getObject(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as an object.
- getOperationType() - Method in class com.couchbase.lite.Conflict
-
- getOptions() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- getOrderBy() - Method in class com.couchbase.lite.Query
-
- getPath() - Method in class com.couchbase.lite.Database
-
Return the database's path.
- getProgress() - Method in class com.couchbase.lite.Replicator.Status
-
The current progress of the replicator.
- getProperties() - Method in class com.couchbase.lite.Blob
-
Return the metadata associated with this Blob
- getQuery() - Method in class com.couchbase.lite.QueryRow
-
- getResolver() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- getSelect() - Method in class com.couchbase.lite.Query
-
- getSequence() - Method in class com.couchbase.lite.QueryRow
-
Get the sequence number of the document revision that produced this row.
- getSequence() - Method in class com.couchbase.lite.ReadOnlyDocument
-
Return the sequence number of the document in the database.
- getStatus() - Method in class com.couchbase.lite.Replicator
-
The replicator's current status: its activity level and progress.
- getString(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a String.
- getString(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a String.
- getString(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a String.
- getString(int) - Method in class com.couchbase.lite.ReadOnlyArray
-
Gets value at the given index as a String.
- getString(String) - Method in class com.couchbase.lite.ReadOnlyDictionary
-
Gets a property's value as a String.
- getTarget() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- getTermIndexOfMatch(int) - Method in class com.couchbase.lite.FullTextQueryRow
-
Get the index of the search term matched by a particular match.
- getTextRangeOfMatch(int) - Method in class com.couchbase.lite.FullTextQueryRow
-
Get the character range in the full-text of a particular match.
- getTheirs() - Method in class com.couchbase.lite.Conflict
-
- getTotal() - Method in class com.couchbase.lite.Replicator.Progress
-
The total number of changes to be processed.
- getType() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
- getUri() - Method in class com.couchbase.lite.ReplicatorTarget
-
- getWhere() - Method in class com.couchbase.lite.Query
-
- greaterThan(Object) - Method in class com.couchbase.lite.Expression
-
Create a greater than expression that evaluates whether or not the current expression
is greater than the given expression.
- greaterThanOrEqualTo(Object) - Method in class com.couchbase.lite.Expression
-
Create a greater than or equal to expression that evaluates whether or not the current
expression is greater than or equal to the given expression.
- negated(Object) - Static method in class com.couchbase.lite.Expression
-
Create a negated expression to represent the negated result of the given expression.
- NetworkReachabilityListener - Interface in com.couchbase.lite
-
Classes that want to register to the NetworkReachabilityManager to be notified of
network reachability events should implment this interface.
- NetworkReachabilityManager - Class in com.couchbase.lite
-
This uses system api (on Android, uses the Context) to listen for network reachability
change events and notifies all NetworkReachabilityListeners that have registered themselves.
- NetworkReachabilityManager() - Constructor for class com.couchbase.lite.NetworkReachabilityManager
-
- networkReachable() - Method in interface com.couchbase.lite.NetworkReachabilityListener
-
- networkReachable() - Method in class com.couchbase.lite.Replicator
-
- networkUnreachable() - Method in interface com.couchbase.lite.NetworkReachabilityListener
-
- networkUnreachable() - Method in class com.couchbase.lite.Replicator
-
- next() - Method in class com.couchbase.lite.ResultSet
-
Move the cursor forward one row from its current row position.
- not(Object) - Static method in class com.couchbase.lite.Expression
-
Create a negated expression to represent the negated result of the given expression.
- NOT_FOUND - Static variable in class com.couchbase.lite.Range
-
The constant representing the NOT_FOUND location.
- notBetween(Object, Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT between expression that evaluates whether or not the current expression is
not between the given expressions.
- notEqualTo(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT equal to expression that evaluates whether or not the current expression
is not equal to the given expression.
- notGreaterThan(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT greater than expression that evaluates whether or not the current expression
is not greater than the given expression.
- notGreaterThanOrEqualTo(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT greater than or equal to expression that evaluates whether or not the current
expression is not greater than or equal to the given expression.
- notifyListenersNetworkReachable() - Method in class com.couchbase.lite.NetworkReachabilityManager
-
Notify listeners that the network is now reachable
- notifyListenersNetworkUneachable() - Method in class com.couchbase.lite.NetworkReachabilityManager
-
Notify listeners that the network is now unreachable
- notIn(Object...) - Method in class com.couchbase.lite.Expression
-
Create a NOT IN expression that evaluates whether or not the current expression is not
in the given expressions.
- notLessThan(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT less than expression that evaluates whether or not the current expression
is not less than the given expression.
- notLessThanOrEqualTo(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT less than or equal to expression that evaluates whether or not the current
expression is not less than or equal to the given expression.
- notLike(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT Like expression that evaluates whether or not the current expression is NOT LIKE
the given expression.
- notMatch(Object) - Method in class com.couchbase.lite.Expression
-
Create a full text NOT match expression that evaluates whether or not the current expression
doesn't full text match the given expression.
- notNull() - Method in class com.couchbase.lite.Expression
-
Create an IS NOT NULL expression that evaluates whether or not the current expression is
not null.
- notRegex(Object) - Method in class com.couchbase.lite.Expression
-
Create a NOT regex match expression that evaluates whether or not the current expression
not regex matches the given expression.