- AbstractReplicator - Class in com.couchbase.lite
-
A replicator for replicating document changes between a local database and a target database.
- AbstractReplicator(ReplicatorConfiguration) - Constructor for class com.couchbase.lite.AbstractReplicator
-
Initializes a replicator with the given configuration.
- 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.
- 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 IN SATISFIES )
with the given variable name.
- anyAndEvery(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
-
Creates an ANY AND EVERY Quantified operator (ANY AND EVERY IN
SATISFIES ) with the given variable name.
- Array - Class in com.couchbase.lite
-
Array provides readonly access to array data.
- ArrayExpression - Class in com.couchbase.lite
-
Array expression
- ArrayExpressionIn - Class in com.couchbase.lite
-
The In class represents the IN clause object in a quantified operator (ANY/ANY AND EVERY/EVERY
IN SATISFIES ).
- ArrayExpressionSatisfies - Class in com.couchbase.lite
-
The Satisfies class represents the SATISFIES clause object in a quantified operator
(ANY/ANY AND EVERY/EVERY IN SATISFIES ).
- ArrayFunction - Class in com.couchbase.lite
-
Function 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
-
- Authenticator - Class in com.couchbase.lite
-
Authenticator is an opaque based authenticator interface and not intended for application to
implement a custom authenticator by subclassing Authenticator interface.
- 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
-
- 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 active connections.
- 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.
- 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(Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified cause
- 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, Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteException(String, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteException(String, Throwable, 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(CBLInternalException) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception from an internal exception
- 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.
- 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
-
- 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.
- 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.
- 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.
- getConnection() - Method in class com.couchbase.lite.MessageEndpointListenerChange
-
Return connection
- getConsole() - Method in class com.couchbase.lite.Log
-
Gets the logger that writes to the Android system log
- 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
-
- 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.
- 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.
- getExecutionService() - Static method in class com.couchbase.lite.CouchbaseLite
-
This method is for internal used only and will be removed in the future release.
- 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.
- 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.
- 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.
- 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.
- 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
-
- 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.
- 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.
- 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.
- getTarget() - Method in class com.couchbase.lite.MessageEndpoint
-
Gets the target object which is an arbitrary object that represents the endpoint.
- 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.
- 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.
- 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.
- isNot(Expression) - Method in class com.couchbase.lite.Expression
-
Create an IS NOT expression that evaluates whether or not the current expression is not
equal to the given expression.
- isNullOrMissing() - Method in class com.couchbase.lite.Expression
-
Creates an IS NULL OR MISSING expression that evaluates whether or not the current
expression is null or missing.
- isPush() - Method in class com.couchbase.lite.DocumentReplication
-
The current document replication direction flag.
- isRecoverable() - Method in class com.couchbase.lite.MessagingError
-
Is the error recoverable?
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
-
Starts the replicator.
- Status(C4ReplicatorStatus) - Constructor for class com.couchbase.lite.AbstractReplicator.Status
-
- stop() - Method in class com.couchbase.lite.AbstractReplicator
-
Stops a running replicator.
- string(String) - Static method in class com.couchbase.lite.Expression
-
Create value expression with given String value
- subtract(Expression) - Method in class com.couchbase.lite.Expression
-
Create a subtract expression to subtract the given expression from the current expression.