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

A

abs(Expression) - Static method in class com.couchbase.lite.Function
Creates an ABS(expr) function that returns the absolute value of the given numeric expression.
acos(Expression) - Static method in class com.couchbase.lite.Function
Creates an ACOS(expr) function that returns the inverse cosine of the given numeric expression.
add(Expression) - Method in class com.couchbase.lite.Expression
Create an add expression to add the given expression to the current expression
addArray(Array) - Method in class com.couchbase.lite.MutableArray
Adds an Array object to the end of the array.
addBlob(Blob) - Method in class com.couchbase.lite.MutableArray
Adds a Blob object to the end of the array.
addBoolean(boolean) - Method in class com.couchbase.lite.MutableArray
Adds a boolean value to the end of the array.
addChangeListener(DatabaseChangeListener) - Method in class com.couchbase.lite.Database
Set the given DatabaseChangeListener to the this database.
addChangeListener(Executor, DatabaseChangeListener) - Method in class com.couchbase.lite.Database
 
addChangeListener(QueryChangeListener) - Method in interface com.couchbase.lite.Query
Adds a query change listener.
addChangeListener(Executor, QueryChangeListener) - Method in interface com.couchbase.lite.Query
Adds a query change listener with the dispatch queue on which changes will be posted.
addChangeListener(ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
 
addChangeListener(Executor, ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
Set the given ReplicatorChangeListener to the this replicator.
addDate(Date) - Method in class com.couchbase.lite.MutableArray
Adds a Date object to the end of the array.
addDictionary(Dictionary) - Method in class com.couchbase.lite.MutableArray
Adds a Dictionary object to the end of the array.
addDocumentChangeListener(String, DocumentChangeListener) - Method in class com.couchbase.lite.Database
Add the given DocumentChangeListener to the specified document.
addDocumentChangeListener(String, Executor, DocumentChangeListener) - Method in class com.couchbase.lite.Database
 
addDouble(double) - Method in class com.couchbase.lite.MutableArray
Adds a double value to the end of the array.
addFloat(float) - Method in class com.couchbase.lite.MutableArray
Adds a float value to the end of the array.
addInt(int) - Method in class com.couchbase.lite.MutableArray
Adds an integer value to the end of the array.
addLong(long) - Method in class com.couchbase.lite.MutableArray
Adds a long value to the end of the array.
addNumber(Number) - Method in class com.couchbase.lite.MutableArray
Adds a Number object to the end of the array.
addString(String) - Method in class com.couchbase.lite.MutableArray
Adds a String object to the end of the array.
addValue(Object) - Method in class com.couchbase.lite.MutableArray
Adds an object to the end of the array.
all() - Static method in class com.couchbase.lite.Expression
Creates a * expression to express all properties
all() - Static method in class com.couchbase.lite.SelectResult
Creates a SelectResult object that returns all properties data.
allResults() - Method in class com.couchbase.lite.ResultSet
Return List of Results.
and(Expression) - Method in class com.couchbase.lite.Expression
Create a logical AND expression that performs logical AND operation with the current expression.
any(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
Creates an ANY Quantified operator (ANY IN SATISFIES ) with the given variable name.
anyAndEvery(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
Creates an ANY AND EVERY Quantified operator (ANY AND EVERY IN SATISFIES ) with the given variable name.
Array - Class in com.couchbase.lite
Array provides readonly access to array data.
ArrayExpression - Class in com.couchbase.lite
Array expression
ArrayExpressionIn - Class in com.couchbase.lite
The In class represents the IN clause object in a quantified operator (ANY/ANY AND EVERY/EVERY IN SATISFIES ).
ArrayExpressionSatisfies - Class in com.couchbase.lite
The Satisfies class represents the SATISFIES clause object in a quantified operator (ANY/ANY AND EVERY/EVERY IN SATISFIES ).
ArrayFunction - Class in com.couchbase.lite
Function provies array functions.
as(String) - Method in class com.couchbase.lite.DataSource.As
Set an alias to the database data source.
as(String) - Method in class com.couchbase.lite.SelectResult.As
Specifies the alias name to the SelectResult object.
ascending() - Method in class com.couchbase.lite.Ordering.SortOrder
Set the order as ascending order.
ascii() - Static method in class com.couchbase.lite.Collation
Creates an ASCII collation that will compare two strings by using binary comparison.
asin(Expression) - Static method in class com.couchbase.lite.Function
Creates an ASIN(expr) function that returns the inverse sin of the given numeric expression.
atan(Expression) - Static method in class com.couchbase.lite.Function
Creates an ATAN(expr) function that returns the inverse tangent of the numeric expression.
atan2(Expression, Expression) - Static method in class com.couchbase.lite.Function
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
Authenticator - Class in com.couchbase.lite
Authenticator is an opaque based authenticator interface and not intended for application to implement a custom authenticator by subclassing Authenticator interface.
avg(Expression) - Static method in class com.couchbase.lite.Function
Creates an AVG(expr) function expression that returns the average of all the number values in the group of the values expressed by the given expression.

B

BasicAuthenticator - Class in com.couchbase.lite
The BasicAuthenticator class is an authenticator that will authenticate using HTTP Basic auth with the given username and password.
BasicAuthenticator(String, String) - Constructor for class com.couchbase.lite.BasicAuthenticator
 
between(Expression, Expression) - 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.
booleanValue(boolean) - Static method in class com.couchbase.lite.Expression
Create value expression with given boolean value

C

ceil(Expression) - Static method in class com.couchbase.lite.Function
Creates a CEIL(expr) function that returns the ceiling value of the given numeric expression.
changed(DatabaseChange) - Method in interface com.couchbase.lite.DatabaseChangeListener
Callback function from Database when database has change
changed(DocumentChange) - Method in interface com.couchbase.lite.DocumentChangeListener
Callback function from Database when the specified document is updated.
changed(QueryChange) - Method in interface com.couchbase.lite.QueryChangeListener
The callback function from live query
changed(ReplicatorChange) - Method in interface com.couchbase.lite.ReplicatorChangeListener
The callback function from Replicator
close() - Method in class com.couchbase.lite.Database
Closes a database.
collate(Collation) - Method in class com.couchbase.lite.Expression
Creates a Collate expression with the given Collation specification.
Collation - Class in com.couchbase.lite
Collation defines how strings are compared and is used when creating a COLLATE expression.
Collation.ASCII - Class in com.couchbase.lite
ASCII collation compares two strings by using binary comparison.
Collation.Unicode - Class in com.couchbase.lite
Unicode Collation that will compare two strings by using Unicode collation algorithm.
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
Conflict - Class in com.couchbase.lite
Provides details about a Conflict.
ConflictResolver - Interface in com.couchbase.lite
Interface for an application-defined object that can resolve a conflict between two revisions of a document.
contains(Expression, Expression) - Static method in class com.couchbase.lite.ArrayFunction
Creates an ARRAY_CONTAINS(expr, value) function that checks whether the given array expression contains the given value or not.
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(Expression, Expression) - Static method in class com.couchbase.lite.Function
Creates a CONTAINS(expr, substr) function that evaluates whether the given string expression conatins the given substring expression or not.
contains(String) - Method in class com.couchbase.lite.Result
Tests whether a projecting result key exists or not.
copy(File, String, DatabaseConfiguration) - Static method in class com.couchbase.lite.Database
 
cos(Expression) - Static method in class com.couchbase.lite.Function
Creates a COS(expr) function that returns the cosine of the given numeric expression.
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(String, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified detail message, 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
CouchbaseLiteException(String, Throwable, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified error domain, error code and the specified cause
CouchbaseLiteException(int, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
 
CouchbaseLiteRuntimeException - Exception in com.couchbase.lite
A CouchbaseLiteRuntimeException gets raised when Couchbase Lite faces unexpected error
CouchbaseLiteRuntimeException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
Constructs a new exception with the specified detail message.
CouchbaseLiteRuntimeException(Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
Constructs a new exception with the specified cause
CouchbaseLiteRuntimeException(int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
Constructs a new exception with the specified error domain and error code
CouchbaseLiteRuntimeException(String, Throwable, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
Constructs a new exception with the specified error domain, error code and the specified cause
CouchbaseLiteRuntimeException(String, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
Constructs a new exception with the specified error domain, error code and the specified cause
CouchbaseLiteRuntimeException(int, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
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(Expression) - Static method in class com.couchbase.lite.Function
Creates a COUNT(expr) function expression that returns the count of all values in the group of the values expressed by the given expression.
count() - Method in class com.couchbase.lite.Result
Return A number of the projecting values in the result.
createIndex(String, Index) - Method in class com.couchbase.lite.Database
 
crossJoin(DataSource) - Static method in class com.couchbase.lite.Join
Create an CROSS JOIN component with the given data source.

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.LogDomain - Enum in com.couchbase.lite
Log domain.
Database.LogLevel - Enum in com.couchbase.lite
Log level.
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
Configuration for opening a database.
DatabaseConfiguration(Context) - Constructor for class com.couchbase.lite.DatabaseConfiguration
 
DatabaseConfiguration(DatabaseConfiguration) - Constructor for class com.couchbase.lite.DatabaseConfiguration
 
DatabaseEndpoint - Class in com.couchbase.lite
Database based replication target endpoint.
DatabaseEndpoint(Database) - Constructor for class com.couchbase.lite.DatabaseEndpoint
Constructor with the database instance
DataSource - Class in com.couchbase.lite
A query data source, used for specifying the source of data for a query.
DataSource.As - Class in com.couchbase.lite
Database as a data source for query.
date(Date) - Static method in class com.couchbase.lite.Expression
Create value expression with given Date value
degrees(Expression) - Static method in class com.couchbase.lite.Function
Creates a DEGREES(expr) function that returns the degrees value of the given radiants value expression.
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.
deleteIndex(String) - Method in class com.couchbase.lite.Database
 
descending() - Method in class com.couchbase.lite.Ordering.SortOrder
Set the order as descending order.
Dictionary - Class in com.couchbase.lite
Dictionary provides readonly access to dictionary data.
digest() - Method in class com.couchbase.lite.Blob
The cryptograhic digest of this Blob's contents, which uniquely identifies it.
divide(Expression) - 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
Readonly version of the Document.
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.
doubleValue(double) - Static method in class com.couchbase.lite.Expression
Create value expression with given double value

E

e() - Static method in class com.couchbase.lite.Function
Creates a E() function that return the value of the mathemetical constant 'e'.
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Array
encodeTo(FlEncoder) is internal method.
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Blob
 
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Dictionary
encodeTo(FlEncoder) is internal method.
EncryptionKey - Class in com.couchbase.lite
The encryption key, a raw AES-256 key data which has exactly 32 bytes in length or a password string.
EncryptionKey(byte[]) - Constructor for class com.couchbase.lite.EncryptionKey
Initializes the encryption key with a raw AES-256 key data which has 32 bytes in length.
EncryptionKey(String) - Constructor for class com.couchbase.lite.EncryptionKey
Initializes the encryption key with the given password string.
Endpoint - Interface in com.couchbase.lite
Replication target endpoint interface
equals(Object) - Method in class com.couchbase.lite.Array
 
equals(Object) - Method in class com.couchbase.lite.Blob
 
equals(Object) - Method in class com.couchbase.lite.Dictionary
 
equals(Object) - Method in class com.couchbase.lite.Document
 
equalTo(Expression) - 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.
every(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
Creates an EVERY Quantified operator (EVERY IN SATISFIES ) with the given variable name.
execute() - Method in interface com.couchbase.lite.Query
Executes the query.
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.
exp(Expression) - Static method in class com.couchbase.lite.Function
Creates a EXP(expr) function that returns the value of 'e' power by the given numeric expression.
explain() - Method in interface 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(Expression) - Static method in class com.couchbase.lite.Ordering
Create a SortOrder, inherited from the OrderBy class, object by the given expression.
expression(Expression) - Static method in class com.couchbase.lite.SelectResult
Creates a SelectResult object with the given expression.

F

floatValue(float) - Static method in class com.couchbase.lite.Expression
Create value expression with given float value
floor(Expression) - Static method in class com.couchbase.lite.Function
Creates a FLOOR(expr) function that returns the floor value of the given numeric expression.
From - Class in com.couchbase.lite
A From represents a FROM clause for specifying the data source of the query.
from(String) - Method in class com.couchbase.lite.MetaExpression
Specifies an alias name of the data source to query the data from.
from(String) - Method in class com.couchbase.lite.PropertyExpression
Specifies an alias name of the data source to query the data from.
from(DataSource) - Method in class com.couchbase.lite.Select
Create and chain a FROM component for specifying the data source of the query.
from(String) - Method in class com.couchbase.lite.SelectResult.From
Species the data source alias name to the SelectResult object.
FullTextExpression - Class in com.couchbase.lite
Full-text expression
FullTextFunction - Class in com.couchbase.lite
Full-text function.
FullTextIndex - Class in com.couchbase.lite
Index for Full-Text search
fullTextIndex(FullTextIndexItem...) - Static method in class com.couchbase.lite.IndexBuilder
Create a full-text search index with the given index item and options.
FullTextIndexItem - Class in com.couchbase.lite
Full-text Index Item.
Function - Class in com.couchbase.lite
Function provides query functions

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.MutableArray
Gets a Array at the given index.
getArray(String) - Method in class com.couchbase.lite.MutableDictionary
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.MutableDocument
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.Result
The projecting result value at the given index as a Array object
getArray(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a readonly Array object.
getAuthenticator() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return the Authenticator to authenticate with a remote target.
getBase() - Method in class com.couchbase.lite.Conflict
Return the base or common anchester version of the document.
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.Result
The projecting result value at the given index as a Blob object
getBlob(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a Blob object.
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.Result
The projecting result value at the given index as a boolean value
getBoolean(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a boolean value.
getChannels() - Method in class com.couchbase.lite.ReplicatorConfiguration
A set of Sync Gateway channel names to pull from.
getCode() - Method in exception com.couchbase.lite.CouchbaseLiteException
Access the error code for this error.
getCode() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
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
Returns a READONLY config object which will throw a runtime exception when any setter methods are called.
getConfig() - Method in class com.couchbase.lite.Replicator
The replicator's configuration.
getConflictResolver() - Method in class com.couchbase.lite.DatabaseConfiguration
Returns the conflict resolver for this database.
getConflictResolver() - Method in class com.couchbase.lite.ReplicatorConfiguration
The conflict resolver for this replicator.
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.
getCookieName() - Method in class com.couchbase.lite.SessionAuthenticator
Return session cookie name that the session ID value will be set to when communicating the Sync Gateaway.
getCount() - Method in class com.couchbase.lite.Database
The number of documents in the database.
getDatabase() - Method in class com.couchbase.lite.DatabaseChange
Returns the database instance
getDatabase() - Method in class com.couchbase.lite.DatabaseEndpoint
Return the Database instance
getDatabase() - Method in class com.couchbase.lite.DocumentChange
Return the Database instance
getDatabase() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return the local database to replicate with the replication target.
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.Result
The projecting result value at the given index as an Array object
getDate(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a Date object.
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 a Dictionary value.
getDictionary(int) - Method in class com.couchbase.lite.MutableArray
Gets a Dictionary at the given index.
getDictionary(String) - Method in class com.couchbase.lite.MutableDictionary
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.MutableDocument
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.Result
The projecting result value at the given index as a Dictionary object
getDictionary(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a readonly Dictionary object.
getDirectory() - Method in class com.couchbase.lite.DatabaseConfiguration
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.
getDocumentID() - Method in class com.couchbase.lite.DocumentChange
Returns the changed document ID
getDocumentIDs() - Method in class com.couchbase.lite.DatabaseChange
Returns the list of the changed document IDs
getDocumentIDs() - Method in class com.couchbase.lite.ReplicatorConfiguration
A set of document IDs to filter by: if not nil, only documents with these IDs will be pushed and/or pulled.
getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteException
Access the error domain for this error.
getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
Access the error domain for this error.
getDomainString() - Method in exception com.couchbase.lite.CouchbaseLiteException
Access the error domain for this error.
getDomainString() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
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.Result
The projecting result value at the given index as a double value
getDouble(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a double value.
getEncryptionKey() - Method in class com.couchbase.lite.DatabaseConfiguration
Returns a key to encrypt the database with.
getError() - Method in class com.couchbase.lite.QueryChange
Return the error occurred when running the query.
getError() - Method in class com.couchbase.lite.Replicator.Status
 
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.Result
The projecting result value at the given index as a float value
getFloat(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a float value.
getHeaders() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return Extra HTTP headers to send in all requests to the remote target.
getId() - Method in class com.couchbase.lite.Document
return the document's ID.
getIndexes() - Method in class com.couchbase.lite.Database
 
getInfo() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
getInfo() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
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.Result
The projecting result value at the given index as a integer value
getInt(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a integer value Returns 0 if the key doesn't exist.
getKeys() - Method in class com.couchbase.lite.Dictionary
 
getKeys() - Method in class com.couchbase.lite.Document
Get an List containing all keys, or an empty List if the document has no properties.
getKeys() - Method in class com.couchbase.lite.Result
Return All projecting keys
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.Result
The projecting result value at the given index as a long value
getLong(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a long value Returns 0L if the key doesn't exist.
getMine() - Method in class com.couchbase.lite.Conflict
Return the mine version of the document.
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.Result
The projecting result value at the given index as a Number object
getNumber(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a Number object Returns null if the key doesn't exist.
getParameters() - Method in interface com.couchbase.lite.Query
Returns a copies of the current parameters.
getPassword() - Method in class com.couchbase.lite.BasicAuthenticator
 
getPath() - Method in class com.couchbase.lite.Database
Return the database's path.
getPinnedServerCertificate() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return the remote target's SSL certificate.
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.QueryChange
Return the source live query object.
getReplicator() - Method in class com.couchbase.lite.ReplicatorChange
Return the source replicator object.
getReplicatorType() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return Replicator type indicating the direction of the replicator.
getResults() - Method in class com.couchbase.lite.QueryChange
Return the new query result.
getSequence() - Method in class com.couchbase.lite.Document
Return the sequence number of the document in the database.
getSessionID() - Method in class com.couchbase.lite.SessionAuthenticator
Return session ID of the session created by a Sync Gateway.
getStatus() - Method in class com.couchbase.lite.Replicator
The replicator's current status: its activity level and progress.
getStatus() - Method in class com.couchbase.lite.ReplicatorChange
Return the replicator status.
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.Result
The projecting result value at the given index as a String object
getString(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a String object Returns null if the key doesn't exist.
getTarget() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return the replication target to replicate with.
getTheirs() - Method in class com.couchbase.lite.Conflict
Return the theirs version of the document.
getTotal() - Method in class com.couchbase.lite.Replicator.Progress
The total number of changes to be processed.
getURL() - Method in class com.couchbase.lite.URLEndpoint
Returns the url.
getUsername() - Method in class com.couchbase.lite.BasicAuthenticator
 
getValue(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an object.
getValue() - Method in enum com.couchbase.lite.Database.LogLevel
 
getValue(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an object.
getValue(String) - Method in class com.couchbase.lite.Document
Gets a property's value as an object.
getValue(String) - Method in class com.couchbase.lite.Parameters
Gets a parameter's value.
getValue(int) - Method in class com.couchbase.lite.Result
The projecting result value at the given index.
getValue(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a Object Returns null if the key doesn't exist.
greaterThan(Expression) - 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(Expression) - 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.
groupBy(Expression...) - Method in class com.couchbase.lite.From
Creates and chains a GroupBy object to group the query result.
GroupBy - Class in com.couchbase.lite
A GroupBy represents the GROUP BY clause to group the query result.
groupBy(Expression...) - Method in class com.couchbase.lite.Where
Create and chain a GROUP BY component to group the query result.

H

hashCode() - Method in class com.couchbase.lite.Array
 
hashCode() - Method in class com.couchbase.lite.Blob
 
hashCode() - Method in class com.couchbase.lite.Dictionary
 
hashCode() - Method in class com.couchbase.lite.Document
 
having(Expression) - Method in class com.couchbase.lite.GroupBy
Creates and chain a Having object for filtering the aggregated values from the the GROUP BY clause.
Having - Class in com.couchbase.lite
Having represents a HAVING clause of the query statement used for filtering the aggregated values from the the GROUP BY clause.

I

id - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the ID of the document.
ignoreAccents(boolean) - Method in class com.couchbase.lite.Collation.Unicode
Specifies whether the collation ignore the accents or diacritics when comparing the strings or not.
ignoreAccents(boolean) - Method in class com.couchbase.lite.FullTextIndex
Set the true value to ignore accents/diacritical marks.
ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.ASCII
Specifies whether the collation is case-sensitive or not.
ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.Unicode
Specifies whether the collation is case-insenstive or not.
in(Expression) - Method in class com.couchbase.lite.ArrayExpressionIn
Creates a Satisfies clause object with the given IN clause expression that could be an array object or an expression evaluated as an array object.
in(Expression...) - 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.
index(String) - Static method in class com.couchbase.lite.FullTextExpression
Creates a full-text expression with the given full-text index name.
IndexBuilder - Class in com.couchbase.lite
 
IndexBuilder() - Constructor for class com.couchbase.lite.IndexBuilder
 
IndexType - Enum in com.couchbase.lite
Types of database indexes.
innerJoin(DataSource) - Static method in class com.couchbase.lite.Join
Create an INNER JOIN component with the given data source.
insertArray(int, Array) - Method in class com.couchbase.lite.MutableArray
Inserts an Array object at the given index.
insertBlob(int, Blob) - Method in class com.couchbase.lite.MutableArray
Inserts a Blob object at the given index.
insertBoolean(int, boolean) - Method in class com.couchbase.lite.MutableArray
Inserts a boolean value at the given index.
insertDate(int, Date) - Method in class com.couchbase.lite.MutableArray
Inserts a Date object at the given index.
insertDictionary(int, Dictionary) - Method in class com.couchbase.lite.MutableArray
Inserts a Dictionary object at the given index.
insertDouble(int, double) - Method in class com.couchbase.lite.MutableArray
Inserts a double value at the given index.
insertFloat(int, float) - Method in class com.couchbase.lite.MutableArray
Inserts a float value at the given index.
insertInt(int, int) - Method in class com.couchbase.lite.MutableArray
Inserts an integer value at the given index.
insertLong(int, long) - Method in class com.couchbase.lite.MutableArray
Inserts a long value at the given index.
insertNumber(int, Number) - Method in class com.couchbase.lite.MutableArray
Inserts a Number object at the given index.
insertString(int, String) - Method in class com.couchbase.lite.MutableArray
Inserts a String object at the given index.
insertValue(int, Object) - Method in class com.couchbase.lite.MutableArray
Inserts an object at the given index.
intValue(int) - Static method in class com.couchbase.lite.Expression
Create value expression with given integer value
is(Expression) - 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
Return the continuous flag indicating whether the replicator should stay active indefinitely to replicate changed documents.
isDeleted() - Method in class com.couchbase.lite.Document
Return whether the document is deleted
isDeleted() - Method in class com.couchbase.lite.MutableDocument
Is the document deleted?
isNot(Expression) - 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.
isNullOrMissing() - Method in class com.couchbase.lite.Expression
Creates an IS NULL OR MISSING expression that evaluates whether or not the current expression is null or missing.
iterator() - Method in class com.couchbase.lite.Array
 
iterator() - Method in class com.couchbase.lite.Dictionary
 
iterator() - Method in class com.couchbase.lite.Document
Gets an iterator over the keys of the document's properties
iterator() - Method in class com.couchbase.lite.Result
Gets an iterator over the projecting result keys.
iterator() - Method in class com.couchbase.lite.ResultSet
Return Iterator of Results.

J

join(Join...) - Method in class com.couchbase.lite.From
Creates and chains a Joins object for specifying the JOIN clause of the query.
Join - Class in com.couchbase.lite
A Join component representing a single JOIN clause in the query statement.
join(DataSource) - Static method in class com.couchbase.lite.Join
Create a JOIN (same as INNER JOIN) component with the given data source.
Join.On - Class in com.couchbase.lite
On component used for specifying join conditions.
Joins - Class in com.couchbase.lite
A Joins component represents a collection of the joins clauses of the query statement.

L

leftJoin(DataSource) - Static method in class com.couchbase.lite.Join
Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source.
leftOuterJoin(DataSource) - Static method in class com.couchbase.lite.Join
Create a LEFT OUTER JOIN component with the given data source.
length(Expression) - Static method in class com.couchbase.lite.ArrayFunction
Creates an ARRAY_LENGTH(expr) function that returns the length of the given array expression.
length() - Method in class com.couchbase.lite.Blob
The binary length of this Blob
length(Expression) - Static method in class com.couchbase.lite.Function
Creates a LENGTH(expr) function that returns the length of the given string expression.
lessThan(Expression) - 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(Expression) - 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(Expression) - Method in class com.couchbase.lite.Expression
Create a Like expression that evaluates whether or not the current expression is LIKE the given expression.
limit(Expression) - Method in class com.couchbase.lite.From
Creates and chains a Limit object to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.From
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
limit(Expression) - Method in class com.couchbase.lite.GroupBy
Creates and chains a Limit object to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.GroupBy
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
limit(Expression) - Method in class com.couchbase.lite.Having
Creates and chains a Limit object to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.Having
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
limit(Expression) - Method in class com.couchbase.lite.Joins
Creates and chains a Limit object to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.Joins
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
Limit - Class in com.couchbase.lite
A Limit component represents the LIMIT clause of the query statement.
limit(Expression) - Method in class com.couchbase.lite.OrderBy
Creates and chains a Limit object to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.OrderBy
Creates and chains a Limit object to skip the returned results for the given offset
limit(Expression) - Method in class com.couchbase.lite.Where
Create and chain a LIMIT component to limit the number query results.
limit(Expression, Expression) - Method in class com.couchbase.lite.Where
Create and chain a LIMIT component to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
ListenerToken - Interface in com.couchbase.lite
The listener token interface
ln(Expression) - Static method in class com.couchbase.lite.Function
Creates a LN(expr) function that returns the natural log of the given numeric expression.
locale(String) - Method in class com.couchbase.lite.Collation.Unicode
Specifies the locale to allow the collation to compare strings appropriately base on the locale.
log(Expression) - Static method in class com.couchbase.lite.Function
Creates a LOG(expr) function that returns the base 10 log of the given numeric expression.
longValue(long) - Static method in class com.couchbase.lite.Expression
Create value expression with given long value
lower(Expression) - Static method in class com.couchbase.lite.Function
Creates a LOWER(expr) function that returns the lowercase string of the given string expression.
ltrim(Expression) - Static method in class com.couchbase.lite.Function
Creates a LTRIM(expr) function that removes the whitespace from the beginning of the given string expression.

M

match(String) - Method in class com.couchbase.lite.FullTextExpression
Creates a full-text match expression with the given search text.
max(Expression) - Static method in class com.couchbase.lite.Function
Creates a MAX(expr) function expression that returns the maximum value in the group of the values expressed by the given expression.
Meta - Class in com.couchbase.lite
Meta is a factory class for creating the expressions that refer to the metadata properties of the document.
MetaExpression - Class in com.couchbase.lite
A meta property expression.
min(Expression) - Static method in class com.couchbase.lite.Function
Creates a MIN(expr) function expression that returns the minimum value in the group of the values expressed by the given expression.
modulo(Expression) - Method in class com.couchbase.lite.Expression
Create a modulo expression to modulo the current expression by the given expression.
multiply(Expression) - Method in class com.couchbase.lite.Expression
Create a multiply expression to multiply the current expression by the given expression.
MutableArray - Class in com.couchbase.lite
MutableArray provides access to array data.
MutableArray() - Constructor for class com.couchbase.lite.MutableArray
Constructs a new empty Array object.
MutableArray(List<Object>) - Constructor for class com.couchbase.lite.MutableArray
Constructs a new Array object with an array content.
MutableDictionary - Class in com.couchbase.lite
Dictionary provides access to dictionary data.
MutableDictionary() - Constructor for class com.couchbase.lite.MutableDictionary
Initialize a new empty Dictionary object.
MutableDictionary(Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDictionary
Initializes a new CBLDictionary object with dictionary content.
MutableDocument - Class in com.couchbase.lite
A Couchbase Lite Document.
MutableDocument() - Constructor for class com.couchbase.lite.MutableDocument
Creates a new Document object with a new random UUID.
MutableDocument(String) - Constructor for class com.couchbase.lite.MutableDocument
Creates a new Document object with the given ID.
MutableDocument(Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDocument
Initializes a new CBLDocument object with a new random UUID and the dictionary as the content.
MutableDocument(String, Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDocument
Initializes a new Document object with a given ID and the dictionary as the content.

N

negated(Expression) - Static method in class com.couchbase.lite.Expression
Create a negated expression to represent the negated result of the given expression.
next() - Method in class com.couchbase.lite.ResultSet
Move the cursor forward one row from its current row position.
not(Expression) - Static method in class com.couchbase.lite.Expression
Create a negated expression to represent the negated result of the given expression.
notEqualTo(Expression) - 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.
notNullOrMissing() - Method in class com.couchbase.lite.Expression
Creates an IS NOT NULL OR MISSING expression that evaluates whether or not the current expression is NOT null or missing.
number(Number) - Static method in class com.couchbase.lite.Expression
Create value expression with given Number value

O

on(Expression) - Method in class com.couchbase.lite.Join.On
Specify join conditions from the given expression.
or(Expression) - Method in class com.couchbase.lite.Expression
Create a logical OR expression that performs logical OR operation with the current expression.
orderBy(Ordering...) - Method in class com.couchbase.lite.From
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
orderBy(Ordering...) - Method in class com.couchbase.lite.GroupBy
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
orderBy(Ordering...) - Method in class com.couchbase.lite.Having
Create and chain an ORDER BY component for specifying the orderings of the query result.
orderBy(Ordering...) - Method in class com.couchbase.lite.Joins
Creates and chains an OrderBy object for specifying the orderings of the query result.
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(Ordering...) - Method in class com.couchbase.lite.Where
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
Ordering - Class in com.couchbase.lite
An Ordering represents a single ordering component in the query ORDER BY clause.
Ordering.SortOrder - Class in com.couchbase.lite
SorderOrder represents a single ORDER BY entity.

P

parameter(String) - Static method in class com.couchbase.lite.Expression
Creates a parameter expression with the given parameter name.
Parameters - Class in com.couchbase.lite
A Parameters object used for setting values to the query parameters defined in the query.
Parameters() - Constructor for class com.couchbase.lite.Parameters
 
Parameters(Parameters) - Constructor for class com.couchbase.lite.Parameters
 
pi() - Static method in class com.couchbase.lite.Function
Creates a PI() function that returns the mathemetical constant Pi.
power(Expression, Expression) - Static method in class com.couchbase.lite.Function
Creates a POWER(base, exponent) function that returns the value of the given base expression power the given exponent expression.
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.FullTextIndexItem
Creates a full-text search index item with the given property.
property(String) - Static method in class com.couchbase.lite.Ordering
Create a SortOrder, inherited from the OrderBy class, object by the given property name.
property(String) - Static method in class com.couchbase.lite.SelectResult
Creates a SelectResult object with the given property name.
property(String) - Static method in class com.couchbase.lite.ValueIndexItem
Creates a value index item with the given property.
PropertyExpression - Class in com.couchbase.lite
Property expression
purge(Document) - Method in class com.couchbase.lite.Database
Purges the given document from the database.

Q

Query - Interface in com.couchbase.lite
A database query used for querying data from the database.
QueryBuilder - Class in com.couchbase.lite
 
QueryChange - Class in com.couchbase.lite
QueryChange contains the information about the query result changes reported by a query object.
QueryChangeListener - Interface in com.couchbase.lite
The listener interface for receiving Live Query change events.

R

radians(Expression) - Static method in class com.couchbase.lite.Function
Creates a RADIANS(expr) function that returns the radians value of the given degrees value expression.
rank(String) - Static method in class com.couchbase.lite.FullTextFunction
Creates a full-text rank function with the given full-text index name.
regex(Expression) - 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.MutableArray
Removes the object at the given index.
remove(String) - Method in class com.couchbase.lite.MutableDictionary
Removes the mapping for a key from this Dictionary
remove(String) - Method in class com.couchbase.lite.MutableDocument
Removes the mapping for a key from this Dictionary
removeChangeListener(ListenerToken) - Method in class com.couchbase.lite.Database
Remove the given DatabaseChangeListener from the this database.
removeChangeListener(ListenerToken) - Method in interface com.couchbase.lite.Query
Removes a change listener wih the given listener token.
removeChangeListener(ListenerToken) - Method in class com.couchbase.lite.Replicator
Remove the given ReplicatorChangeListener from the this replicator.
Replicator - Class in com.couchbase.lite
A replicator for replicating document changes between a local database and a target database.
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.
ReplicatorChange - Class in com.couchbase.lite
ReplicatorChange contains the replicator status information.
ReplicatorChangeListener - Interface in com.couchbase.lite
The listener interface for receiving Replicator change events.
ReplicatorConfiguration - Class in com.couchbase.lite
Replicator configuration.
ReplicatorConfiguration(ReplicatorConfiguration) - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorConfiguration(Database, Endpoint) - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorConfiguration.ReplicatorType - Enum in com.couchbase.lite
Replicator type PUSH_AND_PULL: Bidirectional; both push and pull PUSH: Pushing changes to the target PULL: Pulling changes from the target
resolve(Conflict) - Method in interface com.couchbase.lite.ConflictResolver
Resolves the given conflict.
Result - Class in com.couchbase.lite
Result represents a row of result set returned by a Query.
ResultSet - Class in com.couchbase.lite
A result set representing the _query result.
round(Expression) - Static method in class com.couchbase.lite.Function
Creates a ROUND(expr) function that returns the rounded value of the given numeric expression.
round(Expression, Expression) - Static method in class com.couchbase.lite.Function
Creates a ROUND(expr, digits) function that returns the rounded value to the given number of digits of the given numeric expression.
rtrim(Expression) - Static method in class com.couchbase.lite.Function
Creates a RTRIM(expr) function that removes the whitespace from the end of the given string expression.

S

satisfies(Expression) - Method in class com.couchbase.lite.ArrayExpressionSatisfies
Creates a complete quantified operator with the given satisfies expression.
save(MutableDocument) - Method in class com.couchbase.lite.Database
Saves the given document to the database.
select(SelectResult...) - Static method in class com.couchbase.lite.QueryBuilder
Create a SELECT statement instance that you can use further (e.g.
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(SelectResult...) - Static method in class com.couchbase.lite.QueryBuilder
Create a SELECT DISTINCT statement instance that you can use further (e.g.
SelectResult - Class in com.couchbase.lite
SelectResult represents a signle return value of the query statement.
SelectResult.As - Class in com.couchbase.lite
SelectResult.As is a SelectResult that you can specify an alias name to it.
SelectResult.From - Class in com.couchbase.lite
SelectResult.From is a SelectResult that you can specify the data source alias name.
sequence - Static variable in class com.couchbase.lite.Meta
A metadata expression refering to the sequence number of the document.
SessionAuthenticator - Class in com.couchbase.lite
SessionAuthenticator class is an authenticator that will authenticate by using the sessin ID of the session created by a Sync Gateway
SessionAuthenticator(String) - Constructor for class com.couchbase.lite.SessionAuthenticator
Initializes with the Sync Gateway session ID and uses the default cookie name.
SessionAuthenticator(String, String) - Constructor for class com.couchbase.lite.SessionAuthenticator
Initializes with the session ID and the cookie name.
setArray(int, Array) - Method in class com.couchbase.lite.MutableArray
Sets a Array object at the given index.
setArray(String, Array) - Method in class com.couchbase.lite.MutableDictionary
Set an Array object for the given key.
setArray(String, Array) - Method in class com.couchbase.lite.MutableDocument
Set an Array value for the given key
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets the authenticator to authenticate with a remote target server.
setBlob(int, Blob) - Method in class com.couchbase.lite.MutableArray
Sets a Blob object at the given index.
setBlob(String, Blob) - Method in class com.couchbase.lite.MutableDictionary
Set a Blob object for the given key.
setBlob(String, Blob) - Method in class com.couchbase.lite.MutableDocument
Set a Blob value for the given key
setBoolean(int, boolean) - Method in class com.couchbase.lite.MutableArray
Sets a boolean value at the given index.
setBoolean(String, boolean) - Method in class com.couchbase.lite.MutableDictionary
Set a boolean value for the given key.
setBoolean(String, boolean) - Method in class com.couchbase.lite.MutableDocument
Set a boolean value for the given key
setBoolean(String, boolean) - Method in class com.couchbase.lite.Parameters
Set a boolean value to the query parameter referenced by the given name.
setChannels(List<String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets a set of Sync Gateway channel names to pull from.
setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.DatabaseConfiguration
Sets a custom conflict resolver used for solving the conflicts when saving or deleting documents in the database.
setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets the custom conflict resolver for this replicator.
setContinuous(boolean) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets whether the replicator stays active indefinitely to replicate changed documents.
setData(List<Object>) - Method in class com.couchbase.lite.MutableArray
Set an array as a content.
setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDictionary
Set a dictionary as a content.
setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDocument
Set a dictionary as a content.
setDate(int, Date) - Method in class com.couchbase.lite.MutableArray
Sets a Date object at the given index.
setDate(String, Date) - Method in class com.couchbase.lite.MutableDictionary
Set a Date object for the given key.
setDate(String, Date) - Method in class com.couchbase.lite.MutableDocument
Set a Date value for the given key
setDate(String, Date) - Method in class com.couchbase.lite.Parameters
Set a date value to the query parameter referenced by the given name.
setDictionary(int, Dictionary) - Method in class com.couchbase.lite.MutableArray
Sets a Dictionary object at the given index.
setDictionary(String, Dictionary) - Method in class com.couchbase.lite.MutableDictionary
Set a Dictionary object for the given key.
setDictionary(String, Dictionary) - Method in class com.couchbase.lite.MutableDocument
Set a Dictionary value for the given key
setDirectory(String) - Method in class com.couchbase.lite.DatabaseConfiguration
Set the path to the directory to store the database in.
setDocumentIDs(List<String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets a set of document IDs to filter by: if given, only documents with these IDs will be pushed and/or pulled.
setDouble(int, double) - Method in class com.couchbase.lite.MutableArray
Sets a double value at the given index.
setDouble(String, double) - Method in class com.couchbase.lite.MutableDictionary
Set a double value for the given key.
setDouble(String, double) - Method in class com.couchbase.lite.MutableDocument
Set a double value for the given key
setDouble(String, double) - Method in class com.couchbase.lite.Parameters
Set a double value to the query parameter referenced by the given name.
setEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.Database
Changes the database's encryption key, or removes encryption if the new key is null.
setEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.DatabaseConfiguration
Set a key to encrypt the database with.
setFloat(int, float) - Method in class com.couchbase.lite.MutableArray
Sets a float value at the given index.
setFloat(String, float) - Method in class com.couchbase.lite.MutableDictionary
Set a float value for the given key.
setFloat(String, float) - Method in class com.couchbase.lite.MutableDocument
Set a float value for the given key
setFloat(String, float) - Method in class com.couchbase.lite.Parameters
Set a float value to the query parameter referenced by the given name.
setHeaders(Map<String, String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets the extra HTTP headers to send in all requests to the remote target.
setInt(int, int) - Method in class com.couchbase.lite.MutableArray
Sets an integer value at the given index.
setInt(String, int) - Method in class com.couchbase.lite.MutableDictionary
Set an int value for the given key.
setInt(String, int) - Method in class com.couchbase.lite.MutableDocument
Set a integer value for the given key
setInt(String, int) - Method in class com.couchbase.lite.Parameters
Set an int value to the query parameter referenced by the given name.
setLanguage(String) - Method in class com.couchbase.lite.FullTextIndex
The language code which is an ISO-639 language such as "en", "fr", etc.
setLogLevel(Database.LogDomain, Database.LogLevel) - Static method in class com.couchbase.lite.Database
 
setLong(int, long) - Method in class com.couchbase.lite.MutableArray
Sets an integer value at the given index.
setLong(String, long) - Method in class com.couchbase.lite.MutableDictionary
Set a long value for the given key.
setLong(String, long) - Method in class com.couchbase.lite.MutableDocument
Set a long value for the given key
setLong(String, long) - Method in class com.couchbase.lite.Parameters
Set an long value to the query parameter referenced by the given name.
setNumber(int, Number) - Method in class com.couchbase.lite.MutableArray
Sets an NSNumber object at the given index.
setNumber(String, Number) - Method in class com.couchbase.lite.MutableDictionary
Set a Number value for the given key.
setNumber(String, Number) - Method in class com.couchbase.lite.MutableDocument
Set a Number value for the given key
setNumber(String, Number) - Method in class com.couchbase.lite.Parameters
Set an Number value to the query parameter referenced by the given name.
setParameters(Parameters) - Method in interface com.couchbase.lite.Query
Set parameters should copy the given parameters.
setPinnedServerCertificate(byte[]) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets the target server's SSL certificate.
setReplicatorType(ReplicatorConfiguration.ReplicatorType) - Method in class com.couchbase.lite.ReplicatorConfiguration
Sets the replicator type indicating the direction of the replicator.
setString(int, String) - Method in class com.couchbase.lite.MutableArray
Sets an String object at the given index.
setString(String, String) - Method in class com.couchbase.lite.MutableDictionary
Set a String value for the given key.
setString(String, String) - Method in class com.couchbase.lite.MutableDocument
Set a String value for the given key
setString(String, String) - Method in class com.couchbase.lite.Parameters
Set an String value to the query parameter referenced by the given name.
setValue(int, Object) - Method in class com.couchbase.lite.MutableArray
Set an object at the given index.
setValue(String, Object) - Method in class com.couchbase.lite.MutableDictionary
Set an object value by key.
setValue(String, Object) - Method in class com.couchbase.lite.MutableDocument
Set an object value by key.
setValue(String, Object) - Method in class com.couchbase.lite.Parameters
Set a value to the query parameter referenced by the given name.
sign(Expression) - Static method in class com.couchbase.lite.Function
Creates a SIGN(expr) function that returns the sign (1: positive, -1: negative, 0: zero) of the given numeric expression.
sin(Expression) - Static method in class com.couchbase.lite.Function
Creates a SIN(expr) function that returns the sin of the given numeric expression.
sqrt(Expression) - Static method in class com.couchbase.lite.Function
Creates a SQRT(expr) function that returns the square root of the given numeric expression.
start() - Method in class com.couchbase.lite.Replicator
Starts the replicator.
stop() - Method in class com.couchbase.lite.Replicator
Stops a running replicator.
string(String) - Static method in class com.couchbase.lite.Expression
Create value expression with given String value
subtract(Expression) - Method in class com.couchbase.lite.Expression
Create a subtract expression to subtract the given expression from the current expression.
sum(Expression) - Static method in class com.couchbase.lite.Function
Creates a SUM(expr) function expression that return the sum of all number values in the group of the values expressed by the given expression.

T

tan(Expression) - Static method in class com.couchbase.lite.Function
Creates a TAN(expr) function that returns the tangent of the given numeric expression.
toList() - Method in class com.couchbase.lite.Array
Gets content of the current object as an List.
toList() - Method in class com.couchbase.lite.Result
Gets all values 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.Result
Gets all values as a Dictionary.
toMutable() - Method in class com.couchbase.lite.Array
Return a mutable copy of the array
toMutable() - Method in class com.couchbase.lite.Dictionary
Return a mutable copy of the dictionary
toMutable() - Method in class com.couchbase.lite.Document
Return a mutable copy of the document
toMutable() - Method in class com.couchbase.lite.MutableDocument
Returns the copy of this MutableDocument object.
toString() - Method in class com.couchbase.lite.Blob
Returns a string representation of the object.
toString() - Method in class com.couchbase.lite.Collation
 
toString() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
toString() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
 
toString() - Method in class com.couchbase.lite.Database
 
toString() - Method in class com.couchbase.lite.DatabaseChange
 
toString() - Method in class com.couchbase.lite.DatabaseEndpoint
 
toString() - Method in class com.couchbase.lite.DocumentChange
 
toString() - Method in class com.couchbase.lite.Expression
 
toString() - Method in class com.couchbase.lite.Replicator
 
toString() - Method in class com.couchbase.lite.URLEndpoint
 
trim(Expression) - Static method in class com.couchbase.lite.Function
Creates a TRIM(expr) function that removes the whitespace from the beginning and the end of the given string expression.
trunc(Expression) - Static method in class com.couchbase.lite.Function
Creates a TRUNC(expr) function that truncates all of the digits after the decimal place of the given numeric expression.
trunc(Expression, Expression) - Static method in class com.couchbase.lite.Function
Creates a TRUNC(expr, digits) function that truncates the number of the digits after the decimal place of the given numeric expression.

U

unicode() - Static method in class com.couchbase.lite.Collation
Creates a Unicode collation that will compare two strings by using Unicode Collation Algorithm.
upper(Expression) - Static method in class com.couchbase.lite.Function
Creates a UPPER(expr) function that returns the uppercase string of the given string expression.
URLEndpoint - Class in com.couchbase.lite
URL based replication target endpoint
URLEndpoint(URI) - Constructor for class com.couchbase.lite.URLEndpoint
Constructor with the url.

V

value(Object) - Static method in class com.couchbase.lite.Expression
Create value expression with given value
valueIndex(ValueIndexItem...) - Static method in class com.couchbase.lite.IndexBuilder
Create a value index with the given index items.
ValueIndex - Class in com.couchbase.lite
Value (standard query) index
ValueIndexItem - Class in com.couchbase.lite
Value Index Item
valueOf(String) - Static method in enum com.couchbase.lite.Database.LogDomain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.Database.LogLevel
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.ReplicatorConfiguration.ReplicatorType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.couchbase.lite.Database.LogDomain
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.Database.LogLevel
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.ReplicatorConfiguration.ReplicatorType
Returns an array containing the constants of this enum type, in the order they are declared.
variable(String) - Static method in class com.couchbase.lite.ArrayExpression
Creates a variable expression.
VariableExpression - Class in com.couchbase.lite
Variable expression

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(Expression) - Method in class com.couchbase.lite.Joins
Creates and chains a Where object 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 H I J L M N O P Q R S T U V W 
Skip navigation links