- abs(Expression) - Static method in class com.couchbase.lite.Function
-
Creates an ABS(expr) function that returns the absolute value of the given numeric
expression.
- acos(Expression) - Static method in class com.couchbase.lite.Function
-
Creates an ACOS(expr) function that returns the inverse cosine of the given numeric
expression.
- add(Expression) - Method in class com.couchbase.lite.Expression
-
Create an add expression to add the given expression to the current expression
- addArray(Array) - Method in class com.couchbase.lite.MutableArray
-
Adds an Array object to the end of the array.
- addBlob(Blob) - Method in class com.couchbase.lite.MutableArray
-
Adds a Blob object to the end of the array.
- addBoolean(boolean) - Method in class com.couchbase.lite.MutableArray
-
Adds a boolean value to the end of the array.
- addChangeListener(DatabaseChangeListener) - Method in class com.couchbase.lite.Database
-
Set the given DatabaseChangeListener to the this database.
- addChangeListener(Executor, DatabaseChangeListener) - Method in class com.couchbase.lite.Database
-
- addChangeListener(QueryChangeListener) - Method in interface com.couchbase.lite.Query
-
Adds a query change listener.
- addChangeListener(Executor, QueryChangeListener) - Method in interface com.couchbase.lite.Query
-
Adds a query change listener with the dispatch queue on which changes
will be posted.
- addChangeListener(ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
-
- addChangeListener(Executor, ReplicatorChangeListener) - Method in class com.couchbase.lite.Replicator
-
Set the given ReplicatorChangeListener to the this replicator.
- addDate(Date) - Method in class com.couchbase.lite.MutableArray
-
Adds a Date object to the end of the array.
- addDictionary(Dictionary) - Method in class com.couchbase.lite.MutableArray
-
Adds a Dictionary object to the end of the array.
- addDocumentChangeListener(String, DocumentChangeListener) - Method in class com.couchbase.lite.Database
-
Add the given DocumentChangeListener to the specified document.
- addDocumentChangeListener(String, Executor, DocumentChangeListener) - Method in class com.couchbase.lite.Database
-
- addDouble(double) - Method in class com.couchbase.lite.MutableArray
-
Adds a double value to the end of the array.
- addFloat(float) - Method in class com.couchbase.lite.MutableArray
-
Adds a float value to the end of the array.
- addInt(int) - Method in class com.couchbase.lite.MutableArray
-
Adds an integer value to the end of the array.
- addLong(long) - Method in class com.couchbase.lite.MutableArray
-
Adds a long value to the end of the array.
- addNumber(Number) - Method in class com.couchbase.lite.MutableArray
-
Adds a Number object to the end of the array.
- addString(String) - Method in class com.couchbase.lite.MutableArray
-
Adds a String object to the end of the array.
- addValue(Object) - Method in class com.couchbase.lite.MutableArray
-
Adds an object to the end of the array.
- all() - Static method in class com.couchbase.lite.Expression
-
Creates a * expression to express all properties
- all() - Static method in class com.couchbase.lite.SelectResult
-
Creates a SelectResult object that returns all properties data.
- allResults() - Method in class com.couchbase.lite.ResultSet
-
Return List of Results.
- and(Expression) - Method in class com.couchbase.lite.Expression
-
Create a logical AND expression that performs logical AND operation with
the current expression.
- any(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
-
Creates an ANY Quantified operator (ANY IN SATISFIES )
with the given variable name.
- anyAndEvery(VariableExpression) - Static method in class com.couchbase.lite.ArrayExpression
-
Creates an ANY AND EVERY Quantified operator (ANY AND EVERY IN
SATISFIES ) with the given variable name.
- Array - Class in com.couchbase.lite
-
Array provides readonly access to array data.
- ArrayExpression - Class in com.couchbase.lite
-
Array expression
- ArrayExpressionIn - Class in com.couchbase.lite
-
The In class represents the IN clause object in a quantified operator (ANY/ANY AND EVERY/EVERY
IN SATISFIES ).
- ArrayExpressionSatisfies - Class in com.couchbase.lite
-
The Satisfies class represents the SATISFIES clause object in a quantified operator
(ANY/ANY AND EVERY/EVERY IN SATISFIES ).
- ArrayFunction - Class in com.couchbase.lite
-
Function provies array functions.
- as(String) - Method in class com.couchbase.lite.DataSource.As
-
Set an alias to the database data source.
- as(String) - Method in class com.couchbase.lite.SelectResult.As
-
Specifies the alias name to the SelectResult object.
- ascending() - Method in class com.couchbase.lite.Ordering.SortOrder
-
Set the order as ascending order.
- ascii() - Static method in class com.couchbase.lite.Collation
-
Creates an ASCII collation that will compare two strings by using binary comparison.
- asin(Expression) - Static method in class com.couchbase.lite.Function
-
Creates an ASIN(expr) function that returns the inverse sin of the given numeric
expression.
- atan(Expression) - Static method in class com.couchbase.lite.Function
-
Creates an ATAN(expr) function that returns the inverse tangent of the numeric
expression.
- atan2(Expression, Expression) - Static method in class com.couchbase.lite.Function
-
Returns the angle theta from the conversion of rectangular coordinates (x, y)
to polar coordinates (r, theta).
- Authenticator - Class in com.couchbase.lite
-
Authenticator is an opaque based authenticator interface and not intended for application to
implement a custom authenticator by subclassing Authenticator interface.
- avg(Expression) - Static method in class com.couchbase.lite.Function
-
Creates an AVG(expr) function expression that returns the average of all the number values
in the group of the values expressed by the given expression.
- ceil(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a CEIL(expr) function that returns the ceiling value of the given numeric
expression.
- changed(DatabaseChange) - Method in interface com.couchbase.lite.DatabaseChangeListener
-
Callback function from Database when database has change
- changed(DocumentChange) - Method in interface com.couchbase.lite.DocumentChangeListener
-
Callback function from Database when the specified document is updated.
- changed(QueryChange) - Method in interface com.couchbase.lite.QueryChangeListener
-
The callback function from live query
- changed(ReplicatorChange) - Method in interface com.couchbase.lite.ReplicatorChangeListener
-
The callback function from Replicator
- close() - Method in class com.couchbase.lite.Database
-
Closes a database.
- collate(Collation) - Method in class com.couchbase.lite.Expression
-
Creates a Collate expression with the given Collation specification.
- Collation - Class in com.couchbase.lite
-
Collation defines how strings are compared and is used when creating a COLLATE expression.
- Collation.ASCII - Class in com.couchbase.lite
-
ASCII collation compares two strings by using binary comparison.
- Collation.Unicode - Class in com.couchbase.lite
-
Unicode Collation that will compare two strings
by using Unicode collation algorithm.
- com.couchbase.lite - package com.couchbase.lite
-
- compact() - Method in class com.couchbase.lite.Database
-
Compacts the database file by deleting unused attachment files and vacuuming the SQLite database
- Conflict - Class in com.couchbase.lite
-
Provides details about a Conflict.
- ConflictResolver - Interface in com.couchbase.lite
-
Interface for an application-defined object that can resolve a conflict between two revisions of
a document.
- contains(Expression, Expression) - Static method in class com.couchbase.lite.ArrayFunction
-
Creates an ARRAY_CONTAINS(expr, value) function that checks whether the given array
expression contains the given value or not.
- contains(String) - Method in class com.couchbase.lite.Dictionary
-
Tests whether a property exists or not.
- contains(String) - Method in class com.couchbase.lite.Document
-
Tests whether a property exists or not.
- contains(Expression, Expression) - Static method in class com.couchbase.lite.Function
-
Creates a CONTAINS(expr, substr) function that evaluates whether the given string
expression conatins the given substring expression or not.
- contains(String) - Method in class com.couchbase.lite.Result
-
Tests whether a projecting result key exists or not.
- copy(File, String, DatabaseConfiguration) - Static method in class com.couchbase.lite.Database
-
- cos(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a COS(expr) function that returns the cosine of the given numeric expression.
- CouchbaseLiteException - Exception in com.couchbase.lite
-
A CouchbaseLiteException gets raised whenever a Couchbase Lite faces errors.
- CouchbaseLiteException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified detail message.
- CouchbaseLiteException(Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified cause
- CouchbaseLiteException(int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified error domain and error code
- CouchbaseLiteException(String, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified detail message, error domain and error code
- CouchbaseLiteException(int, int, Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified error domain, error code and the specified cause
- CouchbaseLiteException(String, Throwable, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
Constructs a new exception with the specified error domain, error code and the specified cause
- CouchbaseLiteException(int, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteException
-
- CouchbaseLiteRuntimeException - Exception in com.couchbase.lite
-
A CouchbaseLiteRuntimeException gets raised when Couchbase Lite faces unexpected error
- CouchbaseLiteRuntimeException(String) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Constructs a new exception with the specified detail message.
- CouchbaseLiteRuntimeException(Throwable) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Constructs a new exception with the specified cause
- CouchbaseLiteRuntimeException(int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Constructs a new exception with the specified error domain and error code
- CouchbaseLiteRuntimeException(String, Throwable, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Constructs a new exception with the specified error domain, error code and the specified cause
- CouchbaseLiteRuntimeException(String, int, int) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Constructs a new exception with the specified error domain, error code and the specified cause
- CouchbaseLiteRuntimeException(int, int, Map<String, Object>) - Constructor for exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
- count() - Method in class com.couchbase.lite.Array
-
Gets a number of the items in the array.
- count() - Method in class com.couchbase.lite.Dictionary
-
Gets a number of the entries in the dictionary.
- count() - Method in class com.couchbase.lite.Document
-
Gets a number of the entries in the dictionary.
- count(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a COUNT(expr) function expression that returns the count of all values
in the group of the values expressed by the given expression.
- count() - Method in class com.couchbase.lite.Result
-
Return A number of the projecting values in the result.
- createIndex(String, Index) - Method in class com.couchbase.lite.Database
-
- crossJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create an CROSS JOIN component with the given data source.
- getActivityLevel() - Method in class com.couchbase.lite.Replicator.Status
-
The current activity level.
- getArray(int) - Method in class com.couchbase.lite.Array
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.Dictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(String) - Method in class com.couchbase.lite.Document
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(int) - Method in class com.couchbase.lite.MutableArray
-
Gets a Array at the given index.
- getArray(String) - Method in class com.couchbase.lite.MutableDictionary
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(String) - Method in class com.couchbase.lite.MutableDocument
-
Get a property's value as a Array, which is a mapping object of an array value.
- getArray(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Array object
- getArray(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a readonly Array object.
- getAuthenticator() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return the Authenticator to authenticate with a remote target.
- getBase() - Method in class com.couchbase.lite.Conflict
-
Return the base or common anchester version of the document.
- getBlob(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Blob.
- getBlob(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Blob.
- getBlob(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Blob object
- getBlob(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Blob object.
- getBoolean(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a boolean.
- getBoolean(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a boolean.
- getBoolean(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a boolean value
- getBoolean(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a boolean value.
- getChannels() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
A set of Sync Gateway channel names to pull from.
- getCode() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error code for this error.
- getCode() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Access the error code for this error.
- getCompleted() - Method in class com.couchbase.lite.Replicator.Progress
-
The number of completed changes processed.
- getConfig() - Method in class com.couchbase.lite.Database
-
Returns a READONLY config object which will throw a runtime exception
when any setter methods are called.
- getConfig() - Method in class com.couchbase.lite.Replicator
-
The replicator's configuration.
- getConflictResolver() - Method in class com.couchbase.lite.DatabaseConfiguration
-
Returns the conflict resolver for this database.
- getConflictResolver() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
The conflict resolver for this replicator.
- getContent() - Method in class com.couchbase.lite.Blob
-
Gets the contents of a Blob as a block of memory.
- getContentStream() - Method in class com.couchbase.lite.Blob
-
Get the stream of content of a Blob.
- getContentType() - Method in class com.couchbase.lite.Blob
-
Return the type of content this Blob represents; by convention this is a MIME type.
- getCookieName() - Method in class com.couchbase.lite.SessionAuthenticator
-
Return session cookie name that the session ID value will be set to when communicating
the Sync Gateaway.
- getCount() - Method in class com.couchbase.lite.Database
-
The number of documents in the database.
- getDatabase() - Method in class com.couchbase.lite.DatabaseChange
-
Returns the database instance
- getDatabase() - Method in class com.couchbase.lite.DatabaseEndpoint
-
Return the Database instance
- getDatabase() - Method in class com.couchbase.lite.DocumentChange
-
Return the Database instance
- getDatabase() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return the local database to replicate with the replication target.
- getDate(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Date.
- getDate(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Date.
- getDate(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Date.
- getDate(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as an Array object
- getDate(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Date object.
- getDictionary(int) - Method in class com.couchbase.lite.Array
-
Gets a Dictionary at the given index.
- getDictionary(String) - Method in class com.couchbase.lite.Dictionary
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(String) - Method in class com.couchbase.lite.Document
-
Get a property's value as a Dictionary, which is a mapping object of
a Dictionary value.
- getDictionary(int) - Method in class com.couchbase.lite.MutableArray
-
Gets a Dictionary at the given index.
- getDictionary(String) - Method in class com.couchbase.lite.MutableDictionary
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(String) - Method in class com.couchbase.lite.MutableDocument
-
Get a property's value as a Dictionary, which is a mapping object of an dictionary value.
- getDictionary(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Dictionary object
- getDictionary(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a readonly Dictionary object.
- getDirectory() - Method in class com.couchbase.lite.DatabaseConfiguration
-
Returns the path to the directory to store the database in.
- getDocument(String) - Method in class com.couchbase.lite.Database
-
Gets an existing Document object with the given ID.
- getDocumentID() - Method in class com.couchbase.lite.DocumentChange
-
Returns the changed document ID
- getDocumentIDs() - Method in class com.couchbase.lite.DatabaseChange
-
Returns the list of the changed document IDs
- getDocumentIDs() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
A set of document IDs to filter by: if not nil, only documents with these IDs will be pushed
and/or pulled.
- getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error domain for this error.
- getDomain() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Access the error domain for this error.
- getDomainString() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
Access the error domain for this error.
- getDomainString() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
Access the error domain for this error.
- getDouble(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an double.
- getDouble(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an double.
- getDouble(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an double.
- getDouble(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a double value
- getDouble(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a double value.
- getEncryptionKey() - Method in class com.couchbase.lite.DatabaseConfiguration
-
Returns a key to encrypt the database with.
- getError() - Method in class com.couchbase.lite.QueryChange
-
Return the error occurred when running the query.
- getError() - Method in class com.couchbase.lite.Replicator.Status
-
- getFloat(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an float.
- getFloat(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an float.
- getFloat(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an float.
- getFloat(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a float value
- getFloat(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a float value.
- getHeaders() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return Extra HTTP headers to send in all requests to the remote target.
- getId() - Method in class com.couchbase.lite.Document
-
return the document's ID.
- getIndexes() - Method in class com.couchbase.lite.Database
-
- getInfo() - Method in exception com.couchbase.lite.CouchbaseLiteException
-
- getInfo() - Method in exception com.couchbase.lite.CouchbaseLiteRuntimeException
-
- getInt(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an int.
- getInt(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an int.
- getInt(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an int.
- getInt(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a integer value
- getInt(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a integer value
Returns 0 if the key doesn't exist.
- getKeys() - Method in class com.couchbase.lite.Dictionary
-
- getKeys() - Method in class com.couchbase.lite.Document
-
Get an List containing all keys, or an empty List if the document has no properties.
- getKeys() - Method in class com.couchbase.lite.Result
-
Return All projecting keys
- getLong(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an long.
- getLong(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an long.
- getLong(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an long.
- getLong(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a long value
- getLong(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a long value
Returns 0L if the key doesn't exist.
- getMine() - Method in class com.couchbase.lite.Conflict
-
Return the mine version of the document.
- getName() - Method in class com.couchbase.lite.Database
-
Return the database name
- getNumber(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a Number.
- getNumber(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a Number.
- getNumber(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a Number.
- getNumber(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a Number object
- getNumber(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Number object
Returns null if the key doesn't exist.
- getParameters() - Method in interface com.couchbase.lite.Query
-
Returns a copies of the current parameters.
- getPassword() - Method in class com.couchbase.lite.BasicAuthenticator
-
- getPath() - Method in class com.couchbase.lite.Database
-
Return the database's path.
- getPinnedServerCertificate() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return the remote target's SSL certificate.
- getProgress() - Method in class com.couchbase.lite.Replicator.Status
-
The current progress of the replicator.
- getProperties() - Method in class com.couchbase.lite.Blob
-
Return the metadata associated with this Blob
- getQuery() - Method in class com.couchbase.lite.QueryChange
-
Return the source live query object.
- getReplicator() - Method in class com.couchbase.lite.ReplicatorChange
-
Return the source replicator object.
- getReplicatorType() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return Replicator type indicating the direction of the replicator.
- getResults() - Method in class com.couchbase.lite.QueryChange
-
Return the new query result.
- getSequence() - Method in class com.couchbase.lite.Document
-
Return the sequence number of the document in the database.
- getSessionID() - Method in class com.couchbase.lite.SessionAuthenticator
-
Return session ID of the session created by a Sync Gateway.
- getStatus() - Method in class com.couchbase.lite.Replicator
-
The replicator's current status: its activity level and progress.
- getStatus() - Method in class com.couchbase.lite.ReplicatorChange
-
Return the replicator status.
- getString(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as a String.
- getString(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as a String.
- getString(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as a String.
- getString(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index as a String object
- getString(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a String object
Returns null if the key doesn't exist.
- getTarget() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return the replication target to replicate with.
- getTheirs() - Method in class com.couchbase.lite.Conflict
-
Return the theirs version of the document.
- getTotal() - Method in class com.couchbase.lite.Replicator.Progress
-
The total number of changes to be processed.
- getURL() - Method in class com.couchbase.lite.URLEndpoint
-
Returns the url.
- getUsername() - Method in class com.couchbase.lite.BasicAuthenticator
-
- getValue(int) - Method in class com.couchbase.lite.Array
-
Gets value at the given index as an object.
- getValue() - Method in enum com.couchbase.lite.Database.LogLevel
-
- getValue(String) - Method in class com.couchbase.lite.Dictionary
-
Gets a property's value as an object.
- getValue(String) - Method in class com.couchbase.lite.Document
-
Gets a property's value as an object.
- getValue(String) - Method in class com.couchbase.lite.Parameters
-
Gets a parameter's value.
- getValue(int) - Method in class com.couchbase.lite.Result
-
The projecting result value at the given index.
- getValue(String) - Method in class com.couchbase.lite.Result
-
The projecting result value for the given key as a Object
Returns null if the key doesn't exist.
- greaterThan(Expression) - Method in class com.couchbase.lite.Expression
-
Create a greater than expression that evaluates whether or not the current expression
is greater than the given expression.
- greaterThanOrEqualTo(Expression) - Method in class com.couchbase.lite.Expression
-
Create a greater than or equal to expression that evaluates whether or not the current
expression is greater than or equal to the given expression.
- groupBy(Expression...) - Method in class com.couchbase.lite.From
-
Creates and chains a GroupBy object to group the query result.
- GroupBy - Class in com.couchbase.lite
-
A GroupBy represents the GROUP BY clause to group the query result.
- groupBy(Expression...) - Method in class com.couchbase.lite.Where
-
Create and chain a GROUP BY component to group the query result.
- id - Static variable in class com.couchbase.lite.Meta
-
A metadata expression referring to the ID of the document.
- ignoreAccents(boolean) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies whether the collation ignore the accents or diacritics when
comparing the strings or not.
- ignoreAccents(boolean) - Method in class com.couchbase.lite.FullTextIndex
-
Set the true value to ignore accents/diacritical marks.
- ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.ASCII
-
Specifies whether the collation is case-sensitive or not.
- ignoreCase(boolean) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies whether the collation is case-insenstive or not.
- in(Expression) - Method in class com.couchbase.lite.ArrayExpressionIn
-
Creates a Satisfies clause object with the given IN clause expression that could be an
array object or an expression evaluated as an array object.
- in(Expression...) - Method in class com.couchbase.lite.Expression
-
Create an IN expression that evaluates whether or not the current expression is in the
given expressions.
- inBatch(Runnable) - Method in class com.couchbase.lite.Database
-
Runs a group of database operations in a batch.
- index(String) - Static method in class com.couchbase.lite.FullTextExpression
-
Creates a full-text expression with the given full-text index name.
- IndexBuilder - Class in com.couchbase.lite
-
- IndexBuilder() - Constructor for class com.couchbase.lite.IndexBuilder
-
- IndexType - Enum in com.couchbase.lite
-
Types of database indexes.
- innerJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create an INNER JOIN component with the given data source.
- insertArray(int, Array) - Method in class com.couchbase.lite.MutableArray
-
Inserts an Array object at the given index.
- insertBlob(int, Blob) - Method in class com.couchbase.lite.MutableArray
-
Inserts a Blob object at the given index.
- insertBoolean(int, boolean) - Method in class com.couchbase.lite.MutableArray
-
Inserts a boolean value at the given index.
- insertDate(int, Date) - Method in class com.couchbase.lite.MutableArray
-
Inserts a Date object at the given index.
- insertDictionary(int, Dictionary) - Method in class com.couchbase.lite.MutableArray
-
Inserts a Dictionary object at the given index.
- insertDouble(int, double) - Method in class com.couchbase.lite.MutableArray
-
Inserts a double value at the given index.
- insertFloat(int, float) - Method in class com.couchbase.lite.MutableArray
-
Inserts a float value at the given index.
- insertInt(int, int) - Method in class com.couchbase.lite.MutableArray
-
Inserts an integer value at the given index.
- insertLong(int, long) - Method in class com.couchbase.lite.MutableArray
-
Inserts a long value at the given index.
- insertNumber(int, Number) - Method in class com.couchbase.lite.MutableArray
-
Inserts a Number object at the given index.
- insertString(int, String) - Method in class com.couchbase.lite.MutableArray
-
Inserts a String object at the given index.
- insertValue(int, Object) - Method in class com.couchbase.lite.MutableArray
-
Inserts an object at the given index.
- intValue(int) - Static method in class com.couchbase.lite.Expression
-
Create value expression with given integer value
- is(Expression) - Method in class com.couchbase.lite.Expression
-
Create an IS expression that evaluates whether or not the current expression is equal to
the given expression.
- isContinuous() - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Return the continuous flag indicating whether the replicator should stay
active indefinitely to replicate changed documents.
- isDeleted() - Method in class com.couchbase.lite.Document
-
Return whether the document is deleted
- isDeleted() - Method in class com.couchbase.lite.MutableDocument
-
Is the document deleted?
- isNot(Expression) - Method in class com.couchbase.lite.Expression
-
Create an IS NOT expression that evaluates whether or not the current expression is not
equal to the given expression.
- isNullOrMissing() - Method in class com.couchbase.lite.Expression
-
Creates an IS NULL OR MISSING expression that evaluates whether or not the current
expression is null or missing.
- iterator() - Method in class com.couchbase.lite.Array
-
- iterator() - Method in class com.couchbase.lite.Dictionary
-
- iterator() - Method in class com.couchbase.lite.Document
-
Gets an iterator over the keys of the document's properties
- iterator() - Method in class com.couchbase.lite.Result
-
Gets an iterator over the projecting result keys.
- iterator() - Method in class com.couchbase.lite.ResultSet
-
Return Iterator of Results.
- leftJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source.
- leftOuterJoin(DataSource) - Static method in class com.couchbase.lite.Join
-
Create a LEFT OUTER JOIN component with the given data source.
- length(Expression) - Static method in class com.couchbase.lite.ArrayFunction
-
Creates an ARRAY_LENGTH(expr) function that returns the length of the given array
expression.
- length() - Method in class com.couchbase.lite.Blob
-
The binary length of this Blob
- length(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a LENGTH(expr) function that returns the length of the given string expression.
- lessThan(Expression) - Method in class com.couchbase.lite.Expression
-
Create a less than expression that evaluates whether or not the current expression
is less than the given expression.
- lessThanOrEqualTo(Expression) - Method in class com.couchbase.lite.Expression
-
Create a less than or equal to expression that evaluates whether or not the current
expression is less than or equal to the given expression.
- like(Expression) - Method in class com.couchbase.lite.Expression
-
Create a Like expression that evaluates whether or not the current expression is LIKE
the given expression.
- limit(Expression) - Method in class com.couchbase.lite.From
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.From
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.GroupBy
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.GroupBy
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.Having
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Having
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- limit(Expression) - Method in class com.couchbase.lite.Joins
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Joins
-
Creates and chains a Limit object to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- Limit - Class in com.couchbase.lite
-
A Limit component represents the LIMIT clause of the query statement.
- limit(Expression) - Method in class com.couchbase.lite.OrderBy
-
Creates and chains a Limit object to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.OrderBy
-
Creates and chains a Limit object to skip the returned results for the given offset
- limit(Expression) - Method in class com.couchbase.lite.Where
-
Create and chain a LIMIT component to limit the number query results.
- limit(Expression, Expression) - Method in class com.couchbase.lite.Where
-
Create and chain a LIMIT component to skip the returned results for the given offset
position and to limit the number of results to not more than the given limit value.
- ListenerToken - Interface in com.couchbase.lite
-
The listener token interface
- ln(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a LN(expr) function that returns the natural log of the given numeric expression.
- locale(String) - Method in class com.couchbase.lite.Collation.Unicode
-
Specifies the locale to allow the collation to compare strings appropriately base on
the locale.
- log(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a LOG(expr) function that returns the base 10 log of the given numeric expression.
- longValue(long) - Static method in class com.couchbase.lite.Expression
-
Create value expression with given long value
- lower(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a LOWER(expr) function that returns the lowercase string of the given string
expression.
- ltrim(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a LTRIM(expr) function that removes the whitespace from the beginning of the
given string expression.
- satisfies(Expression) - Method in class com.couchbase.lite.ArrayExpressionSatisfies
-
Creates a complete quantified operator with the given satisfies expression.
- save(MutableDocument) - Method in class com.couchbase.lite.Database
-
Saves the given document to the database.
- select(SelectResult...) - Static method in class com.couchbase.lite.QueryBuilder
-
Create a SELECT statement instance that you can use further
(e.g.
- Select - Class in com.couchbase.lite
-
Select represents the SELECT clause of the query for specifying the returning properties in each
query result row.
- selectDistinct(SelectResult...) - Static method in class com.couchbase.lite.QueryBuilder
-
Create a SELECT DISTINCT statement instance that you can use further
(e.g.
- SelectResult - Class in com.couchbase.lite
-
SelectResult represents a signle return value of the query statement.
- SelectResult.As - Class in com.couchbase.lite
-
SelectResult.As is a SelectResult that you can specify an alias name to it.
- SelectResult.From - Class in com.couchbase.lite
-
SelectResult.From is a SelectResult that you can specify the data source alias name.
- sequence - Static variable in class com.couchbase.lite.Meta
-
A metadata expression refering to the sequence number of the document.
- SessionAuthenticator - Class in com.couchbase.lite
-
SessionAuthenticator class is an authenticator that will authenticate by using the sessin ID of
the session created by a Sync Gateway
- SessionAuthenticator(String) - Constructor for class com.couchbase.lite.SessionAuthenticator
-
Initializes with the Sync Gateway session ID and uses the default cookie name.
- SessionAuthenticator(String, String) - Constructor for class com.couchbase.lite.SessionAuthenticator
-
Initializes with the session ID and the cookie name.
- setArray(int, Array) - Method in class com.couchbase.lite.MutableArray
-
Sets a Array object at the given index.
- setArray(String, Array) - Method in class com.couchbase.lite.MutableDictionary
-
Set an Array object for the given key.
- setArray(String, Array) - Method in class com.couchbase.lite.MutableDocument
-
Set an Array value for the given key
- setAuthenticator(Authenticator) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets the authenticator to authenticate with a remote target server.
- setBlob(int, Blob) - Method in class com.couchbase.lite.MutableArray
-
Sets a Blob object at the given index.
- setBlob(String, Blob) - Method in class com.couchbase.lite.MutableDictionary
-
Set a Blob object for the given key.
- setBlob(String, Blob) - Method in class com.couchbase.lite.MutableDocument
-
Set a Blob value for the given key
- setBoolean(int, boolean) - Method in class com.couchbase.lite.MutableArray
-
Sets a boolean value at the given index.
- setBoolean(String, boolean) - Method in class com.couchbase.lite.MutableDictionary
-
Set a boolean value for the given key.
- setBoolean(String, boolean) - Method in class com.couchbase.lite.MutableDocument
-
Set a boolean value for the given key
- setBoolean(String, boolean) - Method in class com.couchbase.lite.Parameters
-
Set a boolean value to the query parameter referenced by the given name.
- setChannels(List<String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets a set of Sync Gateway channel names to pull from.
- setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.DatabaseConfiguration
-
Sets a custom conflict resolver used for solving the conflicts
when saving or deleting documents in the database.
- setConflictResolver(ConflictResolver) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets the custom conflict resolver for this replicator.
- setContinuous(boolean) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets whether the replicator stays active indefinitely to replicate
changed documents.
- setData(List<Object>) - Method in class com.couchbase.lite.MutableArray
-
Set an array as a content.
- setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDictionary
-
Set a dictionary as a content.
- setData(Map<String, Object>) - Method in class com.couchbase.lite.MutableDocument
-
Set a dictionary as a content.
- setDate(int, Date) - Method in class com.couchbase.lite.MutableArray
-
Sets a Date object at the given index.
- setDate(String, Date) - Method in class com.couchbase.lite.MutableDictionary
-
Set a Date object for the given key.
- setDate(String, Date) - Method in class com.couchbase.lite.MutableDocument
-
Set a Date value for the given key
- setDate(String, Date) - Method in class com.couchbase.lite.Parameters
-
Set a date value to the query parameter referenced by the given name.
- setDictionary(int, Dictionary) - Method in class com.couchbase.lite.MutableArray
-
Sets a Dictionary object at the given index.
- setDictionary(String, Dictionary) - Method in class com.couchbase.lite.MutableDictionary
-
Set a Dictionary object for the given key.
- setDictionary(String, Dictionary) - Method in class com.couchbase.lite.MutableDocument
-
Set a Dictionary value for the given key
- setDirectory(String) - Method in class com.couchbase.lite.DatabaseConfiguration
-
Set the path to the directory to store the database in.
- setDocumentIDs(List<String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets a set of document IDs to filter by: if given, only documents
with these IDs will be pushed and/or pulled.
- setDouble(int, double) - Method in class com.couchbase.lite.MutableArray
-
Sets a double value at the given index.
- setDouble(String, double) - Method in class com.couchbase.lite.MutableDictionary
-
Set a double value for the given key.
- setDouble(String, double) - Method in class com.couchbase.lite.MutableDocument
-
Set a double value for the given key
- setDouble(String, double) - Method in class com.couchbase.lite.Parameters
-
Set a double value to the query parameter referenced by the given name.
- setEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.Database
-
Changes the database's encryption key, or removes encryption if the new key is null.
- setEncryptionKey(EncryptionKey) - Method in class com.couchbase.lite.DatabaseConfiguration
-
Set a key to encrypt the database with.
- setFloat(int, float) - Method in class com.couchbase.lite.MutableArray
-
Sets a float value at the given index.
- setFloat(String, float) - Method in class com.couchbase.lite.MutableDictionary
-
Set a float value for the given key.
- setFloat(String, float) - Method in class com.couchbase.lite.MutableDocument
-
Set a float value for the given key
- setFloat(String, float) - Method in class com.couchbase.lite.Parameters
-
Set a float value to the query parameter referenced by the given name.
- setHeaders(Map<String, String>) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets the extra HTTP headers to send in all requests to the remote target.
- setInt(int, int) - Method in class com.couchbase.lite.MutableArray
-
Sets an integer value at the given index.
- setInt(String, int) - Method in class com.couchbase.lite.MutableDictionary
-
Set an int value for the given key.
- setInt(String, int) - Method in class com.couchbase.lite.MutableDocument
-
Set a integer value for the given key
- setInt(String, int) - Method in class com.couchbase.lite.Parameters
-
Set an int value to the query parameter referenced by the given name.
- setLanguage(String) - Method in class com.couchbase.lite.FullTextIndex
-
The language code which is an ISO-639 language such as "en", "fr", etc.
- setLogLevel(Database.LogDomain, Database.LogLevel) - Static method in class com.couchbase.lite.Database
-
- setLong(int, long) - Method in class com.couchbase.lite.MutableArray
-
Sets an integer value at the given index.
- setLong(String, long) - Method in class com.couchbase.lite.MutableDictionary
-
Set a long value for the given key.
- setLong(String, long) - Method in class com.couchbase.lite.MutableDocument
-
Set a long value for the given key
- setLong(String, long) - Method in class com.couchbase.lite.Parameters
-
Set an long value to the query parameter referenced by the given name.
- setNumber(int, Number) - Method in class com.couchbase.lite.MutableArray
-
Sets an NSNumber object at the given index.
- setNumber(String, Number) - Method in class com.couchbase.lite.MutableDictionary
-
Set a Number value for the given key.
- setNumber(String, Number) - Method in class com.couchbase.lite.MutableDocument
-
Set a Number value for the given key
- setNumber(String, Number) - Method in class com.couchbase.lite.Parameters
-
Set an Number value to the query parameter referenced by the given name.
- setParameters(Parameters) - Method in interface com.couchbase.lite.Query
-
Set parameters should copy the given parameters.
- setPinnedServerCertificate(byte[]) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets the target server's SSL certificate.
- setReplicatorType(ReplicatorConfiguration.ReplicatorType) - Method in class com.couchbase.lite.ReplicatorConfiguration
-
Sets the replicator type indicating the direction of the replicator.
- setString(int, String) - Method in class com.couchbase.lite.MutableArray
-
Sets an String object at the given index.
- setString(String, String) - Method in class com.couchbase.lite.MutableDictionary
-
Set a String value for the given key.
- setString(String, String) - Method in class com.couchbase.lite.MutableDocument
-
Set a String value for the given key
- setString(String, String) - Method in class com.couchbase.lite.Parameters
-
Set an String value to the query parameter referenced by the given name.
- setValue(int, Object) - Method in class com.couchbase.lite.MutableArray
-
Set an object at the given index.
- setValue(String, Object) - Method in class com.couchbase.lite.MutableDictionary
-
Set an object value by key.
- setValue(String, Object) - Method in class com.couchbase.lite.MutableDocument
-
Set an object value by key.
- setValue(String, Object) - Method in class com.couchbase.lite.Parameters
-
Set a value to the query parameter referenced by the given name.
- sign(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a SIGN(expr) function that returns the sign (1: positive, -1: negative, 0: zero)
of the given numeric expression.
- sin(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a SIN(expr) function that returns the sin of the given numeric expression.
- sqrt(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a SQRT(expr) function that returns the square root of the given numeric expression.
- start() - Method in class com.couchbase.lite.Replicator
-
Starts the replicator.
- stop() - Method in class com.couchbase.lite.Replicator
-
Stops a running replicator.
- string(String) - Static method in class com.couchbase.lite.Expression
-
Create value expression with given String value
- subtract(Expression) - Method in class com.couchbase.lite.Expression
-
Create a subtract expression to subtract the given expression from the current expression.
- sum(Expression) - Static method in class com.couchbase.lite.Function
-
Creates a SUM(expr) function expression that return the sum of all number values
in the group of the values expressed by the given expression.