Skip navigation links
A B C D E F G I K L M N O P Q R S T V W 

A

add(Object) - Method in class com.couchbase.lite.Array
Adds an object to the end of the array.
add(Object) - Method in class com.couchbase.lite.Expression
Create an add expression to add the given expression to the current expression
addChangeListener(DatabaseChangeListener) - Method in class com.couchbase.lite.Database
Set the given DatabaseChangeListener to the this database.
addChangeListener(String, DocumentChangeListener) - Method in class com.couchbase.lite.Database
Add the given DocumentChangeListener to the specified document.
addChangeListener(ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
Set the given ReplicatorChangeListener to the this replicator.
addNetworkReachabilityListener(NetworkReachabilityListener) - Method in class com.couchbase.lite.NetworkReachabilityManager
Add Network Reachability Listener
and(Object) - Method in class com.couchbase.lite.Expression
Create a logical AND expression that performs logical AND operation with the current expression.
Array - Class in com.couchbase.lite
Array provides access to array data.
Array() - Constructor for class com.couchbase.lite.Array
Constructs a new empty Array object.
Array(List<Object>) - Constructor for class com.couchbase.lite.Array
Constructs a new Array object with an array content.
as(String) - Method in class com.couchbase.lite.DataSource.Database
Set an alias to the database data source.
ascending() - Method in class com.couchbase.lite.OrderBy.SortOrder
Set the order as ascending order.
asJSON() - Method in class com.couchbase.lite.Expression
 

B

BaseDatabaseConfiguration - Class in com.couchbase.lite
Options for opening a database.
BaseDatabaseConfiguration() - Constructor for class com.couchbase.lite.BaseDatabaseConfiguration
 
between(Object, Object) - Method in class com.couchbase.lite.Expression
Create a between expression that evaluates whether or not the current expression is between the given expressions inclusively.
Blob - Class in com.couchbase.lite
A Couchbase Lite Blob.
Blob(String, byte[]) - Constructor for class com.couchbase.lite.Blob
Construct a Blob with the given in-memory data.
Blob(String, InputStream) - Constructor for class com.couchbase.lite.Blob
Construct a Blob with the given stream of data The blob can then be added as a property of a Document.
Blob(String, URL) - Constructor for class com.couchbase.lite.Blob
Construct a Blob with the content of a file.
BLOB - Static variable in class com.couchbase.lite.Log
Logging Tag for Blob related operations

C

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.

D

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.

E

e(String, String) - Static method in class com.couchbase.lite.Log
Send an ERROR message.
e(String, String, Throwable) - Static method in class com.couchbase.lite.Log
Send a ERROR message and log the exception.
e(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.Log
Send a ERROR message and log the exception.
e(String, String, Object...) - Static method in class com.couchbase.lite.Log
Send a ERROR message.
enableLogging(String, int) - Static method in class com.couchbase.lite.Log
Enable logging for a particular tag / loglevel combo
equalTo(Object) - Method in class com.couchbase.lite.Expression
Create an equal to expression that evaluates whether or not the current expression is equal to the given expression.
ERROR - Static variable in class com.couchbase.lite.Log
Priority constant for the println method; use Log.e.
exists(String, File) - Static method in class com.couchbase.lite.Database
Checks whether a database of the given name exists in the given directory or not.
explain() - Method in class com.couchbase.lite.Query
Returns a string describing the implementation of the compiled query.
Expression - Class in com.couchbase.lite
An expression used for constructing a query statement.
Expression() - Constructor for class com.couchbase.lite.Expression
 
expression(Expression) - Static method in class com.couchbase.lite.OrderBy
Create a SortOrder, inherited from the OrderBy class, object by the given expression.

F

finalize() - Method in class com.couchbase.lite.Database
 
finalize() - Method in class com.couchbase.lite.Replicator
 
fleeceEncode(FLEncoder, Database) - Method in class com.couchbase.lite.Array
 
fleeceEncode(FLEncoder, Database) - Method in class com.couchbase.lite.Blob
 
fleeceEncode(FLEncoder, Database) - Method in class com.couchbase.lite.Dictionary
 
fleeceEncode(FLEncoder, Database) - Method in class com.couchbase.lite.ReadOnlyArray
 
fleeceEncode(FLEncoder, Database) - Method in class com.couchbase.lite.ReadOnlyDictionary
 
From - Class in com.couchbase.lite
A From represents a FROM clause for specifying the data source of the query.
from(DataSource) - Method in class com.couchbase.lite.Select
Create and chain a FROM component for specifying the data source of the query.
FullTextQueryRow - Class in com.couchbase.lite
A single result from a full-text Query.

G

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.

I

i(String, String) - Static method in class com.couchbase.lite.Log
Send an INFO message.
i(String, String, Throwable) - Static method in class com.couchbase.lite.Log
Send a INFO message and log the exception.
i(String, String, Object...) - Static method in class com.couchbase.lite.Log
Send an INFO message.
i(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.Log
Send a INFO message and log the exception.
in(Object...) - Method in class com.couchbase.lite.Expression
Create an IN expression that evaluates whether or not the current expression is in the given expressions.
inBatch(Runnable) - Method in class com.couchbase.lite.Database
Runs a group of database operations in a batch.
IndexOptions - Class in com.couchbase.lite
Options for creating a database index.
IndexOptions() - Constructor for class com.couchbase.lite.IndexOptions
Create an IndexOptions with default values.
IndexOptions(String, boolean) - Constructor for class com.couchbase.lite.IndexOptions
Create an IndexOptions with the given language and ignoreDiacritics value.
IndexType - Enum in com.couchbase.lite
Types of database indexes.
INFO - Static variable in class com.couchbase.lite.Log
Priority constant for the println method; use Log.i.
insert(int, Object) - Method in class com.couchbase.lite.Array
Inserts an object at the given index.
is(Object) - Method in class com.couchbase.lite.Expression
Create an IS expression that evaluates whether or not the current expression is equal to the given expression.
isContinuous() - Method in class com.couchbase.lite.ReplicatorConfiguration
 
isDeleted() - Method in class com.couchbase.lite.ReadOnlyDocument
Return whether the document is deleted
isDistinct() - Method in class com.couchbase.lite.Query
 
isIgnoreDiacritics() - Method in class com.couchbase.lite.IndexOptions
Get the ignoring diacritics option.
isNot(Object) - Method in class com.couchbase.lite.Expression
Create an IS NOT expression that evaluates whether or not the current expression is not equal to the given expression.
isNull() - Method in class com.couchbase.lite.Expression
Create an IS NULL expression that evaluates whether or not the current expression is null.
iterator() - Method in class com.couchbase.lite.Array
 
iterator() - Method in class com.couchbase.lite.Dictionary
 
iterator() - Method in class com.couchbase.lite.ReadOnlyArray
 
iterator() - Method in class com.couchbase.lite.ReadOnlyDictionary
 

K

kCBLReplicatorAuthOption - Static variable in class com.couchbase.lite.ReplicatorConfiguration
Options key for authentication dictionary
kCBLReplicatorAuthPassword - Static variable in class com.couchbase.lite.ReplicatorConfiguration
Auth key for password string
kCBLReplicatorAuthUserName - Static variable in class com.couchbase.lite.ReplicatorConfiguration
Auth key for username string

L

length() - Method in class com.couchbase.lite.Blob
The binary length of this Blob
lessThan(Object) - Method in class com.couchbase.lite.Expression
Create a less than expression that evaluates whether or not the current expression is less than the given expression.
lessThanOrEqualTo(Object) - Method in class com.couchbase.lite.Expression
Create a less than or equal to expression that evaluates whether or not the current expression is less than or equal to the given expression.
like(Object) - Method in class com.couchbase.lite.Expression
Create a Like expression that evaluates whether or not the current expression is LIKE the given expression.
Log - Class in com.couchbase.lite
Couchbase Lite Logging API.

M

match(Object) - Method in class com.couchbase.lite.Expression
Create a full text match expression that evaluates whether or not the current expression full text matches the given expression.
modulo(Object) - Method in class com.couchbase.lite.Expression
Create a modulo expression to modulo the current expression by the given expression.
multiply(Object) - Method in class com.couchbase.lite.Expression
Create a multiply expression to multiply the current expression by the given expression.

N

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.

O

objectDidChange(Object) - Method in class com.couchbase.lite.Array
 
objectDidChange(Object) - Method in class com.couchbase.lite.Dictionary
 
or(Object) - Method in class com.couchbase.lite.Expression
Create a logical OR expression that performs logical OR operation with the current expression.
orderBy(OrderBy...) - Method in class com.couchbase.lite.From
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
OrderBy - Class in com.couchbase.lite
An OrderBy represents an ORDER BY clause of the query for specifying properties or expressions that the result rows should be sorted by.
orderBy(OrderBy...) - Method in class com.couchbase.lite.Where
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
OrderBy.SortOrder - Class in com.couchbase.lite
SorderOrder represents a single ORDER BY entity.

P

property(String) - Static method in class com.couchbase.lite.Expression
Create a property expression representing the value of the given property.
property(String) - Static method in class com.couchbase.lite.OrderBy
Create a SortOrder, inherited from the OrderBy class, object by the given property name.
purge(Document) - Method in class com.couchbase.lite.Database
Purges the given document from the database.

Q

QUERY - Static variable in class com.couchbase.lite.Log
Logging Tag for Query related operations
Query - Class in com.couchbase.lite
A database query used for querying data from the database.
Query() - Constructor for class com.couchbase.lite.Query
 
QueryRow - Class in com.couchbase.lite
QueryRow represents a row of result set returned by a Query.

R

Range - Class in com.couchbase.lite
Full-text word range.
ReadOnlyArray - Class in com.couchbase.lite
ReadOnlyArray provides readonly access to array data.
ReadOnlyDictionary - Class in com.couchbase.lite
ReadOnlyDictionary provides readonly access to dictionary data.
ReadOnlyDocument - Class in com.couchbase.lite
Readonly version of the Document.
regex(Object) - Method in class com.couchbase.lite.Expression
Create a regex match expression that evaluates whether or not the current expression regex matches the given expression.
remove(int) - Method in class com.couchbase.lite.Array
Removes the object at the given index.
remove(String) - Method in class com.couchbase.lite.Dictionary
Removes the mapping for a key from this Dictionary
remove(String) - Method in class com.couchbase.lite.Document
Removes the mapping for a key from this Dictionary
removeChangeListener(DatabaseChangeListener) - Method in class com.couchbase.lite.Database
Remove the given DatabaseChangeListener from the this database.
removeChangeListener(String, DocumentChangeListener) - Method in class com.couchbase.lite.Database
Remove the given DocumentChangeListener from the specified document.
removeChangeListener(ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
Remove the given ReplicatorChangeListener from the this replicator.
removeNetworkReachabilityListener(NetworkReachabilityListener) - Method in class com.couchbase.lite.NetworkReachabilityManager
Remove Network Reachability Listener
Replicator - Class in com.couchbase.lite
 
Replicator(ReplicatorConfiguration) - Constructor for class com.couchbase.lite.Replicator
Initializes a replicator with the given configuration.
Replicator.ActivityLevel - Enum in com.couchbase.lite
Activity level of a replicator.
Replicator.Progress - Class in com.couchbase.lite
Progress of a replicator.
Replicator.Status - Class in com.couchbase.lite
Combined activity level and progress of a replicator.
ReplicatorChangeListener - Interface in com.couchbase.lite
The listener interface for receiving Replicator change events.
ReplicatorConfiguration - Class in com.couchbase.lite
 
ReplicatorConfiguration() - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorConfiguration(Database, ReplicatorTarget, ReplicatorType, boolean, ConflictResolver, Map<String, Object>) - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorTarget - Class in com.couchbase.lite
 
ReplicatorTarget(URI) - Constructor for class com.couchbase.lite.ReplicatorTarget
 
ReplicatorTarget(Database) - Constructor for class com.couchbase.lite.ReplicatorTarget
 
ReplicatorType - Enum in com.couchbase.lite
 
resolve(Conflict) - Method in interface com.couchbase.lite.ConflictResolver
 
ResultSet - Class in com.couchbase.lite
A result set representing the query result.
run() - Method in class com.couchbase.lite.Query
Runs the query.

S

save(Document) - Method in class com.couchbase.lite.Database
Saves the given document to the database.
select() - Static method in class com.couchbase.lite.Query
Create a SELECT ALL (*) query.
Select - Class in com.couchbase.lite
Select represents the SELECT clause of the query for specifying the returning properties in each query result row.
selectDistinct() - Static method in class com.couchbase.lite.Query
Create a SELECT DISTINCT ALL (*) query.
set(List<Object>) - Method in class com.couchbase.lite.Array
Set an array as a content.
set(int, Object) - Method in class com.couchbase.lite.Array
Set an object at the given index.
set(Map<String, Object>) - Method in class com.couchbase.lite.Dictionary
Set a dictionary as a content.
set(String, Object) - Method in class com.couchbase.lite.Dictionary
Set an object value by key.
set(Map<String, Object>) - Method in class com.couchbase.lite.Document
Set a dictionary as a content.
set(String, Object) - Method in class com.couchbase.lite.Document
Set an object value by key.
setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.BaseDatabaseConfiguration
 
setContinuous(boolean) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setData(CBLFLArray) - Method in class com.couchbase.lite.ReadOnlyArray
 
setData(CBLFLDict) - Method in class com.couchbase.lite.ReadOnlyDictionary
 
setDatabase(Database) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setDirectory(File) - Method in class com.couchbase.lite.BaseDatabaseConfiguration
Set the path to the directory to store the database in.
setDistinct(boolean) - Method in class com.couchbase.lite.Query
 
setEncryptionKey(Object) - Method in class com.couchbase.lite.BaseDatabaseConfiguration
Set a key to encrypt the database with.
setFrom(DataSource) - Method in class com.couchbase.lite.Query
 
setOptions(Map<String, Object>) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setOrderBy(OrderBy) - Method in class com.couchbase.lite.Query
 
setResolver(ConflictResolver) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setSelect(Select) - Method in class com.couchbase.lite.Query
 
setTarget(ReplicatorTarget) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setType(ReplicatorType) - Method in class com.couchbase.lite.ReplicatorConfiguration
 
setWhere(Expression) - Method in class com.couchbase.lite.Query
 
start() - Method in class com.couchbase.lite.Replicator
Starts the replicator.
startListening() - Method in class com.couchbase.lite.NetworkReachabilityManager
This method starts listening for network connectivity state changes.
stop() - Method in class com.couchbase.lite.Replicator
Stops a running replicator.
stopListening() - Method in class com.couchbase.lite.NetworkReachabilityManager
This method stops this class from listening for network changes.
subtract(Object) - Method in class com.couchbase.lite.Expression
Create a subtract expression to subtract the given expression from the current expression.
SYNC - Static variable in class com.couchbase.lite.Log
Logging Tag for Sync related operations

T

toList() - Method in class com.couchbase.lite.Array
Gets content of the current object as an List.
toList() - Method in class com.couchbase.lite.ReadOnlyArray
Gets content of the current object as an List.
toMap() - Method in class com.couchbase.lite.Dictionary
Gets content of the current object as an Map.
toMap() - Method in class com.couchbase.lite.Document
Gets content of the current object as an Map.
toMap() - Method in class com.couchbase.lite.ReadOnlyDictionary
Gets content of the current object as an Map.
toString() - Method in class com.couchbase.lite.Blob
Returns a string representation of the object.
toString() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
toString() - Method in class com.couchbase.lite.Database
 
toString() - Method in class com.couchbase.lite.ReadOnlyDocument
 
toString() - Method in class com.couchbase.lite.Replicator
 
toString() - Method in class com.couchbase.lite.ReplicatorTarget
 

V

v(String, String) - Static method in class com.couchbase.lite.Log
Send a VERBOSE message.
v(String, String, Throwable) - Static method in class com.couchbase.lite.Log
Send a VERBOSE message and log the exception.
v(String, String, Object...) - Static method in class com.couchbase.lite.Log
Send a VERBOSE message.
v(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.Log
Send a VERBOSE message and log the exception.
valueOf(String) - Static method in enum com.couchbase.lite.Conflict.OperationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.IndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.Replicator.ActivityLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.ReplicatorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.couchbase.lite.Conflict.OperationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.IndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.Replicator.ActivityLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.ReplicatorType
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE - Static variable in class com.couchbase.lite.Log
Priority constant for the println method; use Log.v.

W

w(String, String) - Static method in class com.couchbase.lite.Log
Send a WARN message.
w(String, Throwable) - Static method in class com.couchbase.lite.Log
Send a WARN message and log the exception.
w(String, String, Throwable) - Static method in class com.couchbase.lite.Log
Send a WARN message and log the exception.
w(String, String, Object...) - Static method in class com.couchbase.lite.Log
Send a WARN message.
w(String, String, Throwable, Object...) - Static method in class com.couchbase.lite.Log
Send a WARN message and log the exception.
WARN - Static variable in class com.couchbase.lite.Log
Priority constant for the println method; use Log.w.
where(Expression) - Method in class com.couchbase.lite.From
Create and chain a WHERE component for specifying the WHERE clause of the query.
Where - Class in com.couchbase.lite
A Where represents the WHERE clause of the query for filtering the query result.
A B C D E F G I K L M N O P Q R S T V W 
Skip navigation links