- AbstractReplicator - Class in com.couchbase.lite
-
A replicator for replicating document changes between a local database and a target database.
- AbstractReplicator.ActivityLevel - Enum in com.couchbase.lite
-
Activity level of a replicator.
- AbstractReplicator.Progress - Class in com.couchbase.lite
-
Progress of a replicator.
- AbstractReplicator.Status - Class in com.couchbase.lite
-
Combined activity level and progress of a replicator.
- accept(MessageEndpointConnection) - Method in class com.couchbase.lite.MessageEndpointListener
-
Accept a new connection.
- 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(ReplicatorChangeListener) - Method in class com.couchbase.lite.AbstractReplicator
-
Adds a change listener for the changes in the replication status and progress.
- 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.
- addChangeListener(MessageEndpointListenerChangeListener) - Method in class com.couchbase.lite.MessageEndpointListener
-
Add a change listener.
- addChangeListener(Executor, MessageEndpointListenerChangeListener) - Method in class com.couchbase.lite.MessageEndpointListener
-
Add a change listener with the given dispatch queue.
- addChangeListener(QueryChangeListener) - Method in interface com.couchbase.lite.Query
-
Adds a change listener for the changes that occur in the query results.
- 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.
- 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 - Class in com.couchbase.lite
-
Array provides readonly access to array data.
- array() - Method in class org.json.JSONStringer
-
Begins encoding a new array.
- 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(List<Certificate>) - Method in interface com.couchbase.lite.ListenerCertificateAuthenticatorDelegate
-
Authenticate a client based on the passed certificates.
- authenticate(String, char[]) - Method in interface com.couchbase.lite.ListenerPasswordAuthenticatorDelegate
-
Authenticate a client based on the passed credentials.
- 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
-
- 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(T) - Method in interface com.couchbase.lite.ChangeListener
-
- 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
- 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(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.
- 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.
- 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
-
- 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 - Static variable in class com.couchbase.lite.CBLError.Code
-
- Conflict - Class in com.couchbase.lite
-
- ConflictHandler - Interface in com.couchbase.lite
-
- ConflictResolver - Interface in com.couchbase.lite
-
Custom conflict resolution strategies implement this interface.
- 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.
- 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(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified detail message.
- CouchbaseLiteException(Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteException(String, Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified cause
- CouchbaseLiteException(CBLInternalException) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteException(String, CBLInternalException) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception from an internal exception
- CouchbaseLiteException(String, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- 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
- CouchbaseLiteException(String, int, Exception) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteException(String, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- 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() - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
This method is not part of the public API.
- CouchbaseLiteException(String, Exception, String, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
This method is not part of the public API.
- 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
-
Return A number of the projecting values in the 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.
- 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
-
- 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.AbstractReplicator.Status
-
The current activity level.
- getArray(int) - Method in class com.couchbase.lite.Array
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.Dictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(String) - Method in 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(int) - Method in class com.couchbase.lite.MutableArray
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.MutableDictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(String) - Method in 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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Array object
- getArray(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a readonly Array object.
- getAuthenticator() - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
-
Get the configured authenticator.
- getBlob(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Blob.
- getBlob(String) - Method in interface com.couchbase.lite.DictionaryInterface
-
- getBlob(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Blob.
- getBlob(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Blob object
- getBlob(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Blob object.
- getBoolean(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a boolean.
- getBoolean(String) - Method in interface com.couchbase.lite.DictionaryInterface
-
- getBoolean(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a boolean.
- getBoolean(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a boolean value
- getBoolean(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a boolean value.
- 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 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.
- 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.AbstractReplicator.Progress
-
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.
- 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.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(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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as an Array object
- getDate(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Date object.
- 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(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(int) - Method in class com.couchbase.lite.MutableArray
-
Gets a Dictionary at the given index.
- getDictionary(String) - Method in class com.couchbase.lite.MutableDictionary
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(String) - Method in 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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Dictionary object
- getDictionary(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a readonly Dictionary object.
- getDirectory() - Method in class com.couchbase.lite.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.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(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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a double value
- getDouble(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a double value.
- 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 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.AbstractReplicator.Status
-
- 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.
- getFile() - Method in class com.couchbase.lite.Log
-
Gets the logger that writes to log files
- getFloat(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an float.
- getFloat(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an float.
- getFloat(String) - Method in interface com.couchbase.lite.DictionaryInterface
-
- getFloat(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an float.
- getFloat(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a float value
- getFloat(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a float value.
- 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(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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a integer value
- getInt(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a integer value
Returns 0 if the key doesn't exist.
- 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 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
-
Return All projecting keys
- 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
-
- getLong(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an long.
- getLong(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an long.
- getLong(String) - Method in interface com.couchbase.lite.DictionaryInterface
-
- getLong(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an long.
- getLong(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a long value
- getLong(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a long value
Returns 0L if the key doesn't exist.
- 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 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.
- 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(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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Number object
- getNumber(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Number object
Returns null if the key doesn't exist.
- getParameters() - Method in interface com.couchbase.lite.Query
-
Returns a copies of the current parameters.
- getPassword() - Method in class com.couchbase.lite.BasicAuthenticator
-
- 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.
- 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.AbstractReplicator.Status
-
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
-
- 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.
- 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(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(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a String object
- getString(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a String object
Returns null if the key doesn't exist.
- 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 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.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.AbstractReplicator.Progress
-
The total number of changes to be processed.
- 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(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an object.
- getValue() - Method in enum com.couchbase.lite.ConcurrencyControl
-
- 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() - Method in enum com.couchbase.lite.LogLevel
-
!!! This should not be part if the Public API.
- getValue(String) - Method in class com.couchbase.lite.Parameters
-
Gets a parameter's value.
- getValue(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index.
- getValue(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Object
Returns null if the key doesn't exist.
- greaterThan(Expression) - Method in class com.couchbase.lite.Expression
-
Create a greater than expression that evaluates whether or not the current expression
is greater than the given expression.
- greaterThanOrEqualTo(Expression) - Method in class com.couchbase.lite.Expression
-
Create a greater than or equal to expression that evaluates whether or not the current
expression is greater than or equal to the given expression.
- groupBy(Expression...) - Method in class com.couchbase.lite.From
-
Creates and chains a GroupBy object to group the query result.
- GroupBy - Class in com.couchbase.lite
-
A GroupBy represents the GROUP BY clause to group the query result.
- groupBy(Expression...) - Method in class com.couchbase.lite.Where
-
Create and chain a GROUP BY component to group the query result.
- id - Static variable in class com.couchbase.lite.Meta
-
A metadata expression referring to the ID of the document.
- ignoreAccents(boolean) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies whether the collation ignore the accents or diacritics when
comparing the strings or not.
- ignoreAccents(boolean) - Method in class com.couchbase.lite.FullTextIndex
-
Set the true value to ignore accents/diacritical marks.
- ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.ASCII
-
Specifies whether the collation is case-sensitive or not.
- ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies whether the collation is case-insensitive or not.
- in(Expression) - Method in class com.couchbase.lite.ArrayExpressionIn
-
Creates a Satisfies clause object with the given IN clause expression that could be an
array object or an expression evaluated as an array object.
- in(Expression...) - Method in class com.couchbase.lite.Expression
-
Create an IN expression that evaluates whether or not the current expression is in the
given expressions.
- index(String) - Static method in class com.couchbase.lite.FullTextExpression
-
Creates a full-text expression with the given full-text index name.
- Index - Interface 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.
- IndexBuilder() - Constructor for class com.couchbase.lite.IndexBuilder
-
- IndexType - Enum in com.couchbase.lite
-
Types of database indexes.
- init() - Static method in class com.couchbase.lite.CouchbaseLite
-
Initialize CouchbaseLite library.
- init(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.
- 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.
- 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.
- 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
-
Creates an IS NULL OR MISSING expression that evaluates whether or not the current
expression is null or missing.
- 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.
- 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.
- leftJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source.
- leftOuterJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create a LEFT OUTER JOIN component with the given data source.
- length(Expression) - Static method in class com.couchbase.lite.ArrayFunction
-
Creates an ARRAY_LENGTH(expr) function that returns the length of the given array
expression.
- length() - Method in class com.couchbase.lite.Blob
-
The 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.
- lessThan(Expression) - Method in class com.couchbase.lite.Expression
-
Create a less than expression that evaluates whether or not the current expression
is less than the given expression.
- lessThanOrEqualTo(Expression) - Method in class com.couchbase.lite.Expression
-
Create a less than or equal to expression that evaluates whether or not the current
expression is less than or equal to the given expression.
- like(Expression) - Method in class com.couchbase.lite.Expression
-
Create a Like expression that evaluates whether or not the current expression is LIKE
the given expression.
- limit(Expression) - Method in class com.couchbase.lite.From
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.From
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.GroupBy
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.GroupBy
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.Having
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Having
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.Joins
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Joins
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- Limit - Class in com.couchbase.lite
-
A Limit component represents the LIMIT clause of the query statement.
- limit(Expression) - Method in class com.couchbase.lite.OrderBy
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.OrderBy
-
Creates and chains a Limit object to skip the returned results for the given offset
- limit(Expression) - Method in class com.couchbase.lite.Where
-
Create and chain a LIMIT component to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Where
-
Create and chain a LIMIT component to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- list(List<Object>) - Static method in class com.couchbase.lite.Expression
-
Create value expression with the given list.
- ListenerAuthenticator - Interface in com.couchbase.lite
-
Oh joy! Another marker interface...
- ListenerCertificateAuthenticator - Class in com.couchbase.lite
-
A Listener Certificate Authenticator
Certificate base authentication and authorization.
- 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.
- ListenerCertificateAuthenticator(ListenerCertificateAuthenticatorDelegate) - Constructor for class com.couchbase.lite.ListenerCertificateAuthenticator
-
Create an authenticator that delegates all responsibility for authentication and authorization
to the passed delegate.
- 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
-
- locale(String) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies the locale to allow the collation to compare strings appropriately base on
the locale.
- log(LogLevel, LogDomain, String) - Method in class com.couchbase.lite.FileLogger
-
- 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.
- log(LogLevel, LogDomain, String) - Method in interface com.couchbase.lite.Logger
-
Performs the actual logging logic
- 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, LogFileConfiguration) - Constructor for class com.couchbase.lite.LogFileConfiguration
-
Constructs a file configuration object based on another one but changing
the directory
- LogFileConfiguration(String) - Constructor for class com.couchbase.lite.LogFileConfiguration
-
Constructs a file configuration object with the given 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
- object() - Method in class org.json.JSONStringer
-
Begins encoding a new object.
- 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.
- 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 - Class in com.couchbase.lite
-
An OrderBy represents an ORDER BY clause of the query for specifying properties or expressions
that the result rows should be sorted by.
- orderBy(Ordering...) - Method in class com.couchbase.lite.Where
-
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
- Ordering - Class in com.couchbase.lite
-
An Ordering represents a single ordering component in the query ORDER BY clause.
- Ordering() - 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
-
- 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 that you can specify an alias name to it.
- SelectResult.From - Class in com.couchbase.lite
-
SelectResult.From is a SelectResult that you can specify the data source alias name.
- 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(ListenerAuthenticator) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
-
Set the authenticator.
- 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.
- setConfig(LogFileConfiguration) - Method in class com.couchbase.lite.FileLogger
-
Sets the configuration for use by the file logger.
- 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
-
Set an array as a content.
- setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDictionary
-
Set a dictionary as a content.
- setData(Map<String, Object>) - Method in interface com.couchbase.lite.MutableDictionaryInterface
-
- setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDocument
-
Set a dictionary as a content.
- setDate(int, Date) - Method in class com.couchbase.lite.MutableArray
-
Sets a Date object at the given index.
- setDate(String, Date) - Method in class com.couchbase.lite.MutableDictionary
-
Set a Date object for the given key.
- setDate(String, Date) - Method in 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.
- setDirectory(String) - Method in class com.couchbase.lite.DatabaseConfiguration
-
Set the path to the directory to store the database in.
- setDisableTls(boolean) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
-
Set the configured security protocol.
- 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.
- 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.
- setLanguage(String) - Method in class com.couchbase.lite.FullTextIndex
-
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.
- 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.
- 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.
- setPort(int) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
-
Set the configured port.
- setReadOnly(boolean) - Method in class com.couchbase.lite.URLEndpointListenerConfiguration
-
Set the connection read-only.
- 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.
- 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(boolean) - Method in class com.couchbase.lite.AbstractReplicator
-
Start the replicator.
- start() - Method in class com.couchbase.lite.URLEndpointListener
-
Start the listener.
- Status(C4ReplicatorStatus) - Constructor for class com.couchbase.lite.AbstractReplicator.Status
-
- stop() - Method in class com.couchbase.lite.AbstractReplicator
-
Stop a running replicator.
- stop() - Method in class com.couchbase.lite.URLEndpointListener
-
Stop the listener.
- 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.