A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages

A

AbstractIndex - Class in com.couchbase.lite
 
AbstractIndex.IndexType - Enum in com.couchbase.lite
 
AbstractIndex.QueryLanguage - Enum in com.couchbase.lite
 
AbstractReplicator - Class in com.couchbase.lite
A replicator for replicating document changes between a local database and a target database.
AbstractReplicatorConfiguration - Class in com.couchbase.lite
Replicator configuration.
AbstractReplicatorConfiguration.ReplicatorType - Enum in com.couchbase.lite
Deprecated.
Use AbstractReplicator.ReplicatorType
accept(MessageEndpointConnection) - Method in class com.couchbase.lite.MessageEndpointListener
Accept a new connection.
ACCESS_REMOVED - com.couchbase.lite.DocumentFlag
The current access removed status of the document.
accumulate(String, Object) - Method in class org.json.JSONObject
Appends value to the array already mapped to name.
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(MessageEndpointListenerChangeListener) - Method in class com.couchbase.lite.MessageEndpointListener
Add a change listener.
addChangeListener(QueryChangeListener) - Method in interface com.couchbase.lite.Query
Adds a change listener for the changes that occur in the query results.
addChangeListener(ReplicatorChangeListener) - Method in class com.couchbase.lite.AbstractReplicator
Adds a change listener for the changes in the replication status and progress.
addChangeListener(Executor, MessageEndpointListenerChangeListener) - Method in class com.couchbase.lite.MessageEndpointListener
Add a change listener with the given dispatch queue.
addChangeListener(Executor, QueryChangeListener) - Method in interface com.couchbase.lite.Query
Adds a change listener for the changes that occur in the query results with an executor on which the changes will be posted to the listener.
addChangeListener(Executor, ReplicatorChangeListener) - Method in class com.couchbase.lite.AbstractReplicator
Adds a change listener for the changes in the replication status and progress with an executor on which the changes will be posted to the listener.
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.
addDocumentReplicationListener(DocumentReplicationListener) - Method in class com.couchbase.lite.AbstractReplicator
Adds a listener for receiving the replication status of the specified document.
addDocumentReplicationListener(Executor, DocumentReplicationListener) - Method in class com.couchbase.lite.AbstractReplicator
Adds a listener for receiving the replication status of the specified document with an executor on which the status will be posted to the listener.
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.
ALL_DOMAINS - Static variable in enum com.couchbase.lite.LogDomain
 
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 <variable name> IN <expr> SATISFIES <expr>) 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 <variable name> IN <expr> SATISFIES <expr>) with the given variable name.
append(String, Object) - Method in class org.json.JSONObject
Appends values to the array mapped to name.
array() - Method in class org.json.JSONStringer
Begins encoding a new array.
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 <variable name> IN <expr> SATISFIES <expr>).
ArrayExpressionSatisfies - Class in com.couchbase.lite
The Satisfies class represents the SATISFIES clause object in a quantified operator (ANY/ANY AND EVERY/EVERY <variable name> IN <expr> SATISFIES <expr>).
ArrayFunction - Class in com.couchbase.lite
Function provides 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.
ASSERTION_FAILED - Static variable in class com.couchbase.lite.CBLError.Code
 
authenticate(String, char[]) - Method in interface com.couchbase.lite.ListenerPasswordAuthenticatorDelegate
Authenticate a client based on the passed credentials.
authenticate(List<Certificate>) - Method in interface com.couchbase.lite.ListenerCertificateAuthenticatorDelegate
Authenticate a client based on the passed certificates.
Authenticator - Class in com.couchbase.lite
Authenticator is an opaque authenticator interface and not intended for application to implement a custom authenticator by subclassing Authenticator interface.
Authenticator() - Constructor for class com.couchbase.lite.Authenticator
 

B

back() - Method in class org.json.JSONTokener
Unreads the most recent character of input.
BAD_DOC_ID - Static variable in class com.couchbase.lite.CBLError.Code
 
BAD_REVISION_ID - Static variable in class com.couchbase.lite.CBLError.Code
 
BaseDatabase - Class in com.couchbase.lite
 
BaseDatabase() - Constructor for class com.couchbase.lite.BaseDatabase
 
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, char[]) - Constructor for class com.couchbase.lite.BasicAuthenticator
Create a Basic Authenticator.
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.
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
BUSY - com.couchbase.lite.ReplicatorActivityLevel
The replication is actively transferring data.
BUSY - Static variable in class com.couchbase.lite.CBLError.Code
 
BYTE_STREAM - com.couchbase.lite.ProtocolType
 

C

CA_CERT - com.couchbase.lite.ServerCertificateVerificationMode
 
CANT_OPEN_FILE - Static variable in class com.couchbase.lite.CBLError.Code
 
CANT_UPGRADE_DATABASE - Static variable in class com.couchbase.lite.CBLError.Code
 
CBLError - Class in com.couchbase.lite
 
CBLError.Code - Class in com.couchbase.lite
 
CBLError.Domain - Class in com.couchbase.lite
 
CBLITE - Static variable in class com.couchbase.lite.CBLError.Domain
 
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(MessageEndpointListenerChange) - Method in interface com.couchbase.lite.MessageEndpointListenerChangeListener
 
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
changed(T) - Method in interface com.couchbase.lite.ChangeListener
 
changeEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.Database
ENTERPRISE EDITION API

ChangeListener<T> - Interface in com.couchbase.lite
 
ClientCertificateAuthenticator - Class in com.couchbase.lite
ENTERPRISE EDITION API

ClientCertificateAuthenticator(TLSIdentity) - Constructor for class com.couchbase.lite.ClientCertificateAuthenticator
Creates a ClientCertificateAuthenticator object with the given client identity.
close() - Method in class com.couchbase.lite.ResultSet
 
close(MessageEndpointConnection) - Method in class com.couchbase.lite.MessageEndpointListener
Close the given connection.
close(MessagingError) - Method in interface com.couchbase.lite.ReplicatorConnection
Tells the replicator to close the current replicator connection.
close(Exception, MessagingCloseCompletion) - Method in interface com.couchbase.lite.MessageEndpointConnection
Called to close the remote connection with the other peer when the replicator stops or when the MessageEndpointListener closes the connection.
closeAll() - Method in class com.couchbase.lite.MessageEndpointListener
Close all connections active at the time of the call.
code - Variable in exception com.couchbase.lite.LiteCoreException
 
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 - com.couchbase.lite.MaintenanceType
Shrinks the database file by removing any empty pages, and deletes blobs that are no longer referenced by any documents.
complete() - Method in interface com.couchbase.lite.MessagingCloseCompletion
Acknowledges completion of the close operation.
complete(boolean, MessagingError) - Method in interface com.couchbase.lite.MessagingCompletion
Acknowledges completion of the operation.
ConcurrencyControl - Enum in com.couchbase.lite
ConcurrencyControl type used when saving or deleting a document.
Conflict - Class in com.couchbase.lite
 
CONFLICT - Static variable in class com.couchbase.lite.CBLError.Code
 
ConflictHandler - Interface in com.couchbase.lite
 
ConflictResolver - Interface in com.couchbase.lite
Custom conflict resolution strategies implement this interface.
CONNECTING - com.couchbase.lite.ReplicatorActivityLevel
The replicator is connecting to the remote host.
ConnectionStatus - Class in com.couchbase.lite
Connection Status
ConnectionStatus(int, int) - Constructor for class com.couchbase.lite.ConnectionStatus
 
ConsoleLogger - Class in com.couchbase.lite
A class for sending log messages to standard output stream.
ConsoleLogger() - Constructor for class com.couchbase.lite.ConsoleLogger
 
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 interface com.couchbase.lite.DictionaryInterface
 
contains(String) - Method in class com.couchbase.lite.Document
Tests whether a property exists or not.
contains(String) - Method in class com.couchbase.lite.Result
Tests whether a projecting result key exists or not.
convertC4Error(C4Error) - Static method in exception com.couchbase.lite.CouchbaseLiteException
 
convertException(LiteCoreException) - Static method in exception com.couchbase.lite.CouchbaseLiteException
 
convertException(LiteCoreException, String) - Static method in exception com.couchbase.lite.CouchbaseLiteException
 
copy(File, String, DatabaseConfiguration) - Static method in class com.couchbase.lite.Database
Make a copy of a database in a new location.
CORRUPT_DATA - Static variable in class com.couchbase.lite.CBLError.Code
 
CORRUPT_REVISION_DATA - Static variable in class com.couchbase.lite.CBLError.Code
 
cosineDistance(Expression, Expression) - Static method in class com.couchbase.lite.Function
ENTERPRISE EDITION API

CouchbaseLite - Class in com.couchbase.lite
 
CouchbaseLiteException - Exception in com.couchbase.lite
A CouchbaseLiteException gets raised whenever a Couchbase Lite faces errors.
CouchbaseLiteException() - Constructor for exception com.couchbase.lite.CouchbaseLiteException
This method is not part of the public API.
CouchbaseLiteException(CBLInternalException) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Deprecated.
Must supply an error message
CouchbaseLiteException(Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Deprecated.
Must supply an error message
CouchbaseLiteException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified detail message.
CouchbaseLiteException(String, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Deprecated.
Must supply an error message
CouchbaseLiteException(String, int, Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Deprecated.
Must supply an error message
CouchbaseLiteException(String, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Deprecated.
Must supply an error message
CouchbaseLiteException(String, CBLInternalException) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception from an internal exception
CouchbaseLiteException(String, Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified cause
CouchbaseLiteException(String, Exception, String, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified error domain, error code and the specified cause
CouchbaseLiteException(String, Exception, String, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
This method is not part of the public API.
CouchbaseLiteException(String, String, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
Constructs a new exception with the specified detail message, error domain and error code
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 interface com.couchbase.lite.DictionaryInterface
 
count() - Method in class com.couchbase.lite.Document
Gets a number of the entries in the dictionary.
count() - Method in class com.couchbase.lite.Result
 
createConnection(MessageEndpoint) - Method in interface com.couchbase.lite.MessageEndpointDelegate
Creates an object of type MessageEndpointConnection interface.
createIdentity(boolean, Map<String, String>, Date, KeyStore, String, char[]) - Static method in class com.couchbase.lite.TLSIdentity
Create a self-signed certificate TLSIdentity object.
createQuery(String, Database) - Static method in class com.couchbase.lite.QueryBuilder
Create Query from a N1QL string
crossJoin(DataSource) - Static method in class com.couchbase.lite.Join
Create an CROSS JOIN component with the given data source.
CRYPTO - Static variable in class com.couchbase.lite.CBLError.Code
 

D

database(Database) - Static method in class com.couchbase.lite.DataSource
Create a database as a data source.
Database - Class in com.couchbase.lite
A Couchbase Lite database.
Database(String) - Constructor for class com.couchbase.lite.Database
Construct a Database with a given name and the default config.
Database(String, DatabaseConfiguration) - Constructor for class com.couchbase.lite.Database
Construct a AbstractDatabase with a given name and database config.
DATABASE - com.couchbase.lite.LogDomain
 
DATABASE_TOO_NEW - Static variable in class com.couchbase.lite.CBLError.Code
 
DATABASE_TOO_OLD - Static variable in class com.couchbase.lite.CBLError.Code
 
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() - Constructor for class com.couchbase.lite.DatabaseConfiguration
 
DatabaseConfiguration(DatabaseConfiguration) - Constructor for class com.couchbase.lite.DatabaseConfiguration
 
DatabaseEndpoint - Class in com.couchbase.lite
ENTERPRISE EDITION API

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
DEBUG - com.couchbase.lite.LogLevel
Debugging information.
DEFAULT - Static variable in interface com.couchbase.lite.ConflictResolver
The default conflict resolution strategy.
dehexchar(char) - Static method in class org.json.JSONTokener
Returns the integer [0..15] value for the given hex character, or -1 for non-hex input.
deleted - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the deleted boolean flag of the document.
DELETED - com.couchbase.lite.DocumentFlag
The current deleted status of the document.
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.
DictionaryInterface - Interface in com.couchbase.lite
Note: DictionaryInterface is an internal interface.
digest() - Method in class com.couchbase.lite.Blob
The cryptographic digest of this Blob's contents, which uniquely identifies it.
DISABLE_HEARTBEAT - Static variable in class com.couchbase.lite.AbstractReplicatorConfiguration
This is a long time: just under 25 days.
divide(Expression) - Method in class com.couchbase.lite.Expression
Create a divide expression to divide the current expression by the given expression.
DNS_FAILURE - Static variable in class com.couchbase.lite.CBLError.Code
 
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.
DocumentFlag - Enum in com.couchbase.lite
The flags enum describing the replicated document.
DocumentReplication - Class in com.couchbase.lite
Document replicated update of a replicator.
DocumentReplicationListener - Interface in com.couchbase.lite
The listener interface for receiving Document replicated events.
domain - Variable in exception com.couchbase.lite.LiteCoreException
 
doubleValue(double) - Static method in class com.couchbase.lite.Expression
Create value expression with given double value

E

ENCODER_ARG_DB - Static variable in class com.couchbase.lite.Blob
 
ENCODER_ARG_QUERY_PARAM - Static variable in class com.couchbase.lite.Blob
 
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Array
encodeTo(FlEncoder) is internal method.
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Blob
This method is not part of the public API: Do not use it.
encodeTo(FLEncoder) - Method in class com.couchbase.lite.Dictionary
Internal method: Do not use.
EncryptionKey - Class in com.couchbase.lite
ENTERPRISE EDITION API

EncryptionKey(byte[]) - Constructor for class com.couchbase.lite.EncryptionKey
Initializes the encryption key with a raw AES-128 key 16 bytes in length.
EncryptionKey(String) - Constructor for class com.couchbase.lite.EncryptionKey
Initializes the encryption key from the given password string.
endArray() - Method in class org.json.JSONStringer
Ends encoding the current array.
endObject() - Method in class org.json.JSONStringer
Ends encoding the current object.
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
Compare for equality.
equals(Object) - Method in class com.couchbase.lite.Dictionary
 
equals(Object) - Method in class com.couchbase.lite.Document
 
equals(Object) - Method in class com.couchbase.lite.LogFileConfiguration
 
equals(Object) - Method in class org.json.JSONArray
 
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.
ERROR - com.couchbase.lite.LogLevel
Internal errors that are unrecoverable
euclideanDistance(Expression, Expression) - Static method in class com.couchbase.lite.Function
ENTERPRISE EDITION API

every(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
Creates an EVERY Quantified operator (EVERY <variable name> IN <expr> SATISFIES <expr>) with the given variable name.
execute() - Method in interface com.couchbase.lite.Query
Executes the query.
expiration - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the expiration date of the document.
explain() - Method in interface com.couchbase.lite.Query
Returns a string describing the implementation of the compiled query.
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.
expression(Expression) - Static method in class com.couchbase.lite.ValueIndexItem
Creates a value index item with the given property.
Expression - Class in com.couchbase.lite
The expression used in constructing a query.
Expression() - Constructor for class com.couchbase.lite.Expression
 

F

FAIL_ON_CONFLICT - com.couchbase.lite.ConcurrencyControl
The operation will fail if there is a conflict.
FileLogger - Class in com.couchbase.lite
A logger for writing to a file in the application's storage so that log messages can persist durably after the application has stopped or encountered a problem.
filtered(Document, EnumSet<DocumentFlag>) - Method in interface com.couchbase.lite.ReplicationFilter
 
FLEECE - Static variable in class com.couchbase.lite.CBLError.Domain
 
floatValue(float) - Static method in class com.couchbase.lite.Expression
Create value expression with given float value
formatLog(LogLevel, String, String) - Static method in class com.couchbase.lite.ConsoleLogger
 
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.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(String) - Method in class com.couchbase.lite.SelectResult.From
Specifies the data source alias name for the SelectResult object.
From - Class in com.couchbase.lite
A From represents a FROM clause for specifying the data source of the query.
fromData(byte[]) - Static method in class com.couchbase.lite.Message
Creates a message object from data.
FULL_OPTIMIZE - com.couchbase.lite.MaintenanceType
Fully scans all indexes to gather database statistics that help optimize queries.
FULL_TEXT - com.couchbase.lite.AbstractIndex.IndexType
 
FullTextExpression - Class in com.couchbase.lite
Deprecated.
Use FullTextFunction.match()
FullTextFunction - Class in com.couchbase.lite
Full-text function.
FullTextIndex - Class in com.couchbase.lite
Index for Full-Text search
FullTextIndexConfiguration - Class in com.couchbase.lite
 
FullTextIndexConfiguration(String...) - Constructor for class com.couchbase.lite.FullTextIndexConfiguration
 
FullTextIndexItem - Class in com.couchbase.lite
Full-text Index Item.
Function - Class in com.couchbase.lite
Query functions.
Function() - Constructor for class com.couchbase.lite.Function
 

G

get(int) - Method in class org.json.JSONArray
Returns the value at index.
get(String) - Method in class org.json.JSONObject
Returns the value mapped by name, or throws if no such mapping exists.
getActiveConnectionCount() - Method in class com.couchbase.lite.ConnectionStatus
Get the count of clients that are currently actively transferring data.
getActivityLevel() - Method in class com.couchbase.lite.ReplicatorStatus
The current activity level.
getArray(int) - Method in class com.couchbase.lite.Array
Gets a Array at the given index.
getArray(int) - Method in class com.couchbase.lite.MutableArray
Gets a Array at the given index.
getArray(int) - Method in class com.couchbase.lite.Result
The result at the given index as an Array
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 interface com.couchbase.lite.DictionaryInterface
 
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(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 interface com.couchbase.lite.MutableDictionaryInterface
 
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(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.AbstractReplicatorConfiguration
Return the Authenticator to authenticate with a remote target.
getAuthenticator() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get the configured authenticator.
getBlob(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as a Blob.
getBlob(int) - Method in class com.couchbase.lite.Result
The result 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 interface com.couchbase.lite.DictionaryInterface
 
getBlob(String) - Method in class com.couchbase.lite.Document
Gets a property's value as a Blob.
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(int) - Method in class com.couchbase.lite.Result
The result at the given index as a boolean
getBoolean(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
getBoolean(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as a boolean.
getBoolean(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getBoolean(String) - Method in class com.couchbase.lite.Document
Gets a property's value as a boolean.
getBoolean(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a boolean value.
getBoolean(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or throws otherwise.
getChannels() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
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.LiteCoreException
 
getCompleted() - Method in class com.couchbase.lite.ReplicatorProgress
The number of completed changes processed.
getConfig() - Method in class com.couchbase.lite.AbstractReplicator
The replicator's configuration.
getConfig() - Method in class com.couchbase.lite.FileLogger
Gets the configuration currently in use by the file logger.
getConfig() - Method in class com.couchbase.lite.URLEndpointListener
Get the listener's configuration.
getConflictResolver() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the conflict resolver.
getConnection() - Method in class com.couchbase.lite.MessageEndpointListenerChange
Return connection
getConnectionCount() - Method in class com.couchbase.lite.ConnectionStatus
Get the count of clients currently connected to this listener.
getConsole() - Method in class com.couchbase.lite.Log
Gets the logger that writes to the system console
getContent() - Method in class com.couchbase.lite.Blob
Gets the contents of this blob as in in-memory byte array.
getContentStream() - Method in class com.couchbase.lite.Blob
Get a the contents of this blob as a stream.
getContentType() - Method in class com.couchbase.lite.Blob
Return the type of of the content this blob contains.
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 Gateway.
getCustom() - Method in class com.couchbase.lite.Log
Gets the custom logger that was registered by the application (if any)
getDatabase() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the local database to replicate with the replication target.
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.MessageEndpointListenerConfiguration
 
getDatabase() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get the configured database.
getDate(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as a Date.
getDate(int) - Method in class com.couchbase.lite.Result
The result 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 interface com.couchbase.lite.DictionaryInterface
 
getDate(String) - Method in class com.couchbase.lite.Document
Gets a property's value as a Date.
getDate(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a Date object.
getDelegate() - Method in class com.couchbase.lite.MessageEndpoint
Gets the delegate object used for creating MessageEndpointConnection objects.
getDictionary(int) - Method in class com.couchbase.lite.Array
Gets a Dictionary at the given index.
getDictionary(int) - Method in class com.couchbase.lite.MutableArray
Gets a Dictionary at the given index.
getDictionary(int) - Method in class com.couchbase.lite.Result
The result at the given index as a Dictionary
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 interface com.couchbase.lite.DictionaryInterface
 
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(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 interface com.couchbase.lite.MutableDictionaryInterface
 
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(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.LogFileConfiguration
Gets the directory that the logs files are stored in.
getDocumentId() - Method in class com.couchbase.lite.Conflict
 
getDocumentID() - Method in class com.couchbase.lite.DocumentChange
Returns the changed document ID
getDocumentIDs() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
A set of document IDs to filter by: if not nil, only documents with these IDs will be pushed and/or pulled.
getDocumentIDs() - Method in class com.couchbase.lite.DatabaseChange
Returns the list of the changed document IDs
getDocuments() - Method in class com.couchbase.lite.DocumentReplication
The list if affected documents.
getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteException
Access the error domain for this error.
getDomain() - Method in exception com.couchbase.lite.LiteCoreException
 
getDouble(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an double.
getDouble(int) - Method in class com.couchbase.lite.Result
The result at the given index as a double
getDouble(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a double or can be coerced to a double.
getDouble(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an double.
getDouble(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getDouble(String) - Method in class com.couchbase.lite.Document
Gets a property's value as an double.
getDouble(String) - Method in class com.couchbase.lite.Result
The projecting result value for the given key as a double value.
getDouble(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or throws otherwise.
getEncryptionKey() - Method in class com.couchbase.lite.DatabaseConfiguration
ENTERPRISE EDITION API

getError() - Method in class com.couchbase.lite.MessagingError
Gets error object.
getError() - Method in class com.couchbase.lite.QueryChange
Return the error occurred when running the query.
getError() - Method in class com.couchbase.lite.ReplicatedDocument
The current document replication error.
getError() - Method in class com.couchbase.lite.ReplicatorStatus
 
getFile() - Method in class com.couchbase.lite.Log
Gets the logger that writes to log files
getFlags() - Method in class com.couchbase.lite.ReplicatedDocument
The current status flag of the document.
getFloat(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an float.
getFloat(int) - Method in class com.couchbase.lite.Result
The result at the given index as a float
getFloat(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an float.
getFloat(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getFloat(String) - Method in class com.couchbase.lite.Document
Gets a property's value as an float.
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.AbstractReplicatorConfiguration
Return Extra HTTP headers to send in all requests to the remote target.
getHeartbeat() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the heartbeat interval, in seconds.
getId() - Method in class com.couchbase.lite.Document
return the document's ID.
getID() - Method in class com.couchbase.lite.ReplicatedDocument
The current document id.
getIdentity() - Method in class com.couchbase.lite.ClientCertificateAuthenticator
Get the client identity.
getIdentity(KeyStore, String, char[]) - Static method in class com.couchbase.lite.TLSIdentity
Get a TLSIdentity object from the give KeyStore, key alias, and key password.
getInfo() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
getInt(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an int.
getInt(int) - Method in class com.couchbase.lite.Result
The result at the given index as an int
getInt(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is an int or can be coerced to an int.
getInt(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an int.
getInt(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getInt(String) - Method in class com.couchbase.lite.Document
Gets a property's value as an int.
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.
getInt(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or throws otherwise.
getJSONArray(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a JSONArray.
getJSONArray(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a JSONArray, or throws otherwise.
getJSONObject(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a JSONObject.
getJSONObject(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a JSONObject, or throws otherwise.
getKeys() - Method in class com.couchbase.lite.Dictionary
 
getKeys() - Method in interface com.couchbase.lite.DictionaryInterface
 
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
 
getLevel() - Method in class com.couchbase.lite.FileLogger
 
getLevel() - Method in interface com.couchbase.lite.Logger
Gets the level that will be logged via this logger.
getLocalDocument() - Method in class com.couchbase.lite.Conflict
 
getLogStream(LogLevel) - Static method in class com.couchbase.lite.ConsoleLogger
 
getLong(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an long.
getLong(int) - Method in class com.couchbase.lite.Result
The result at the given index as a long
getLong(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a long or can be coerced to a long.
getLong(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an long.
getLong(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getLong(String) - Method in class com.couchbase.lite.Document
Gets a property's value as an long.
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.
getLong(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or throws otherwise.
getMaxAttempts() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the max number of retry attempts made after connection failure.
getMaxAttemptWaitTime() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the max time between retry attempts (exponential backoff).
getMaxRotateCount() - Method in class com.couchbase.lite.LogFileConfiguration
Gets the number of rotated logs that are saved (i.e.
getMaxSize() - Method in class com.couchbase.lite.LogFileConfiguration
Gets the max size of the log file in bytes.
getNetworkInterface() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get the configured network interface.
getNumber(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as a Number.
getNumber(int) - Method in class com.couchbase.lite.Result
The result 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 interface com.couchbase.lite.DictionaryInterface
 
getNumber(String) - Method in class com.couchbase.lite.Document
Gets a property's value as a Number.
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
Deprecated.
Use getPasswordChars(char[])
getPasswordChars() - Method in class com.couchbase.lite.BasicAuthenticator
Get the password.
getPendingDocumentIds() - Method in class com.couchbase.lite.AbstractReplicator
Get a best effort list of documents still pending replication.
getPinnedServerCertificate() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the remote target's SSL certificate.
getPort() - Method in class com.couchbase.lite.URLEndpointListener
Get the listener's port.
getPort() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get the configured port.
getProgress() - Method in class com.couchbase.lite.ReplicatorStatus
The current progress of the replicator.
getProperties() - Method in class com.couchbase.lite.Blob
Get the blob metadata
getProtocolType() - Method in class com.couchbase.lite.MessageEndpoint
Gets the data transportation protocol of the endpoint.
getProtocolType() - Method in class com.couchbase.lite.MessageEndpointListenerConfiguration
 
getPullFilter() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Gets a filter object for validating whether the documents can be pulled from the remote endpoint.
getPushFilter() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Gets a filter object for validating whether the documents can be pushed to the remote endpoint.
getQuery() - Method in class com.couchbase.lite.QueryChange
Return the source live query object.
getRemoteDocument() - Method in class com.couchbase.lite.Conflict
 
getReplicator() - Method in class com.couchbase.lite.DocumentReplication
Return the source replicator object.
getReplicator() - Method in class com.couchbase.lite.ReplicatorChange
Return the source replicator object.
getReplicatorType() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Deprecated.
Use getType()
getResults() - Method in class com.couchbase.lite.QueryChange
Return the new query result.
getRevisionID() - Method in class com.couchbase.lite.Document
Get the document's revision id.
getSequence() - Method in class com.couchbase.lite.Document
Return the sequence number of the document in the database.
getServerCertificates() - Method in class com.couchbase.lite.AbstractReplicator
The server certificates received from the server during the TLS handshake.
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.AbstractReplicator
The replicator's current status: its activity level and progress.
getStatus() - Method in class com.couchbase.lite.MessageEndpointListenerChange
Return replicator status
getStatus() - Method in class com.couchbase.lite.ReplicatorChange
Return the replicator status.
getStatus() - Method in class com.couchbase.lite.URLEndpointListener
Get the listener status.
getString(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as a String.
getString(int) - Method in class com.couchbase.lite.Result
The result at the given index as a String
getString(int) - Method in class org.json.JSONArray
Returns the value at index if it exists, coercing it if necessary.
getString(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as a String.
getString(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
getString(String) - Method in class com.couchbase.lite.Document
Gets a property's value as a String.
getString(String) - Method in class com.couchbase.lite.Result
The result value for the given key as a String object Returns null if the key doesn't exist.
getString(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists, coercing it if necessary, or throws if no such mapping exists.
getTarget() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the replication target to replicate with.
getTarget() - Method in class com.couchbase.lite.MessageEndpoint
Gets the target object which is an arbitrary object that represents the endpoint.
getTlsIdentity() - Method in class com.couchbase.lite.URLEndpointListener
Get the TLS identity used by the listener.
getTlsIdentity() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get the configured TLS identity.
getTotal() - Method in class com.couchbase.lite.ReplicatorProgress
The total number of changes to be processed.
getType() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return Replicator type indicating the direction of the replicator.
getUid() - Method in class com.couchbase.lite.MessageEndpoint
Gets the unique identifier of the endpoint.
getURL() - Method in class com.couchbase.lite.URLEndpoint
Returns the url.
getUrls() - Method in class com.couchbase.lite.URLEndpointListener
Get the list of URIs for the listener.
getUsername() - Method in class com.couchbase.lite.BasicAuthenticator
 
getValue() - Method in enum com.couchbase.lite.AbstractIndex.IndexType
 
getValue() - Method in enum com.couchbase.lite.AbstractIndex.QueryLanguage
 
getValue() - Method in enum com.couchbase.lite.ConcurrencyControl
 
getValue(int) - Method in class com.couchbase.lite.Array
Gets value at the given index as an object.
getValue(int) - Method in class com.couchbase.lite.Result
The result value at the given index.
getValue(String) - Method in class com.couchbase.lite.Dictionary
Gets a property's value as an object.
getValue(String) - Method in interface com.couchbase.lite.DictionaryInterface
 
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(String) - Method in class com.couchbase.lite.Result
The 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(Expression...) - Method in class com.couchbase.lite.Where
Create and chain a GROUP BY component to group the query result.
GroupBy - Class in com.couchbase.lite
A GroupBy represents the GROUP BY clause to group the query result.

H

handle(MutableDocument, Document) - Method in interface com.couchbase.lite.ConflictHandler
 
has(String) - Method in class org.json.JSONObject
Returns true if this object has a mapping for name.
hashCode() - Method in class com.couchbase.lite.Array
 
hashCode() - Method in class com.couchbase.lite.Blob
Get the blob hash code.
hashCode() - Method in class com.couchbase.lite.Dictionary
 
hashCode() - Method in class com.couchbase.lite.Document
 
hashCode() - Method in class com.couchbase.lite.LogFileConfiguration
 
hashCode() - Method in class org.json.JSONArray
 
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.
HTTP_AUTH_REQUIRED - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_BASE - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_CONFLICT - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_ENTITY_TOO_LARGE - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_FORBIDDEN - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_IM_A_TEAPOT - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_INTERNAL_SERVER_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_NOT_FOUND - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_NOT_IMPLEMENTED - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_PROXY_AUTH_REQUIRED - Static variable in class com.couchbase.lite.CBLError.Code
 
HTTP_SERVICE_UNAVAILABLE - Static variable in class com.couchbase.lite.CBLError.Code
 

I

id - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the ID of the document.
IDLE - com.couchbase.lite.ReplicatorActivityLevel
The replication is inactive; either waiting for changes or offline as the remote host is unreachable.
ignoreAccents(boolean) - Method in class com.couchbase.lite.FullTextIndex
Set the true value to ignore accents/diacritical marks.
ignoreAccents(boolean) - Method in class com.couchbase.lite.FullTextIndexConfiguration
Set the true value to ignore accents/diacritical marks.
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.
index(String) - Static method in class com.couchbase.lite.FullTextExpression
Deprecated.
Use FullTextFunction.match()
Index - Class in com.couchbase.lite
Index represents an index which could be a value index for regular queries or full-text index for full-text queries (using the match operator).
IndexBuilder - Class in com.couchbase.lite
IndexBuilder used for building database index objects.
INFO - com.couchbase.lite.LogLevel
Essential state info and client errors that are recoverable
init() - Static method in class com.couchbase.lite.CouchbaseLite
Initialize CouchbaseLite library.
init(boolean) - Static method in class com.couchbase.lite.CouchbaseLite
Initialize CouchbaseLite library.
init(boolean, File, File) - Static method in class com.couchbase.lite.CouchbaseLite
Initialize CouchbaseLite library.
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.
INTEGRITY_CHECK - com.couchbase.lite.MaintenanceType
Checks for database corruption, as might be caused by a damaged filesystem, or memory corruption.
intValue(int) - Static method in class com.couchbase.lite.Expression
Create value expression with given integer value
INVALID_PARAMETER - Static variable in class com.couchbase.lite.CBLError.Code
 
INVALID_QUERY - Static variable in class com.couchbase.lite.CBLError.Code
 
INVALID_QUERY_PARAM - Static variable in class com.couchbase.lite.CBLError.Code
 
INVALID_REDIRECT - Static variable in class com.couchbase.lite.CBLError.Code
 
INVALID_URL - Static variable in class com.couchbase.lite.CBLError.Code
 
IO_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
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.
isAcceptOnlySelfSignedServerCertificate() - Method in class com.couchbase.lite.ReplicatorConfiguration
Return whether the replicator will accept any and only self-signed server certificates.
isAutoPurgeEnabled() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Enable/disable auto-purge.
isBlob(Map<String, ?>) - Static method in class com.couchbase.lite.Blob
 
isContinuous() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Return the continuous flag indicating whether the replicator should stay active indefinitely to replicate changed documents.
isDeltaSyncEnabled() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Is delta sync enabled.
isDocumentPending(String) - Method in class com.couchbase.lite.AbstractReplicator
Best effort check to see if the document whose ID is passed is still pending replication.
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.
isNotValued() - Method in class com.couchbase.lite.Expression
Creates an NOT IS VALUED expression that returns true if the current expression is NOT VALUED.
isNull(int) - Method in class org.json.JSONArray
Returns true if this array has no value at index, or if its value is the null reference or JSONObject.NULL.
isNull(String) - Method in class org.json.JSONObject
Returns true if this object has no mapping for name or if it has a mapping whose value is JSONObject.NULL.
isNullOrMissing() - Method in class com.couchbase.lite.Expression
Deprecated.
use Expression.isValued
isPush() - Method in class com.couchbase.lite.DocumentReplication
The current document replication direction flag.
isReadOnly() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Is connection read-only.
isRecoverable() - Method in class com.couchbase.lite.MessagingError
Is the error recoverable?
isTlsDisabled() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Get configured connection type.
isValued() - Method in class com.couchbase.lite.Expression
Creates an IS VALUED expression that returns true if the current expression is valued.
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(DataSource) - Static method in class com.couchbase.lite.Join
Create a JOIN (same as INNER JOIN) component with the given data source.
join(Join...) - Method in class com.couchbase.lite.From
Creates and chains a Joins object for specifying the JOIN clause of the query.
join(String) - Method in class org.json.JSONArray
Returns a new string by alternating this array's values with separator.
Join - Class in com.couchbase.lite
A Join component representing a single JOIN clause in the query statement.
Join.On - Class in com.couchbase.lite
Component used for specifying join on conditions.
Joins - Class in com.couchbase.lite
A Joins component represents a collection of the joins clauses of the query statement.
JSON - com.couchbase.lite.AbstractIndex.QueryLanguage
 
JSONArray - Class in org.json
A dense indexed sequence of values.
JSONArray() - Constructor for class org.json.JSONArray
Creates a JSONArray with no values.
JSONArray(Object) - Constructor for class org.json.JSONArray
Creates a new JSONArray with values from the given primitive array.
JSONArray(String) - Constructor for class org.json.JSONArray
Creates a new JSONArray with values from the JSON string.
JSONArray(Collection) - Constructor for class org.json.JSONArray
Creates a new JSONArray by copying all values from the given collection.
JSONArray(JSONTokener) - Constructor for class org.json.JSONArray
Creates a new JSONArray with values from the next array in the tokener.
JSONException - Exception in org.json
Thrown to indicate a problem with the JSON API.
JSONException(String) - Constructor for exception org.json.JSONException
 
JSONException(String, Throwable) - Constructor for exception org.json.JSONException
 
JSONException(Throwable) - Constructor for exception org.json.JSONException
 
JSONObject - Class in org.json
A modifiable set of name/value mappings.
JSONObject() - Constructor for class org.json.JSONObject
Creates a JSONObject with no name/value mappings.
JSONObject(String) - Constructor for class org.json.JSONObject
Creates a new JSONObject with name/value mappings from the JSON string.
JSONObject(Map) - Constructor for class org.json.JSONObject
Creates a new JSONObject by copying all name/value mappings from the given map.
JSONObject(JSONObject, String[]) - Constructor for class org.json.JSONObject
Creates a new JSONObject by copying mappings for the listed names from the given object.
JSONObject(JSONTokener) - Constructor for class org.json.JSONObject
Creates a new JSONObject with name/value mappings from the next object in the tokener.
JSONStringer - Class in org.json
JSONStringer() - Constructor for class org.json.JSONStringer
 
JSONTokener - Class in org.json
Parses a JSON (RFC 4627) encoded string into the corresponding object.
JSONTokener(String) - Constructor for class org.json.JSONTokener
 

K

key(String) - Method in class org.json.JSONStringer
Encodes the key (property name) to this stringer.
keys() - Method in class org.json.JSONObject
Returns an iterator of the String names in this object.
keySet() - Method in class org.json.JSONObject
Returns the set of String names in this object.

L

LAST_WRITE_WINS - com.couchbase.lite.ConcurrencyControl
The last write operation will win if there is a conflict.
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() - Method in class com.couchbase.lite.Blob
The number of byte of content this blob contains.
length() - Method in class org.json.JSONArray
Returns the number of values in this array.
length() - Method in class org.json.JSONObject
Returns the number of name/value mappings in this object.
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.
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) - Method in class com.couchbase.lite.GroupBy
Creates and chains a Limit object to limit the number query results.
limit(Expression) - Method in class com.couchbase.lite.Having
Creates and chains a Limit object to limit the number query results.
limit(Expression) - Method in class com.couchbase.lite.Joins
Creates and chains a Limit object to limit the number query results.
limit(Expression) - Method in class com.couchbase.lite.OrderBy
Creates and chains a Limit object to limit the number query results.
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.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, 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, 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, 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(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, 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.
Limit - Class in com.couchbase.lite
A Limit component represents the LIMIT clause of the query statement.
list(List<Object>) - Static method in class com.couchbase.lite.Expression
Create value expression with the given list.
LISTENER - com.couchbase.lite.LogDomain
 
ListenerAuthenticator - Interface in com.couchbase.lite
 
ListenerCertificateAuthenticator - Class in com.couchbase.lite
A Listener Certificate Authenticator Certificate base authentication and authorization.
ListenerCertificateAuthenticator(ListenerCertificateAuthenticatorDelegate) - Constructor for class com.couchbase.lite.ListenerCertificateAuthenticator
Create an authenticator that delegates all responsibility for authentication and authorization to the passed delegate.
ListenerCertificateAuthenticator(List<Certificate>) - Constructor for class com.couchbase.lite.ListenerCertificateAuthenticator
Create an authenticator that allows clients whose certificate chains can be verified using (only) on of the certs in the passed list.
ListenerCertificateAuthenticatorDelegate - Interface in com.couchbase.lite
Functional Interface for an Authenticator that uses an authentication strategy based on client supplied certificates.
ListenerPasswordAuthenticator - Class in com.couchbase.lite
Authenticator for HTTP Listener password authentication
ListenerPasswordAuthenticator(ListenerPasswordAuthenticatorDelegate) - Constructor for class com.couchbase.lite.ListenerPasswordAuthenticator
Create an Authenticator using the passed delegate.
ListenerPasswordAuthenticatorDelegate - Interface in com.couchbase.lite
Functional Interface for an Authenticator that uses an authentication strategy based on a user name and password.
ListenerToken - Interface in com.couchbase.lite
The listener token interface
LiteCoreException - Exception in com.couchbase.lite
 
LiteCoreException(int, int, String) - Constructor for exception com.couchbase.lite.LiteCoreException
 
log(LogLevel, LogDomain, String) - Method in class com.couchbase.lite.ConsoleLogger
 
log(LogLevel, LogDomain, String) - Method in class com.couchbase.lite.FileLogger
 
log(LogLevel, LogDomain, String) - Method in interface com.couchbase.lite.Logger
Performs the actual logging logic
Log - Class in com.couchbase.lite
Gets the log controller for Couchbase Lite, which stores the three available logging methods: console (logcat), file, and custom.
LogDomain - Enum in com.couchbase.lite
Log domain
LogFileConfiguration - Class in com.couchbase.lite
A class that describes the file configuration for the FileLogger class.
LogFileConfiguration(LogFileConfiguration) - Constructor for class com.couchbase.lite.LogFileConfiguration
Constructs a file configuration object based on another one so that it may be modified
LogFileConfiguration(String) - Constructor for class com.couchbase.lite.LogFileConfiguration
Constructs a file configuration object with the given directory
LogFileConfiguration(String, LogFileConfiguration) - Constructor for class com.couchbase.lite.LogFileConfiguration
Constructs a file configuration object based on another one but changing the directory
Logger - Interface in com.couchbase.lite
The logging interface for Couchbase Lite.
LogLevel - Enum in com.couchbase.lite
Log level.
longValue(long) - Static method in class com.couchbase.lite.Expression
Create value expression with given long value

M

MaintenanceType - Enum in com.couchbase.lite
 
map(Map<String, Object>) - Static method in class com.couchbase.lite.Expression
Creates value expression with the given map.
match(String) - Method in class com.couchbase.lite.FullTextExpression
Deprecated.
Use FullTextFunction.match()
match(String, String) - Static method in class com.couchbase.lite.FullTextFunction
Creates a full-text expression with the given full-text index name and search text.
MAX_PORT - Static variable in class com.couchbase.lite.URLEndpointListenerConfiguration
 
MEMORY_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
Message - Class in com.couchbase.lite
ENTERPRISE EDITION API

MESSAGE_STREAM - com.couchbase.lite.ProtocolType
 
MessageEndpoint - Class in com.couchbase.lite
ENTERPRISE EDITION API

MessageEndpoint(String, Object, ProtocolType, MessageEndpointDelegate) - Constructor for class com.couchbase.lite.MessageEndpoint
Initializes a CBLMessageEndpoint object.
MessageEndpointConnection - Interface in com.couchbase.lite
ENTERPRISE EDITION API

MessageEndpointDelegate - Interface in com.couchbase.lite
ENTERPRISE EDITION API

MessageEndpointListener - Class in com.couchbase.lite
MessageEndpointListener to serve incoming message endpoint connection.
MessageEndpointListener(MessageEndpointListenerConfiguration) - Constructor for class com.couchbase.lite.MessageEndpointListener
 
MessageEndpointListenerChange - Class in com.couchbase.lite
A change event posted by MessageEndpointListener.
MessageEndpointListenerChangeListener - Interface in com.couchbase.lite
A change listener protocol.
MessageEndpointListenerConfiguration - Class in com.couchbase.lite
Configuration for MessageEndpointListener
MessageEndpointListenerConfiguration(Database, ProtocolType) - Constructor for class com.couchbase.lite.MessageEndpointListenerConfiguration
 
MessagingCloseCompletion - Interface in com.couchbase.lite
ENTERPRISE EDITION API

MessagingCompletion - Interface in com.couchbase.lite
ENTERPRISE EDITION API

MessagingError - Class in com.couchbase.lite
ENTERPRISE EDITION API

MessagingError(Exception, boolean) - Constructor for class com.couchbase.lite.MessagingError
Creates a MessagingError with the given error and recoverable flag identifying if the error is recoverable or not.
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_PORT - Static variable in class com.couchbase.lite.URLEndpointListenerConfiguration
 
MISSING_INDEX - Static variable in class com.couchbase.lite.CBLError.Code
 
modulo(Expression) - Method in class com.couchbase.lite.Expression
Create a modulo expression to modulo the current expression by the given expression.
more() - Method in class org.json.JSONTokener
Returns true until the input has been exhausted.
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(String) - Constructor for class com.couchbase.lite.MutableArray
Creates a new MutableArray with content from the passed JSON string.
MutableArray(List<Object>) - Constructor for class com.couchbase.lite.MutableArray
Creates a new MutableArray with content from the passed List.
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(String) - Constructor for class com.couchbase.lite.MutableDictionary
Creates a new MutableDictionary with content from the passed JSON string.
MutableDictionary(Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDictionary
Creates a new MutableDictionary with content from the passed Map.
MutableDictionaryInterface - Interface in com.couchbase.lite
Note: MutableDictionaryInterface is an internal interface.
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 with the given ID.
MutableDocument(String, String) - Constructor for class com.couchbase.lite.MutableDocument
Creates a new Document with the given ID and content from the passed JSON string.
MutableDocument(String, Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDocument
Creates a new Document with a given ID and content from the passed Map.
MutableDocument(Map<String, Object>) - Constructor for class com.couchbase.lite.MutableDocument
Creates a new Document with a new random UUID and the map as the content.

N

N1QL - com.couchbase.lite.AbstractIndex.QueryLanguage
 
N1qlQuery - Class in com.couchbase.lite
 
N1qlQuery(AbstractDatabase, String) - Constructor for class com.couchbase.lite.N1qlQuery
 
names() - Method in class org.json.JSONObject
Returns an array containing the string names in this object.
negated(Expression) - Static method in class com.couchbase.lite.Expression
Create a negated expression to represent the negated result of the given expression.
NETWORK - com.couchbase.lite.LogDomain
 
NETWORK_OFFSET - Static variable in class com.couchbase.lite.CBLError.Code
 
next() - Method in class com.couchbase.lite.ResultSet
Move the cursor forward one row from its current row position.
next() - Method in class org.json.JSONTokener
Returns the next available character, or the null character '\0' if all input has been exhausted.
next(char) - Method in class org.json.JSONTokener
Returns the next available character if it equals c.
next(int) - Method in class org.json.JSONTokener
Returns the next length characters of the input.
nextClean() - Method in class org.json.JSONTokener
Returns the next character that is not whitespace and does not belong to a comment.
nextString(char) - Method in class org.json.JSONTokener
Returns the string up to but not including quote, unescaping any character escape sequences encountered along the way.
nextTo(char) - Method in class org.json.JSONTokener
Equivalent to nextTo(String.valueOf(excluded)).
nextTo(String) - Method in class org.json.JSONTokener
Returns the trimmed string holding the characters up to but not including the first of: any character in excluded a newline character '\n' a carriage return '\r'
nextValue() - Method in class org.json.JSONTokener
Returns the next value from the input.
NONE - com.couchbase.lite.LogLevel
Disabling log messages of a given log domain.
not(Expression) - Static method in class com.couchbase.lite.Expression
Create a negated expression to represent the negated result of the given expression.
NOT_A_DATABASE_FILE - Static variable in class com.couchbase.lite.CBLError.Code
 
NOT_FOUND - Static variable in class com.couchbase.lite.CBLError.Code
 
NOT_IN_TRANSACTION - Static variable in class com.couchbase.lite.CBLError.Code
 
NOT_OPEN - Static variable in class com.couchbase.lite.CBLError.Code
 
NOT_WRITABLE - Static variable in class com.couchbase.lite.CBLError.Code
 
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
Deprecated.
use Expression.isValued
NULL - Static variable in class org.json.JSONObject
A sentinel value used to explicitly define a name with no value.
number(Number) - Static method in class com.couchbase.lite.Expression
Create value expression with given Number value
numberToString(Number) - Static method in class org.json.JSONObject
Encodes the number as a JSON string.

O

object() - Method in class org.json.JSONStringer
Begins encoding a new object.
OFFLINE - com.couchbase.lite.ReplicatorActivityLevel
The replicator is offline because the remote host is unreachable.
on(Expression) - Method in class com.couchbase.lite.Join.On
Specify join conditions from the given expression.
open(ReplicatorConnection, MessagingCompletion) - Method in interface com.couchbase.lite.MessageEndpointConnection
Called to open a remote connection to the other peer when the replicator starts or when the MessageEndpointListener accepts the connection.
opt(int) - Method in class org.json.JSONArray
Returns the value at index, or null if the array has no value at index.
opt(String) - Method in class org.json.JSONObject
Returns the value mapped by name, or null if no such mapping exists.
optBoolean(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
optBoolean(int, boolean) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a boolean or can be coerced to a boolean.
optBoolean(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or false otherwise.
optBoolean(String, boolean) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a boolean or can be coerced to a boolean, or fallback otherwise.
optDouble(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a double or can be coerced to a double.
optDouble(int, double) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a double or can be coerced to a double.
optDouble(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or NaN otherwise.
optDouble(String, double) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a double or can be coerced to a double, or fallback otherwise.
OPTIMIZE - com.couchbase.lite.MaintenanceType
Quickly updates database statistics that may help optimize queries that have been run by this Database since it was opened.
optInt(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is an int or can be coerced to an int.
optInt(int, int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is an int or can be coerced to an int.
optInt(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or 0 otherwise.
optInt(String, int) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is an int or can be coerced to an int, or fallback otherwise.
optJSONArray(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a JSONArray.
optJSONArray(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a JSONArray, or null otherwise.
optJSONObject(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a JSONObject.
optJSONObject(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a JSONObject, or null otherwise.
optLong(int) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a long or can be coerced to a long.
optLong(int, long) - Method in class org.json.JSONArray
Returns the value at index if it exists and is a long or can be coerced to a long.
optLong(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or 0 otherwise.
optLong(String, long) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists and is a long or can be coerced to a long, or fallback otherwise.
optString(int) - Method in class org.json.JSONArray
Returns the value at index if it exists, coercing it if necessary.
optString(int, String) - Method in class org.json.JSONArray
Returns the value at index if it exists, coercing it if necessary.
optString(String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists, coercing it if necessary, or the empty string if no such mapping exists.
optString(String, String) - Method in class org.json.JSONObject
Returns the value mapped by name if it exists, coercing it if necessary, or fallback if no such mapping exists.
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(Ordering...) - Method in class com.couchbase.lite.Where
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.
Ordering - Class in com.couchbase.lite
An Ordering represents a single ordering component in the query ORDER BY clause.
Ordering() - Constructor for class com.couchbase.lite.Ordering
 
Ordering.SortOrder - Class in com.couchbase.lite
SortOrder represents a single ORDER BY entity.
org.json - package org.json
 

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
 
POSIX - Static variable in class com.couchbase.lite.CBLError.Domain
 
predict(Dictionary) - Method in interface com.couchbase.lite.PredictiveModel
The prediction callback called when invoking the Function.prediction() function inside a query or an index.
prediction - Static variable in class com.couchbase.lite.Database
ENTERPRISE EDITION API

prediction(String, Expression) - Static method in class com.couchbase.lite.Function
ENTERPRISE EDITION API

Prediction - Class in com.couchbase.lite
ENTERPRISE EDITION API

PredictionFunction - Class in com.couchbase.lite
ENTERPRISE EDITION API

PREDICTIVE - com.couchbase.lite.AbstractIndex.IndexType
 
predictiveIndex(String, Expression, List<String>) - Static method in class com.couchbase.lite.IndexBuilder
ENTERPRISE EDITION API

PredictiveIndex - Class in com.couchbase.lite
ENTERPRISE EDITION API

PredictiveModel - Interface in com.couchbase.lite
ENTERPRISE EDITION API

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
propertyPath(String) - Method in class com.couchbase.lite.PredictionFunction
Creates a property expression that refers to a property of the prediction result dictionary.
ProtocolType - Enum in com.couchbase.lite
ENTERPRISE EDITION API

PULL - com.couchbase.lite.AbstractReplicatorConfiguration.ReplicatorType
Deprecated.
 
PULL - com.couchbase.lite.ReplicatorType
 
PUSH - com.couchbase.lite.AbstractReplicatorConfiguration.ReplicatorType
Deprecated.
 
PUSH - com.couchbase.lite.ReplicatorType
 
PUSH_AND_PULL - com.couchbase.lite.AbstractReplicatorConfiguration.ReplicatorType
Deprecated.
 
PUSH_AND_PULL - com.couchbase.lite.ReplicatorType
 
put(boolean) - Method in class org.json.JSONArray
Appends value to the end of this array.
put(double) - Method in class org.json.JSONArray
Appends value to the end of this array.
put(int) - Method in class org.json.JSONArray
Appends value to the end of this array.
put(int, boolean) - Method in class org.json.JSONArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, double) - Method in class org.json.JSONArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, int) - Method in class org.json.JSONArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, long) - Method in class org.json.JSONArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(int, Object) - Method in class org.json.JSONArray
Sets the value at index to value, null padding this array to the required length if necessary.
put(long) - Method in class org.json.JSONArray
Appends value to the end of this array.
put(Object) - Method in class org.json.JSONArray
Appends value to the end of this array.
put(String, boolean) - Method in class org.json.JSONObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, double) - Method in class org.json.JSONObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, int) - Method in class org.json.JSONObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, long) - Method in class org.json.JSONObject
Maps name to value, clobbering any existing name/value mapping with the same name.
put(String, Object) - Method in class org.json.JSONObject
Maps name to value, clobbering any existing name/value mapping with the same name.
putOpt(String, Object) - Method in class org.json.JSONObject
Equivalent to put(name, value) when both parameters are non-null; does nothing otherwise.

Q

Query - Interface in com.couchbase.lite
A database query used for querying data from the database.
QUERY - com.couchbase.lite.LogDomain
 
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.
quote(String) - Static method in class org.json.JSONObject
Encodes data as a JSON string.

R

rank(String) - Static method in class com.couchbase.lite.FullTextFunction
Creates a full-text rank function with the given full-text index name.
rawValue() - Method in enum com.couchbase.lite.DocumentFlag
 
receive(Message) - Method in interface com.couchbase.lite.ReplicatorConnection
Tells the replicator to consume the data received from the other peer.
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.
registerModel(String, PredictiveModel) - Method in class com.couchbase.lite.Prediction
Register a predictive model by the given name.
REINDEX - com.couchbase.lite.MaintenanceType
Use only in collaboration with Couchbase Support.
REMOTE_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
remove(int) - Method in class com.couchbase.lite.MutableArray
Removes the object at the given index.
remove(int) - Method in class org.json.JSONArray
Removes and returns the value at index, or null if the array has no value at index.
remove(String) - Method in class com.couchbase.lite.MutableDictionary
Removes the mapping for a key from this Dictionary
remove(String) - Method in interface com.couchbase.lite.MutableDictionaryInterface
 
remove(String) - Method in class com.couchbase.lite.MutableDocument
Removes the mapping for a key from this Dictionary
remove(String) - Method in class org.json.JSONObject
Removes the named mapping if it exists; does nothing otherwise.
removeChangeListener(ListenerToken) - Method in class com.couchbase.lite.AbstractReplicator
Remove the given ReplicatorChangeListener or DocumentReplicationListener from the this replicator.
removeChangeListener(ListenerToken) - Method in class com.couchbase.lite.MessageEndpointListener
Remove a change listener.
removeChangeListener(ListenerToken) - Method in interface com.couchbase.lite.Query
Removes a change listener wih the given listener token.
ReplicatedDocument - Class in com.couchbase.lite
 
replication(DocumentReplication) - Method in interface com.couchbase.lite.DocumentReplicationListener
The callback function from Replicator
ReplicationFilter - Interface in com.couchbase.lite
Interface delegate that takes Document input parameter and bool output parameter Document push and pull will be allowed if output is true, otherwise, Document push and pull will not be allowed.
Replicator - Class in com.couchbase.lite
 
Replicator(ReplicatorConfiguration) - Constructor for class com.couchbase.lite.Replicator
Initializes a replicator with the given configuration.
REPLICATOR - com.couchbase.lite.LogDomain
 
ReplicatorActivityLevel - Enum in com.couchbase.lite
Activity level 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
 
ReplicatorConfiguration(Database, Endpoint) - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorConfiguration(ReplicatorConfiguration) - Constructor for class com.couchbase.lite.ReplicatorConfiguration
 
ReplicatorConnection - Interface in com.couchbase.lite
ENTERPRISE EDITION API

ReplicatorProgress - Class in com.couchbase.lite
Progress of a replicator.
ReplicatorStatus - Class in com.couchbase.lite
Combined activity level and progress of a replicator.
ReplicatorType - Enum in com.couchbase.lite
The replication direction
resolve(Conflict) - Method in interface com.couchbase.lite.ConflictResolver
Callback: called when there are conflicting changes in the local and remote versions of a document during replication.
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.
revisionID - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the RevisionId of the document.
run() - Method in interface com.couchbase.lite.UnitOfWork
 

S

satisfies(Expression) - Method in class com.couchbase.lite.ArrayExpressionSatisfies
Creates a complete quantified operator with the given satisfies expression.
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 single return value of the query statement.
SelectResult.As - Class in com.couchbase.lite
SelectResult.As is a SelectResult with an alias.
SelectResult.From - Class in com.couchbase.lite
SelectResult.From is a SelectResult for which you can specify a data source alias.
SELF_SIGNED_CERT - com.couchbase.lite.ServerCertificateVerificationMode
 
send(Message, MessagingCompletion) - Method in interface com.couchbase.lite.MessageEndpointConnection
Called to send the replication data to the other peer.
sequence - Static variable in class com.couchbase.lite.Meta
A metadata expression referring to the sequence number of the document.
ServerCertificateVerificationMode - Enum in com.couchbase.lite
 
SessionAuthenticator - Class in com.couchbase.lite
SessionAuthenticator class is an authenticator that will authenticate by using the session 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.
setAcceptOnlySelfSignedServerCertificate(boolean) - Method in class com.couchbase.lite.ReplicatorConfiguration
Specify whether the replicator will accept any and only self-signed certificates.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
setArray(String, Array) - Method in class com.couchbase.lite.MutableDocument
Set an Array value for the given key
setArray(String, Array) - Method in class com.couchbase.lite.Parameters
Set the Array value to the query parameter referenced by the given name.
setAuthenticator(Authenticator) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets the authenticator to authenticate with a remote target server.
setAuthenticator(ListenerAuthenticator) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the authenticator.
setAutoPurgeEnabled(boolean) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Enable/disable auto-purge.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
setBlob(String, Blob) - Method in class com.couchbase.lite.MutableDocument
Set a Blob value for the given key
setBlob(String, Blob) - Method in class com.couchbase.lite.Parameters
Set the Blob value to the query parameter referenced by the given name.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.AbstractReplicatorConfiguration
Sets a set of Sync Gateway channel names to pull from.
setConfig(LogFileConfiguration) - Method in class com.couchbase.lite.FileLogger
Sets the configuration for use by the file logger.
setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets the the conflict resolver.
setContinuous(boolean) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets whether the replicator stays active indefinitely to replicate changed documents.
setCustom(Logger) - Method in class com.couchbase.lite.Log
Sets an application specific logging method
setData(List<Object>) - Method in class com.couchbase.lite.MutableArray
Populate an array with content from a Map.
setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDictionary
Populate a dictionary with content from a Map.
setData(Map<String, Object>) - Method in interface com.couchbase.lite.MutableDictionaryInterface
 
setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDocument
Populate a document with content from a Map.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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 interface com.couchbase.lite.MutableDictionaryInterface
 
setDictionary(String, Dictionary) - Method in class com.couchbase.lite.MutableDocument
Set a Dictionary value for the given key
setDictionary(String, Dictionary) - Method in class com.couchbase.lite.Parameters
Set the Dictionary value to the query parameter referenced by the given name.
setDisableTls(boolean) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the configured security protocol.
setDocumentIDs(List<String>) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.
setEnableDeltaSync(boolean) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set delta sync enabled.
setEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.DatabaseConfiguration
ENTERPRISE EDITION API

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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.AbstractReplicatorConfiguration
Sets the extra HTTP headers to send in all requests to the remote target.
setHeartbeat(int) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Set the heartbeat interval, in seconds.
setIgnoreAccents(boolean) - Method in class com.couchbase.lite.Collation.Unicode
Specifies whether the collation ignore the accents or diacritics when comparing the strings or not.
setIgnoreCase(boolean) - Method in class com.couchbase.lite.Collation.ASCII
Specifies whether the collation is case-insensitive or not.
setIgnoreCase(boolean) - Method in class com.couchbase.lite.Collation.Unicode
Specifies whether the collation is case-insensitive or not.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.
setJSON(String) - Method in class com.couchbase.lite.MutableArray
Populate an array with content from a JSON string.
setJSON(String) - Method in class com.couchbase.lite.MutableDictionary
Populate a dictionary with content from a JSON string.
setJSON(String) - Method in interface com.couchbase.lite.MutableDictionaryInterface
 
setJSON(String) - Method in class com.couchbase.lite.MutableDocument
Populate a document with content from a JSON string.
setLanguage(String) - Method in class com.couchbase.lite.FullTextIndex
The language code which is an ISO-639 language such as "en", "fr", etc.
setLanguage(String) - Method in class com.couchbase.lite.FullTextIndexConfiguration
The language code which is an ISO-639 language such as "en", "fr", etc.
setLevel(LogLevel) - Method in class com.couchbase.lite.FileLogger
Sets the overall logging level that will be written to the logging files.
setLocale(String) - Method in class com.couchbase.lite.Collation.Unicode
Specifies the locale to allow the collation to compare strings appropriately based on the locale.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.
setMaxAttempts(int) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Set the max number of retry attempts made after a connection failure.
setMaxAttemptWaitTime(int) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Set the max time between retry attempts (exponential backoff).
setMaxRotateCount(int) - Method in class com.couchbase.lite.LogFileConfiguration
Sets the number of rotated logs that are saved (i.e.
setMaxSize(long) - Method in class com.couchbase.lite.LogFileConfiguration
Sets the max size of the log file in bytes.
setNetworkInterface(String) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the configured network interface.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.AbstractReplicatorConfiguration
Sets the target server's SSL certificate.
setPort(int) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the configured port.
setPullFilter(ReplicationFilter) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets a filter object for validating whether the documents can be pulled from the remote endpoint.
setPushFilter(ReplicationFilter) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets a filter object for validating whether the documents can be pushed to the remote endpoint.
setReadOnly(boolean) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the connection read-only.
setReplicatorType(AbstractReplicatorConfiguration.ReplicatorType) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Deprecated.
Use setType(AbstractReplicator.ReplicatorType)
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.
setTlsIdentity(TLSIdentity) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
Set the certificates and keys for the associated listener.
setType(ReplicatorType) - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
Sets the replicator type indicating the direction of the replicator.
setUsePlaintext(boolean) - Method in class com.couchbase.lite.LogFileConfiguration
Sets whether or not to log in plaintext.
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 interface com.couchbase.lite.MutableDictionaryInterface
 
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.
skipPast(String) - Method in class org.json.JSONTokener
Advances past all input up to and including the next occurrence of thru.
skipTo(char) - Method in class org.json.JSONTokener
Advances past all input up to but not including the next occurrence of to.
SQLITE - Static variable in class com.couchbase.lite.CBLError.Domain
 
squaredEuclideanDistance(Expression, Expression) - Static method in class com.couchbase.lite.Function
ENTERPRISE EDITION API

start() - Method in class com.couchbase.lite.AbstractReplicator
Start the replicator.
start() - Method in class com.couchbase.lite.URLEndpointListener
Start the listener.
start(boolean) - Method in class com.couchbase.lite.AbstractReplicator
Start the replicator.
stop() - Method in class com.couchbase.lite.AbstractReplicator
Stop a running replicator.
stop() - Method in class com.couchbase.lite.URLEndpointListener
Stop the listener.
STOPPED - com.couchbase.lite.ReplicatorActivityLevel
The replication is finished or hit a fatal error.
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.
syntaxError(String) - Method in class org.json.JSONTokener
Returns an exception containing the given message plus the current position and the entire input string.

T

throwException(int, int, String) - Static method in exception com.couchbase.lite.LiteCoreException
 
TIMEOUT - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_CERT_EXPIRED - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_CERT_UNKNOWN_ROOT - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_CERT_UNTRUSTED - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_CLIENT_CERT_REJECTED - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_CLIENT_CERT_REQUIRED - Static variable in class com.couchbase.lite.CBLError.Code
 
TLS_HANDSHAKE_FAILED - Static variable in class com.couchbase.lite.CBLError.Code
 
TLSIdentity - Class in com.couchbase.lite
ENTERPRISE EDITION API

toCouchbaseLiteException(int, int, int) - Static method in exception com.couchbase.lite.CouchbaseLiteException
 
toCouchbaseLiteException(int, int, String, Exception) - Static method in exception com.couchbase.lite.CouchbaseLiteException
 
toData() - Method in class com.couchbase.lite.Message
Gets the message as data.
toJSON() - Method in class com.couchbase.lite.Array
 
toJSON() - Method in class com.couchbase.lite.Blob
 
toJSON() - Method in class com.couchbase.lite.Dictionary
 
toJSON() - Method in interface com.couchbase.lite.DictionaryInterface
 
toJSON() - Method in class com.couchbase.lite.Document
 
toJSON() - Method in class com.couchbase.lite.MutableArray
 
toJSON() - Method in class com.couchbase.lite.MutableDictionary
 
toJSON() - Method in class com.couchbase.lite.MutableDocument
 
toJSON() - Method in class com.couchbase.lite.Result
 
toJSONArray(JSONArray) - Method in class org.json.JSONObject
Returns an array with the values corresponding to names.
toJSONObject(JSONArray) - Method in class org.json.JSONArray
Returns a new object whose values are the values in this array, and whose names are the values in names.
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 a List.
toMap() - Method in class com.couchbase.lite.Dictionary
Gets content of the current object as an Map.
toMap() - Method in interface com.couchbase.lite.DictionaryInterface
 
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.
TOO_MANY_REDIRECTS - Static variable in class com.couchbase.lite.CBLError.Code
 
toString() - Method in class com.couchbase.lite.AbstractIndex
 
toString() - Method in class com.couchbase.lite.AbstractReplicator
 
toString() - Method in class com.couchbase.lite.AbstractReplicatorConfiguration
 
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 class com.couchbase.lite.ConnectionStatus
 
toString() - Method in exception com.couchbase.lite.CouchbaseLiteException
 
toString() - Method in class com.couchbase.lite.DatabaseChange
 
toString() - Method in class com.couchbase.lite.DatabaseEndpoint
 
toString() - Method in class com.couchbase.lite.Dictionary
 
toString() - Method in class com.couchbase.lite.Document
 
toString() - Method in class com.couchbase.lite.DocumentChange
 
toString() - Method in class com.couchbase.lite.DocumentReplication
 
toString() - Method in class com.couchbase.lite.Expression
 
toString() - Method in exception com.couchbase.lite.LiteCoreException
 
toString() - Method in enum com.couchbase.lite.LogLevel
 
toString() - Method in class com.couchbase.lite.MessageEndpoint
 
toString() - Method in class com.couchbase.lite.MessageEndpointListenerChange
 
toString() - Method in class com.couchbase.lite.N1qlQuery
 
toString() - Method in class com.couchbase.lite.ReplicatedDocument
 
toString() - Method in class com.couchbase.lite.ReplicatorChange
 
toString() - Method in class com.couchbase.lite.ReplicatorProgress
 
toString() - Method in class com.couchbase.lite.ReplicatorStatus
 
toString() - Method in class com.couchbase.lite.URLEndpoint
 
toString() - Method in class com.couchbase.lite.URLEndpointListener
 
toString() - Method in class org.json.JSONArray
Encodes this array as a compact JSON string, such as:
toString() - Method in class org.json.JSONObject
Encodes this object as a compact JSON string, such as:
toString() - Method in class org.json.JSONStringer
Returns the encoded JSON string.
toString() - Method in class org.json.JSONTokener
Returns the current position and the entire input string.
toString(int) - Method in class org.json.JSONArray
Encodes this array as a human readable JSON string for debugging, such as:
toString(int) - Method in class org.json.JSONObject
Encodes this object as a human readable JSON string for debugging, such as:
TRANSACTION_NOT_CLOSED - Static variable in class com.couchbase.lite.CBLError.Code
 

U

UNEXPECTED_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
unicode() - Static method in class com.couchbase.lite.Collation
Creates a Unicode collation that will compare two strings by using Unicode Collation Algorithm.
UNIMPLEMENTED - Static variable in class com.couchbase.lite.CBLError.Code
 
UnitOfWork<E extends java.lang.Exception> - Interface in com.couchbase.lite
 
UNKNOWN_HOST - Static variable in class com.couchbase.lite.CBLError.Code
 
unregisterModel(String) - Method in class com.couchbase.lite.Prediction
Unregister the predictive model of the given name.
UNSUPPORTED - Static variable in class com.couchbase.lite.CBLError.Code
 
UNSUPPORTED_ENCRYPTION - Static variable in class com.couchbase.lite.CBLError.Code
 
URLEndpoint - Class in com.couchbase.lite
URL based replication target endpoint
URLEndpoint(URI) - Constructor for class com.couchbase.lite.URLEndpoint
Constructor with the url.
URLEndpointListener - Class in com.couchbase.lite
 
URLEndpointListener(URLEndpointListenerConfiguration) - Constructor for class com.couchbase.lite.URLEndpointListener
Create a URLEndpointListener with the passed configuration.
URLEndpointListenerConfiguration - Class in com.couchbase.lite
Configuration information for a URL endpoint listener.
URLEndpointListenerConfiguration(Database) - Constructor for class com.couchbase.lite.URLEndpointListenerConfiguration
Create a listener configuration, for the specified database, with default values.
URLEndpointListenerConfiguration(Database, String, int, boolean, TLSIdentity, ListenerAuthenticator, boolean, boolean) - Constructor for class com.couchbase.lite.URLEndpointListenerConfiguration
 
URLEndpointListenerConfiguration(URLEndpointListenerConfiguration) - Constructor for class com.couchbase.lite.URLEndpointListenerConfiguration
Clone the passed listener configuration.
usesPlaintext() - Method in class com.couchbase.lite.LogFileConfiguration
Gets whether or not CBL is logging in plaintext.

V

value(boolean) - Method in class org.json.JSONStringer
Encodes value to this stringer.
value(double) - Method in class org.json.JSONStringer
Encodes value to this stringer.
value(long) - Method in class org.json.JSONStringer
Encodes value to this stringer.
value(Object) - Static method in class com.couchbase.lite.Expression
Create value expression with given value
value(Object) - Method in class org.json.JSONStringer
Encodes value.
VALUE - com.couchbase.lite.AbstractIndex.IndexType
 
ValueIndex - Class in com.couchbase.lite
Value (standard query) index
ValueIndexConfiguration - Class in com.couchbase.lite
 
ValueIndexConfiguration(String...) - Constructor for class com.couchbase.lite.ValueIndexConfiguration
 
ValueIndexItem - Class in com.couchbase.lite
Value Index Item
valueOf(String) - Static method in enum com.couchbase.lite.AbstractIndex.IndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.AbstractIndex.QueryLanguage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.AbstractReplicatorConfiguration.ReplicatorType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.ConcurrencyControl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.DocumentFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.LogDomain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.MaintenanceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.ProtocolType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.couchbase.lite.ReplicatorActivityLevel
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.
valueOf(String) - Static method in enum com.couchbase.lite.ServerCertificateVerificationMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.couchbase.lite.AbstractIndex.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.AbstractIndex.QueryLanguage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.AbstractReplicatorConfiguration.ReplicatorType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.ConcurrencyControl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.DocumentFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.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.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.MaintenanceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.ProtocolType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.couchbase.lite.ReplicatorActivityLevel
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.
values() - Static method in enum com.couchbase.lite.ServerCertificateVerificationMode
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
VERBOSE - com.couchbase.lite.LogLevel
Low level logging.

W

WARNING - com.couchbase.lite.LogLevel
Internal errors that are recoverable; client errors that may not be recoverable
WEB_SOCKET_ABNORMAL_CLOSE - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_BAD_MESSAGE_FORMAT - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_CANT_FULFILL - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_CLOSE_USER_PERMANENT - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_CLOSE_USER_TRANSIENT - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_DATA_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_GOING_AWAY - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_MESSAGE_TOO_BIG - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_MISSING_EXTENSION - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_NORMAL_CLOSE - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_POLICY_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_PROTOCOL_ERROR - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_TLS_FAILURE - Static variable in class com.couchbase.lite.CBLError.Code
 
WEB_SOCKET_USER - Static variable in class com.couchbase.lite.CBLError.Code
 
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.
wrap(Object) - Static method in class org.json.JSONObject
Wraps the given object if necessary.
WRONG_FORMAT - Static variable in class com.couchbase.lite.CBLError.Code
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes All Packages