- callInReadTx(Callable<T>) - Method in class io.objectbox.BoxStore
-
Calls the given callable inside a read(-only) transaction.
- callInReadTxWithRetry(Callable<T>, int, int, boolean) - Method in class io.objectbox.BoxStore
-
- callInTx(Callable<R>) - Method in class io.objectbox.BoxStore
-
- callInTxAsync(Callable<R>, TxCallback<R>) - Method in class io.objectbox.BoxStore
-
Runs the given Runnable as a transaction in a separate thread.
- callInTxNoException(Callable<R>) - Method in class io.objectbox.BoxStore
-
- cancel() - Method in interface io.objectbox.reactive.DataSubscription
-
The Observer shall not receive anymore updates.
- cancel() - Method in class io.objectbox.reactive.DataSubscriptionList
-
Cancels all tracked subscriptions and removes all references to them.
- cancelCurrentException() - Static method in interface io.objectbox.exception.DbExceptionListener
-
WARNING/DISCLAIMER: Please avoid this method and handle exceptions "properly" instead.
- cancelUpdates() - Method in interface io.objectbox.sync.SyncClient
-
Asks the server to pause sync updates.
- cancelUpdates() - Method in class io.objectbox.sync.SyncClientImpl
-
- CASE_SENSITIVE - Static variable in class io.objectbox.query.OrderFlags
-
Makes upper case letters (e.g.
- CASE_SENSITIVE - Static variable in class io.objectbox.query.QueryBuilder
-
Makes upper case letters (e.g.
- certificatePath(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
- changeListener(SyncChangeListener) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets a listener to observe fine granular changes happening during sync.
- changeListener(SyncChangeListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to observe fine granular changes happening during sync.
- checkCached() - Method in class io.objectbox.query.LazyList
-
- cleanStaleReadTransactions() - Method in class io.objectbox.BoxStore
-
- clear() - Method in class io.objectbox.query.LazyList
-
- clear() - Method in class io.objectbox.relation.ToMany
-
- clear() - Method in class io.objectbox.sync.SyncCredentialsToken
-
Clear after usage.
- clearDefaultStore() - Static method in class io.objectbox.BoxStore
-
Clears the convenience instance.
- client(BoxStore, String, SyncCredentials) - Static method in class io.objectbox.sync.Sync
-
Start building a sync client.
- CLIENT_ID_TAKEN - Static variable in class io.objectbox.sync.SyncLoginCodes
-
- close() - Method in class io.objectbox.BoxStore
-
Closes the BoxStore and frees associated resources.
- close() - Method in class io.objectbox.query.Query
-
If possible, try to close the query once you are done with it to reclaim resources immediately.
- close() - Method in class io.objectbox.query.QueryBuilder
-
- close() - Method in interface io.objectbox.sync.server.SyncServer
-
Closes and cleans up all resources used by this sync server.
- close() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- close() - Method in interface io.objectbox.sync.SyncClient
-
Closes and cleans up all resources used by this sync client.
- close() - Method in class io.objectbox.sync.SyncClientImpl
-
- closeThreadResources() - Method in class io.objectbox.Box
-
- closeThreadResources() - Method in class io.objectbox.BoxStore
-
Call this method from a thread that is about to be shutdown or likely not to use ObjectBox anymore:
it frees any cached resources tied to the calling thread (e.g.
- commitWriter(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
-
- completedListener(SyncCompletedListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to only observe Sync completed events.
- connectionListener(SyncConnectionListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to only observe Sync connection events.
- ConnectivityMonitor - Class in io.objectbox.sync
-
Used by
SyncClient
to observe connectivity changes.
- ConnectivityMonitor() - Constructor for class io.objectbox.sync.ConnectivityMonitor
-
- ConstraintViolationException - Exception in io.objectbox.exception
-
Base class for exceptions thrown when a constraint would be violated during a put operation.
- ConstraintViolationException(String) - Constructor for exception io.objectbox.exception.ConstraintViolationException
-
- contains(long) - Method in class io.objectbox.Box
-
Check if an object with the given ID exists in the database.
- contains(String) - Method in class io.objectbox.Property
-
- contains(Object) - Method in class io.objectbox.query.LazyList
-
- contains(Property<T>, String) - Method in class io.objectbox.query.QueryBuilder
-
Ignores case when matching results.
- contains(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
- contains(Object) - Method in class io.objectbox.relation.ToMany
-
- containsAll(Collection<?>) - Method in class io.objectbox.query.LazyList
-
- containsAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
-
- converterClass - Variable in class io.objectbox.Property
-
- convertToDatabaseValue(String) - Method in class io.objectbox.converter.NullToEmptyStringConverter
-
- convertToEntityProperty(String) - Method in class io.objectbox.converter.NullToEmptyStringConverter
-
- CopyOnWriteArrayListFactory() - Constructor for class io.objectbox.relation.ListFactory.CopyOnWriteArrayListFactory
-
- count() - Method in class io.objectbox.Box
-
Returns the count of all stored objects in this box.
- count(long) - Method in class io.objectbox.Box
-
Returns the count of all stored objects in this box or the given maxCount, whichever is lower.
- count() - Method in class io.objectbox.query.PropertyQuery
-
The count of non-null values.
- count() - Method in class io.objectbox.query.Query
-
Returns the count of Objects matching the query.
- createDebugWithoutModel() - Static method in class io.objectbox.BoxStoreBuilder
-
Not for application use, for DebugCursor.
- createList() - Method in class io.objectbox.relation.ListFactory.ArrayListFactory
-
- createList() - Method in class io.objectbox.relation.ListFactory.CopyOnWriteArrayListFactory
-
- createList() - Method in interface io.objectbox.relation.ListFactory
-
- CREDENTIALS_REJECTED - Static variable in class io.objectbox.sync.SyncLoginCodes
-
- customType - Variable in class io.objectbox.Property
-
Type, which is converted to a type supported by the DB.
- DataObserver<T> - Interface in io.objectbox.reactive
-
Observer that can be subscribed to publishers (e.g.
- DataPublisher<T> - Interface in io.objectbox.reactive
-
- DataSubscription - Interface in io.objectbox.reactive
-
- DataSubscriptionList - Class in io.objectbox.reactive
-
- DataSubscriptionList() - Constructor for class io.objectbox.reactive.DataSubscriptionList
-
- dataSubscriptionList(DataSubscriptionList) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
- DataTransformer<FROM,TO> - Interface in io.objectbox.reactive
-
Transforms or processes data before it is given to subscribed
DataObserver
s.
- DbDetachedException - Exception in io.objectbox.exception
-
- DbDetachedException() - Constructor for exception io.objectbox.exception.DbDetachedException
-
- DbDetachedException(String) - Constructor for exception io.objectbox.exception.DbDetachedException
-
- DbException - Exception in io.objectbox.exception
-
General exception for things that may go wrong with the database.
- DbException(String) - Constructor for exception io.objectbox.exception.DbException
-
- DbException(String, Throwable) - Constructor for exception io.objectbox.exception.DbException
-
- DbException(String, int) - Constructor for exception io.objectbox.exception.DbException
-
- DbExceptionListener - Interface in io.objectbox.exception
-
Listener for exceptions occurring during database operations.
- DbFullException - Exception in io.objectbox.exception
-
- DbFullException(String) - Constructor for exception io.objectbox.exception.DbFullException
-
- DbFullException(String, int) - Constructor for exception io.objectbox.exception.DbFullException
-
- DbMaxReadersExceededException - Exception in io.objectbox.exception
-
Thrown when the maximum of readers (read transactions) was exceeded.
- DbMaxReadersExceededException(String) - Constructor for exception io.objectbox.exception.DbMaxReadersExceededException
-
- DbMaxReadersExceededException(String, int) - Constructor for exception io.objectbox.exception.DbMaxReadersExceededException
-
- dbName - Variable in class io.objectbox.Property
-
- DbSchemaException - Exception in io.objectbox.exception
-
- DbSchemaException(String) - Constructor for exception io.objectbox.exception.DbSchemaException
-
- DbShutdownException - Exception in io.objectbox.exception
-
Thrown when an error occurred that requires the DB to shutdown.
- DbShutdownException(String) - Constructor for exception io.objectbox.exception.DbShutdownException
-
- DbShutdownException(String, int) - Constructor for exception io.objectbox.exception.DbShutdownException
-
- debugFlags(int) - Method in class io.objectbox.BoxStoreBuilder
-
Debug flags typically enable additional logging, see
DebugFlags
for valid values.
- DebugFlags - Class in io.objectbox
-
Not really an enum, but binary flags to use across languages
- debugRelations() - Method in class io.objectbox.BoxStoreBuilder
-
Enables some debug logging for relations.
- debugTransactions() - Method in class io.objectbox.BoxStoreBuilder
-
- DEFAULT_MAX_DB_SIZE_KBYTE - Static variable in class io.objectbox.BoxStoreBuilder
-
- DEFAULT_NAME - Static variable in class io.objectbox.BoxStoreBuilder
-
- DelegatingObserver<T> - Interface in io.objectbox.reactive
-
- deleteAllFiles() - Method in class io.objectbox.BoxStore
-
Danger zone! This will delete all data (files) of this BoxStore!
You must call
BoxStore.close()
before and read the docs of that method carefully!
- deleteAllFiles(File) - Static method in class io.objectbox.BoxStore
-
Danger zone! This will delete all files in the given directory!
- deleteAllFiles(Object, String) - Static method in class io.objectbox.BoxStore
-
Danger zone! This will delete all files in the given directory!
- deleteAllFiles(File, String) - Static method in class io.objectbox.BoxStore
-
Danger zone! This will delete all files in the given directory!
- DESCENDING - Static variable in class io.objectbox.query.OrderFlags
-
Reverts the order from ascending (default) to descending.
- DESCENDING - Static variable in class io.objectbox.query.QueryBuilder
-
Reverts the order from ascending (default) to descending.
- describe() - Method in class io.objectbox.query.Query
-
For logging and testing, returns a string describing this query
like "Query for entity Example with 4 conditions with properties prop1, prop2".
- describeParameters() - Method in class io.objectbox.query.Query
-
For logging and testing, returns a string describing the conditions of this query
like "(prop1 == A AND prop2 is null)".
- diagnose() - Method in class io.objectbox.BoxStore
-
Gives info that can be useful for debugging.
- directory(File) - Method in class io.objectbox.BoxStoreBuilder
-
The directory where all DB files should be placed in.
- distinct() - Method in class io.objectbox.query.PropertyQuery
-
Only distinct values should be returned (e.g.
- distinct(QueryBuilder.StringOrder) - Method in class io.objectbox.query.PropertyQuery
-
- Factory<T> - Interface in io.objectbox
-
Generic Factory that provides a resource on demand (if and when it is required).
- failedReadTxAttemptCallback(TxCallback<?>) - Method in class io.objectbox.BoxStoreBuilder
-
- FileCorruptException - Exception in io.objectbox.exception
-
Errors were detected in a file, e.g.
- FileCorruptException(String) - Constructor for exception io.objectbox.exception.FileCorruptException
-
- FileCorruptException(String, int) - Constructor for exception io.objectbox.exception.FileCorruptException
-
- fileMode(int) - Method in class io.objectbox.BoxStoreBuilder
-
- filter(QueryFilter<T>) - Method in class io.objectbox.query.QueryBuilder
-
Sets a filter that executes on primary query results (returned from the db core) on a Java level.
- finalize() - Method in class io.objectbox.BoxStore
-
- finalize() - Method in class io.objectbox.query.Query
-
Explicitly call
Query.close()
instead to avoid expensive finalization.
- finalize() - Method in class io.objectbox.query.QueryBuilder
-
- finalize() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- finalize() - Method in class io.objectbox.sync.SyncClientImpl
-
- find() - Method in class io.objectbox.query.Query
-
Find all Objects matching the query.
- find(long, long) - Method in class io.objectbox.query.Query
-
Find all Objects matching the query, skipping the first offset results and returning at most limit results.
- findBoolean() - Method in class io.objectbox.query.PropertyQuery
-
- findByte() - Method in class io.objectbox.query.PropertyQuery
-
- findBytes() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given byte property for objects matching the query.
- findChar() - Method in class io.objectbox.query.PropertyQuery
-
- findChars() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given int property for objects matching the query.
- findDouble() - Method in class io.objectbox.query.PropertyQuery
-
- findDoubles() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given int property for objects matching the query.
- findFirst() - Method in class io.objectbox.query.Query
-
Find the first Object matching the query.
- findFloat() - Method in class io.objectbox.query.PropertyQuery
-
- findFloats() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given int property for objects matching the query.
- findIds() - Method in class io.objectbox.query.Query
-
Very efficient way to get just the IDs without creating any objects.
- findIds(long, long) - Method in class io.objectbox.query.Query
-
- findInt() - Method in class io.objectbox.query.PropertyQuery
-
- findInts() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given int property for objects matching the query.
- findLazy() - Method in class io.objectbox.query.Query
-
- findLazyCached() - Method in class io.objectbox.query.Query
-
Like
Query.findIds()
, but wraps the Object IDs in an unmodifiable, caching
LazyList
so Objects can be retrieved on demand.
- findLong() - Method in class io.objectbox.query.PropertyQuery
-
- findLongs() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given long property for objects matching the query.
- findPlatform() - Static method in class io.objectbox.sync.internal.Platform
-
- findShort() - Method in class io.objectbox.query.PropertyQuery
-
- findShorts() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given int property for objects matching the query.
- findString() - Method in class io.objectbox.query.PropertyQuery
-
- findStrings() - Method in class io.objectbox.query.PropertyQuery
-
Find the values for the given string property for objects matching the query.
- findUnique() - Method in class io.objectbox.query.Query
-
Find the unique Object matching the query.
- forEach(QueryConsumer<T>) - Method in class io.objectbox.query.Query
-
Emits query results one by one to the given consumer (synchronously).
- fromId(int) - Static method in enum io.objectbox.sync.SyncState
-
- get(long) - Method in class io.objectbox.Box
-
Get the stored object for the given ID.
- get(Iterable<Long>) - Method in class io.objectbox.Box
-
Get the stored objects for the given IDs.
- get(long[]) - Method in class io.objectbox.Box
-
Get the stored objects for the given IDs.
- get(int) - Method in class io.objectbox.query.LazyList
-
Gets and returns the Object at the specified position in this list from its Box.
- get(int) - Method in class io.objectbox.relation.ToMany
-
- getActiveSubscriptionCount() - Method in class io.objectbox.reactive.DataSubscriptionList
-
- getActiveTxCursor(Box<T>) - Static method in class io.objectbox.InternalAccess
-
- getActiveTxCursorHandle(Box<T>) - Static method in class io.objectbox.InternalAccess
-
- getAddCount() - Method in class io.objectbox.relation.ToMany
-
- getAll() - Method in class io.objectbox.Box
-
Returns all stored Objects in this Box.
- getAllEntityClasses() - Method in class io.objectbox.BoxStore
-
- getAllProperties() - Method in interface io.objectbox.EntityInfo
-
- getById(long) - Method in class io.objectbox.relation.ToMany
-
Gets an object by its entity ID.
- getCachedTarget() - Method in class io.objectbox.relation.ToOne
-
- getChangedIds() - Method in class io.objectbox.sync.SyncChange
-
IDs of objects that have been changed; e.g.
- getConnectivityMonitor() - Method in class io.objectbox.sync.internal.Platform
-
- getContext() - Static method in class io.objectbox.BoxStore
-
- getCursorFactory() - Method in interface io.objectbox.EntityInfo
-
- getDbName() - Method in interface io.objectbox.EntityInfo
-
- getDefault() - Static method in class io.objectbox.BoxStore
-
- getEntityClass() - Method in class io.objectbox.Box
-
- getEntityClass() - Method in interface io.objectbox.EntityInfo
-
- getEntityId() - Method in interface io.objectbox.EntityInfo
-
- getEntityId() - Method in class io.objectbox.Property
-
- getEntityInfo() - Method in class io.objectbox.Box
-
- getEntityName() - Method in interface io.objectbox.EntityInfo
-
- getEntityTypeId() - Method in class io.objectbox.sync.SyncChange
-
- getEntityTypeIdOrThrow(Class<?>) - Method in class io.objectbox.BoxStore
-
- getErrorCode() - Method in exception io.objectbox.exception.DbException
-
0 == no error code available
- getHandle(BoxStore) - Static method in class io.objectbox.InternalAccess
-
- getHandle(Cursor) - Static method in class io.objectbox.InternalAccess
-
- getHandle(Transaction) - Static method in class io.objectbox.InternalAccess
-
- getId(T) - Method in class io.objectbox.Box
-
- getId() - Method in class io.objectbox.Property
-
- getIdGetter() - Method in interface io.objectbox.EntityInfo
-
- getIdProperty() - Method in interface io.objectbox.EntityInfo
-
- getLastLoginCode() - Method in interface io.objectbox.sync.SyncClient
-
Response code of last login attempt.
- getLastLoginCode() - Method in class io.objectbox.sync.SyncClientImpl
-
- getListFactory() - Method in class io.objectbox.relation.ToMany
-
- getLoadedCount() - Method in class io.objectbox.query.LazyList
-
- getMap(Iterable<Long>) - Method in class io.objectbox.Box
-
Get the stored objects for the given IDs as a Map with IDs as keys, and entities as values.
- getNativeStore() - Method in class io.objectbox.BoxStore
-
If you want to use the same ObjectBox store using the C API, e.g.
- getObjectBrowserPort() - Method in class io.objectbox.BoxStore
-
- getObserverDelegate() - Method in interface io.objectbox.reactive.DelegatingObserver
-
- getPort() - Method in interface io.objectbox.sync.server.SyncServer
-
Gets the port the server has bound to.
- getPort() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- getReader(Box<T>) - Static method in class io.objectbox.InternalAccess
-
- getReaderDebugInfo() - Method in class io.objectbox.Box
-
- getRelationBacklinkEntities(RelationInfo<T, ?>, long) - Method in class io.objectbox.Box
-
Given a ToMany relation and the ID of a target entity gets all source entities pointing to this target entity,
for example customerBox.getRelationEntities(Customer_.orders, order.getId())
.
- getRelationBacklinkIds(RelationInfo<T, ?>, long) - Method in class io.objectbox.Box
-
- getRelationEntities(RelationInfo<?, T>, long) - Method in class io.objectbox.Box
-
Given a ToMany relation and the ID of a source entity gets the target entities of the relation from their box,
for example orderBox.getRelationEntities(Customer_.orders, customer.getId())
.
- getRelationIds(RelationInfo<?, T>, long) - Method in class io.objectbox.Box
-
- getRelinker() - Static method in class io.objectbox.BoxStore
-
- getRemoveCount() - Method in class io.objectbox.relation.ToMany
-
- getRemovedIds() - Method in class io.objectbox.sync.SyncChange
-
IDs of objects that have been removed.
- getServerUrl() - Method in interface io.objectbox.sync.SyncClient
-
Gets the sync server URL this client is connected to.
- getServerUrl() - Method in class io.objectbox.sync.SyncClientImpl
-
- getStatsString() - Method in interface io.objectbox.sync.server.SyncServer
-
Gets some statistics from the sync server.
- getStatsString() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- getStore() - Method in class io.objectbox.Box
-
- getSyncClient() - Method in class io.objectbox.BoxStore
-
Returns the
SyncClient
associated with this store.
- getSyncState() - Method in class io.objectbox.sync.SyncClientImpl
-
Gets the current state of this sync client.
- getTarget() - Method in class io.objectbox.relation.ToOne
-
- getTarget(long) - Method in class io.objectbox.relation.ToOne
-
If property backed, entities can pass the target ID to avoid reflection.
- getTargetId() - Method in class io.objectbox.relation.ToOne
-
- getTokenBytes() - Method in class io.objectbox.sync.SyncCredentialsToken
-
- getTypeId() - Method in class io.objectbox.sync.SyncCredentialsToken
-
- getUrl() - Method in interface io.objectbox.sync.server.SyncServer
-
Gets the URL the server is running at.
- getUrl() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- getVersion() - Static method in class io.objectbox.BoxStore
-
Gets the Version of ObjectBox Java.
- getVersionNative() - Static method in class io.objectbox.BoxStore
-
Gets the Version of ObjectBox Core.
- getWriter(Box<T>) - Static method in class io.objectbox.InternalAccess
-
- google(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a Google account ID token obtained via
Google Sign-In.
- greater(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
- greater(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
- greater(Property<T>, String) - Method in class io.objectbox.query.QueryBuilder
-
Ignores case when matching results.
- greater(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
- greater(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
- greater(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
- greaterOrEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
- greaterOrEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
- greaterOrEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
- greaterOrEqual(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
- greaterOrEqual(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
- gt(Object) - Method in class io.objectbox.Property
-
Creates an "greater than ('>')" condition for this property.
- id - Variable in class io.objectbox.Property
-
- id - Variable in enum io.objectbox.sync.SyncCredentials.CredentialsType
-
- id - Variable in enum io.objectbox.sync.SyncState
-
- in(Object...) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- in(Collection<?>) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- in(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
-
- in(Property<T>, int[]) - Method in class io.objectbox.query.QueryBuilder
-
- in(Property<T>, String[]) - Method in class io.objectbox.query.QueryBuilder
-
Ignores case when matching results.
- in(Property<T>, String[], QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
- indexOf(Object) - Method in class io.objectbox.query.LazyList
-
- indexOf(Object) - Method in class io.objectbox.relation.ToMany
-
- indexOfId(long) - Method in class io.objectbox.relation.ToMany
-
Gets the index of the object with the given entity ID.
- initialDbFile(File) - Method in class io.objectbox.BoxStoreBuilder
-
Let's you specify an DB file to be used during initial start of the app (no DB file exists yet).
- initialDbFile(Factory<InputStream>) - Method in class io.objectbox.BoxStoreBuilder
-
Let's you specify a provider for a DB file to be used during initial start of the app (no DB file exists yet).
- InternalAccess - Class in io.objectbox
-
- InternalAccess() - Constructor for class io.objectbox.InternalAccess
-
- internalApplyToDb(Cursor<?>, Cursor<TARGET>) - Method in class io.objectbox.relation.ToMany
-
For internal use only; do not use in your app.
- internalCallWithReaderHandle(CallWithHandle<RESULT>) - Method in class io.objectbox.Box
-
- internalCallWithWriterHandle(CallWithHandle<RESULT>) - Method in class io.objectbox.Box
-
- internalCheckApplyToDbRequired() - Method in class io.objectbox.relation.ToMany
-
For internal use only; do not use in your app.
- internalFailedReadTxAttemptCallback() - Method in class io.objectbox.BoxStore
-
- internalGetBacklinkEntities(int, Property<?>, long) - Method in class io.objectbox.Box
-
- internalGetRelationEntities(int, int, long, boolean) - Method in class io.objectbox.Box
-
- internalGetRelationIds(int, int, long, boolean) - Method in class io.objectbox.Box
-
- internalPutTarget(Cursor<TARGET>) - Method in class io.objectbox.relation.ToOne
-
- internalQueryAttempts() - Method in class io.objectbox.BoxStore
-
- internalRequiresPutTarget() - Method in class io.objectbox.relation.ToOne
-
- internalScheduleThread(Runnable) - Method in class io.objectbox.BoxStore
-
- internalThreadPool() - Method in class io.objectbox.BoxStore
-
- io.objectbox - package io.objectbox
-
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
- io.objectbox.converter - package io.objectbox.converter
-
- io.objectbox.exception - package io.objectbox.exception
-
Various exceptions thrown by ObjectBox.
- io.objectbox.query - package io.objectbox.query
-
- io.objectbox.reactive - package io.objectbox.reactive
-
- io.objectbox.relation - package io.objectbox.relation
-
Classes to manage
ToOne
and
ToMany
relations between Entities.
- io.objectbox.sync - package io.objectbox.sync
-
ObjectBox Sync allows to automatically synchronize local data with a sync
destination (e.g.
- io.objectbox.sync.internal - package io.objectbox.sync.internal
-
- io.objectbox.sync.listener - package io.objectbox.sync.listener
-
- io.objectbox.sync.server - package io.objectbox.sync.server
-
- isAvailable() - Static method in class io.objectbox.sync.Sync
-
Returns true if the included native (JNI) ObjectBox library supports Sync.
- isBacklink() - Method in class io.objectbox.relation.RelationInfo
-
- isCanceled() - Method in interface io.objectbox.reactive.DataSubscription
-
Current cancellation state of the subscription.
- isCanceled() - Method in class io.objectbox.reactive.DataSubscriptionList
-
- isClosed() - Method in class io.objectbox.BoxStore
-
- isDatabaseOpen(Object, String) - Static method in class io.objectbox.BoxStore
-
Using an Android Context and an optional database name, as configured with
BoxStoreBuilder.name(String)
,
checks if the associated database files are in use by a BoxStore instance.
- isDatabaseOpen(File, String) - Static method in class io.objectbox.BoxStore
-
- isDatabaseOpen(File) - Static method in class io.objectbox.BoxStore
-
- isDebugRelations() - Method in class io.objectbox.BoxStore
-
- isEmpty() - Method in class io.objectbox.Box
-
Returns true if no objects are in this box.
- isEmpty() - Method in class io.objectbox.query.LazyList
-
- isEmpty() - Method in class io.objectbox.relation.ToMany
-
- isId - Variable in class io.objectbox.Property
-
- isLoadedCompletely() - Method in class io.objectbox.query.LazyList
-
- isLoggedIn() - Method in interface io.objectbox.sync.SyncClient
-
Flag indicating if the sync client was started.
- isLoggedIn() - Method in class io.objectbox.sync.SyncClientImpl
-
- isNotNull() - Method in class io.objectbox.Property
-
Creates an "IS NOT NULL" condition for this property.
- isNull() - Method in class io.objectbox.Property
-
Creates an "IS NULL" condition for this property.
- isNull(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
- isNull() - Method in class io.objectbox.relation.ToOne
-
- isObjectBrowserAvailable() - Static method in class io.objectbox.BoxStore
-
- isObjectBrowserRunning() - Method in class io.objectbox.BoxStore
-
- isReadOnly() - Method in class io.objectbox.BoxStore
-
Whether the store was created using read-only mode.
- isResolved() - Method in class io.objectbox.relation.ToMany
-
- isResolved() - Method in class io.objectbox.relation.ToOne
-
- isResolvedAndNotNull() - Method in class io.objectbox.relation.ToOne
-
- isRunning() - Method in interface io.objectbox.sync.server.SyncServer
-
Returns if the server is up and running.
- isRunning() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- isServerAvailable() - Static method in class io.objectbox.sync.Sync
-
Returns true if the included native (JNI) ObjectBox library supports Sync server.
- isStarted() - Method in interface io.objectbox.sync.SyncClient
-
Flag indicating if the sync client was started.
- isStarted() - Method in class io.objectbox.sync.SyncClientImpl
-
- isSyncAvailable() - Static method in class io.objectbox.BoxStore
-
- isSyncServerAvailable() - Static method in class io.objectbox.BoxStore
-
- isVirtual - Variable in class io.objectbox.Property
-
- iterator() - Method in class io.objectbox.query.LazyList
-
- iterator() - Method in class io.objectbox.relation.ToMany
-
- name(String) - Method in class io.objectbox.BoxStoreBuilder
-
Name of the database, which will be used as a directory for DB files.
- name - Variable in class io.objectbox.Property
-
- name(int) - Static method in class io.objectbox.query.OrderFlags
-
- names - Static variable in class io.objectbox.query.OrderFlags
-
- next() - Method in class io.objectbox.query.LazyList.LazyIterator
-
- nextIndex() - Method in class io.objectbox.query.LazyList.LazyIterator
-
- none() - Static method in class io.objectbox.sync.SyncCredentials
-
No authentication, unsecured.
- NonUniqueResultException - Exception in io.objectbox.exception
-
- NonUniqueResultException(String) - Constructor for exception io.objectbox.exception.NonUniqueResultException
-
- notEq(Object) - Method in class io.objectbox.Property
-
Creates an "not equal ('<>')" condition for this property.
- notEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
- notEqual(Property<T>, boolean) - Method in class io.objectbox.query.QueryBuilder
-
- notEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
- notEqual(Property<T>, String) - Method in class io.objectbox.query.QueryBuilder
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Creates a "not equal ('<>')" condition for this property.
- notifyConnectionAvailable() - Method in class io.objectbox.sync.ConnectivityMonitor
-
Notifies the observer that a connection is available.
- notifyConnectionAvailable() - Method in interface io.objectbox.sync.SyncClient
-
Lets the sync client know that a working network connection
is available.
- notifyConnectionAvailable() - Method in class io.objectbox.sync.SyncClientImpl
-
- notIn(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
-
- notIn(Property<T>, int[]) - Method in class io.objectbox.query.QueryBuilder
-
- notNull(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
- NULLS_LAST - Static variable in class io.objectbox.query.OrderFlags
-
null values will be put last.
- NULLS_LAST - Static variable in class io.objectbox.query.QueryBuilder
-
null values will be put last.
- NULLS_ZERO - Static variable in class io.objectbox.query.OrderFlags
-
null values should be treated equal to zero (scalars only).
- NULLS_ZERO - Static variable in class io.objectbox.query.QueryBuilder
-
null values should be treated equal to zero (scalars only).
- NullToEmptyStringConverter - Class in io.objectbox.converter
-
Used as a converter if a property is annotated with @DefaultValue("")
.
- NullToEmptyStringConverter() - Constructor for class io.objectbox.converter.NullToEmptyStringConverter
-
- nullValue(Object) - Method in class io.objectbox.query.PropertyQuery
-
By default, null values are not returned by find methods (primitive arrays cannot contains nulls).
- NumericOverflowException - Exception in io.objectbox.exception
-
Thrown if a property query aggregate function can not compute a result due to a number type overflowing.
- NumericOverflowException(String) - Constructor for exception io.objectbox.exception.NumericOverflowException
-
- observer(DataObserver<T>) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
The given observer is subscribed to the publisher.
- OK - Static variable in class io.objectbox.sync.SyncLoginCodes
-
- on(Scheduler) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
- onData(T) - Method in interface io.objectbox.reactive.DataObserver
-
Called when data changed.
- onDbException(Exception) - Method in interface io.objectbox.exception.DbExceptionListener
-
Called when an exception is thrown during a database operation.
- onDisconnected() - Method in class io.objectbox.sync.listener.AbstractSyncListener
-
- onDisconnected() - Method in interface io.objectbox.sync.listener.SyncConnectionListener
-
Called when the client is disconnected from the sync server, e.g.
- onError(Throwable) - Method in interface io.objectbox.reactive.ErrorObserver
-
Called when an exception was thrown.
- onError(ErrorObserver) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
- onLoggedIn() - Method in class io.objectbox.sync.listener.AbstractSyncListener
-
- onLoggedIn() - Method in interface io.objectbox.sync.listener.SyncLoginListener
-
Called on a successful login.
- onLoginFailed(long) - Method in class io.objectbox.sync.listener.AbstractSyncListener
-
- onLoginFailed(long) - Method in interface io.objectbox.sync.listener.SyncLoginListener
-
Called on a login failure.
- onlyChanges() - Method in class io.objectbox.reactive.SubscriptionBuilder
-
- onObserverRemoved() - Method in class io.objectbox.sync.ConnectivityMonitor
-
Called right after the observer was removed.
- onObserverSet() - Method in class io.objectbox.sync.ConnectivityMonitor
-
Called right after the observer was set.
- onSyncChanges(SyncChange[]) - Method in class io.objectbox.sync.listener.AbstractSyncListener
-
- onSyncChanges(SyncChange[]) - Method in interface io.objectbox.sync.listener.SyncChangeListener
-
Called each time when data from sync was applied locally.
- onUpdatesCompleted() - Method in class io.objectbox.sync.listener.AbstractSyncListener
-
- onUpdatesCompleted() - Method in interface io.objectbox.sync.listener.SyncCompletedListener
-
Called each time a sync was "completed", in the sense that the client caught up with the current server state.
- or() - Method in class io.objectbox.query.QueryBuilder
-
Combines the previous condition with the following condition with a logical OR.
- order(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
Specifies given property to be used for sorting.
- order(Property<T>, int) - Method in class io.objectbox.query.QueryBuilder
-
Defines the order with which the results are ordered (default: none).
- orderDesc(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
Specifies given property in descending order to be used for sorting.
- OrderFlags - Class in io.objectbox.query
-
Not really an enum, but binary flags to use across languages
- ordinal - Variable in class io.objectbox.Property
-
- readOnly() - Method in class io.objectbox.BoxStoreBuilder
-
Open the store in read-only mode: no schema update, no write transactions are allowed (would throw).
- relationId - Variable in class io.objectbox.relation.RelationInfo
-
For stand-alone to-many relations (0 otherwise).
- RelationInfo<SOURCE,TARGET> - Class in io.objectbox.relation
-
Meta info describing a relation including source and target entity.
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, Property<SOURCE>, ToOneGetter<SOURCE>) - Constructor for class io.objectbox.relation.RelationInfo
-
ToOne
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE>, Property<TARGET>, ToOneGetter<TARGET>) - Constructor for class io.objectbox.relation.RelationInfo
-
ToMany as a ToOne backlink
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE>, ToManyGetter<TARGET>, int) - Constructor for class io.objectbox.relation.RelationInfo
-
ToMany as a ToMany backlink
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE>, int) - Constructor for class io.objectbox.relation.RelationInfo
-
Stand-alone ToMany.
- releaseReader(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
-
- releaseWriter(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
-
- remove(long) - Method in class io.objectbox.Box
-
Removes (deletes) the Object by its ID.
- remove(long...) - Method in class io.objectbox.Box
-
Removes (deletes) Objects by their ID in a single transaction.
- remove(T) - Method in class io.objectbox.Box
-
Removes (deletes) the given Object.
- remove(T...) - Method in class io.objectbox.Box
-
Removes (deletes) the given Objects in a single transaction.
- remove(Collection<T>) - Method in class io.objectbox.Box
-
Removes (deletes) the given Objects in a single transaction.
- remove() - Method in class io.objectbox.query.LazyList.LazyIterator
-
- remove(int) - Method in class io.objectbox.query.LazyList
-
- remove(Object) - Method in class io.objectbox.query.LazyList
-
- remove() - Method in class io.objectbox.query.Query
-
Removes (deletes) all Objects matching the query
- remove(int) - Method in class io.objectbox.relation.ToMany
-
- remove(Object) - Method in class io.objectbox.relation.ToMany
-
- removeAll() - Method in class io.objectbox.Box
-
Removes (deletes) ALL Objects in a single transaction.
- removeAll(Collection<?>) - Method in class io.objectbox.query.LazyList
-
- removeAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
-
- removeAllObjects() - Method in class io.objectbox.BoxStore
-
Removes all objects from all types ("boxes"), e.g.
- removeById(long) - Method in class io.objectbox.relation.ToMany
-
Removes an object by its entity ID.
- removeByIds(Collection<Long>) - Method in class io.objectbox.Box
-
Due to type erasure collision, we cannot simply use "remove" as a method name here.
- removeByKeys(Collection<Long>) - Method in class io.objectbox.Box
-
- REQ_REJECTED - Static variable in class io.objectbox.sync.SyncLoginCodes
-
- requestFullSync() - Method in interface io.objectbox.sync.SyncClient
-
Experimental.
- requestFullSync() - Method in class io.objectbox.sync.SyncClientImpl
-
Temporary only, try not to use it.
- requestFullSyncAndUpdates() - Method in class io.objectbox.sync.SyncClientImpl
-
Temporary only, try not to use it.
- requestUpdates() - Method in interface io.objectbox.sync.SyncClient
-
Asks the sync server to resume sync updates.
- requestUpdates() - Method in class io.objectbox.sync.SyncClientImpl
-
- requestUpdatesMode(SyncBuilder.RequestUpdatesMode) - Method in class io.objectbox.sync.SyncBuilder
-
Configure automatic sync updates from the server.
- requestUpdatesOnce() - Method in interface io.objectbox.sync.SyncClient
-
Asks the server to send sync updates until this sync client is up-to-date, then pauses sync updates again.
- requestUpdatesOnce() - Method in class io.objectbox.sync.SyncClientImpl
-
- reset() - Method in class io.objectbox.query.PropertyQuery
-
Clears all values (e.g.
- reset() - Method in class io.objectbox.relation.ToMany
-
Resets the already loaded entities so they will be re-loaded on their next access.
- retainAll(Collection<?>) - Method in class io.objectbox.query.LazyList
-
- retainAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
-
- run(T) - Method in interface io.objectbox.reactive.RunWithParam
-
- run(RunWithParam, T) - Method in interface io.objectbox.reactive.Scheduler
-
- runInReadTx(Runnable) - Method in class io.objectbox.BoxStore
-
Runs the given runnable inside a read(-only) transaction.
- runInTx(Runnable) - Method in class io.objectbox.BoxStore
-
Runs the given runnable inside a transaction.
- runInTxAsync(Runnable, TxCallback<Void>) - Method in class io.objectbox.BoxStore
-
Runs the given Runnable as a transaction in a separate thread.
- RunWithParam<T> - Interface in io.objectbox.reactive
-
- Scheduler - Interface in io.objectbox.reactive
-
- server(BoxStore, String, SyncCredentials) - Static method in class io.objectbox.sync.Sync
-
Start building a sync server.
- set(E) - Method in class io.objectbox.query.LazyList.LazyIterator
-
- set(int, E) - Method in class io.objectbox.query.LazyList
-
- set(int, TARGET) - Method in class io.objectbox.relation.ToMany
-
- setAndPutTarget(TARGET) - Method in class io.objectbox.relation.ToOne
-
Sets or clears the target entity and ID in the source entity, then puts the source entity to persist changes.
- setAndPutTargetAlways(TARGET) - Method in class io.objectbox.relation.ToOne
-
Sets or clears the target entity and ID in the source entity,
then puts the target (if not null) and source entity to persist changes.
- setComparator(Comparator<TARGET>) - Method in class io.objectbox.relation.ToMany
-
Set an comparator to define the order of entities.
- setDbExceptionListener(DbExceptionListener) - Method in class io.objectbox.BoxStore
-
Sets a listener that will be called when an exception is thrown.
- setListFactory(ListFactory) - Method in class io.objectbox.relation.ToMany
-
Currently only used for non-persisted entities (id == 0).
- setLoginCredentials(SyncCredentials) - Method in interface io.objectbox.sync.SyncClient
-
Updates the login credentials.
- setLoginCredentials(SyncCredentials) - Method in class io.objectbox.sync.SyncClientImpl
-
- setParameter(Property<?>, String) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(String, String) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(Property<?>, long) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(String, long) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(Property<?>, double) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(String, double) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(Property<?>, Date) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(String, Date) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(Property<?>, boolean) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(String, boolean) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value.
- setParameter(Property<?>, byte[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameter(String, byte[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameterFor(Query, Object) - Method in class io.objectbox.query.QueryCondition.PropertyCondition
-
- setParameterFor(Query, Object, Object) - Method in class io.objectbox.query.QueryCondition.PropertyCondition
-
- setParameterFor(Query, Object) - Method in interface io.objectbox.query.QueryCondition
-
- setParameterFor(Query, Object, Object) - Method in interface io.objectbox.query.QueryCondition
-
- setParameters(Property<?>, long, long) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(String, long, long) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(Property<?>, int[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(String, int[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(Property<?>, long[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(String, long[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(Property<?>, double, double) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(String, double, double) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(Property<?>, String[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setParameters(String, String[]) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to new values.
- setRemoveFromTargetBox(boolean) - Method in class io.objectbox.relation.ToMany
-
On put, this also deletes removed entities from the target Box.
- setSyncChangeListener(SyncChangeListener) - Method in interface io.objectbox.sync.server.SyncServer
-
- setSyncChangeListener(SyncChangeListener) - Method in class io.objectbox.sync.server.SyncServerImpl
-
- setSyncChangeListener(SyncChangeListener) - Method in interface io.objectbox.sync.SyncClient
-
- setSyncChangeListener(SyncChangeListener) - Method in class io.objectbox.sync.SyncClientImpl
-
- setSyncClient(BoxStore, SyncClient) - Static method in class io.objectbox.InternalAccess
-
- setSyncCompletedListener(SyncCompletedListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a listener to observe Sync completed events.
- setSyncCompletedListener(SyncCompletedListener) - Method in class io.objectbox.sync.SyncClientImpl
-
- setSyncConnectionListener(SyncConnectionListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a listener to observe Sync connection events.
- setSyncConnectionListener(SyncConnectionListener) - Method in class io.objectbox.sync.SyncClientImpl
-
- setSyncListener(SyncListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a listener to observe all Sync events.
- setSyncListener(SyncListener) - Method in class io.objectbox.sync.SyncClientImpl
-
- setSyncLoginListener(SyncLoginListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a listener to observe login events.
- setSyncLoginListener(SyncLoginListener) - Method in class io.objectbox.sync.SyncClientImpl
-
- setTarget(TARGET) - Method in class io.objectbox.relation.ToOne
-
Sets or clears the target entity and ID in the source entity.
- setTargetId(long) - Method in class io.objectbox.relation.ToOne
-
Sets or clears the target ID in the source entity.
- sharedSecret(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a shared secret.
- sharedSecret(byte[]) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a shared secret.
- single() - Method in class io.objectbox.reactive.SubscriptionBuilder
-
- size() - Method in class io.objectbox.query.LazyList
-
- size() - Method in class io.objectbox.relation.ToMany
-
- sizeOnDisk() - Method in class io.objectbox.BoxStore
-
The size in bytes occupied by the data file on disk.
- sort(Comparator<T>) - Method in class io.objectbox.query.QueryBuilder
-
- sortById() - Method in class io.objectbox.relation.ToMany
-
Sorts the list by the "natural" ObjectBox order for to-many list (by entity ID).
- sourceInfo - Variable in class io.objectbox.relation.RelationInfo
-
- start() - Method in interface io.objectbox.sync.server.SyncServer
-
Starts the server (e.g.
- start() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- start() - Method in interface io.objectbox.sync.SyncClient
-
Starts the client.
- start() - Method in class io.objectbox.sync.SyncClientImpl
-
- startObjectBrowser() - Method in class io.objectbox.BoxStore
-
- startObjectBrowser(int) - Method in class io.objectbox.BoxStore
-
- startObjectBrowser(String) - Method in class io.objectbox.BoxStore
-
- startsWith(String) - Method in class io.objectbox.Property
-
- startsWith(Property<T>, String) - Method in class io.objectbox.query.QueryBuilder
-
Ignores case when matching results.
- startsWith(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
- stop() - Method in interface io.objectbox.sync.server.SyncServer
-
Stops the server.
- stop() - Method in class io.objectbox.sync.server.SyncServerImpl
-
- stop() - Method in interface io.objectbox.sync.SyncClient
-
Stops the client.
- stop() - Method in class io.objectbox.sync.SyncClientImpl
-
- stopObjectBrowser() - Method in class io.objectbox.BoxStore
-
- subList(int, int) - Method in class io.objectbox.query.LazyList
-
- subList(int, int) - Method in class io.objectbox.relation.ToMany
-
The returned sub list does not do any change tracking.
- subscribe() - Method in class io.objectbox.BoxStore
-
A
DataObserver
can be subscribed to data changes using the returned builder.
- subscribe(Class<T>) - Method in class io.objectbox.BoxStore
-
- subscribe() - Method in class io.objectbox.query.Query
-
A
DataObserver
can be subscribed to data changes using the returned builder.
- subscribe(DataSubscriptionList) - Method in class io.objectbox.query.Query
-
- subscribe(DataObserver<T>, Object) - Method in interface io.objectbox.reactive.DataPublisher
-
- SubscriptionBuilder<T> - Class in io.objectbox.reactive
-
- SubscriptionBuilder(DataPublisher<T>, Object, ExecutorService) - Constructor for class io.objectbox.reactive.SubscriptionBuilder
-
- sum() - Method in class io.objectbox.query.PropertyQuery
-
Sums up all values for the given property over all Objects matching the query.
- sumDouble() - Method in class io.objectbox.query.PropertyQuery
-
Sums up all values for the given property over all Objects matching the query.
- Sync - Class in io.objectbox.sync
-
- SyncBuilder - Class in io.objectbox.sync
-
- SyncBuilder(BoxStore, String, SyncCredentials) - Constructor for class io.objectbox.sync.SyncBuilder
-
- SyncBuilder.RequestUpdatesMode - Enum in io.objectbox.sync
-
- SyncChange - Class in io.objectbox.sync
-
A collection of changes made to one entity type during a sync transaction.
- SyncChange(long, long[], long[]) - Constructor for class io.objectbox.sync.SyncChange
-
- SyncChangeListener - Interface in io.objectbox.sync.listener
-
Notifies of fine granular changes on the object level happening during sync.
- SyncClient - Interface in io.objectbox.sync
-
ObjectBox sync client.
- SyncClientImpl - Class in io.objectbox.sync
-
Internal sync client implementation.
- SyncCompletedListener - Interface in io.objectbox.sync.listener
-
Listens to sync completed events.
- SyncConnectionListener - Interface in io.objectbox.sync.listener
-
Listens to sync connection events.
- SyncCredentials - Class in io.objectbox.sync
-
- SyncCredentials.CredentialsType - Enum in io.objectbox.sync
-
- SyncCredentialsToken - Class in io.objectbox.sync
-
Internal credentials implementation.
- SyncListener - Interface in io.objectbox.sync.listener
-
This listener has callback methods invoked by all fundamental synchronization events.
- SyncLoginCodes - Class in io.objectbox.sync
-
- SyncLoginListener - Interface in io.objectbox.sync.listener
-
Listens to login events.
- SyncServer - Interface in io.objectbox.sync.server
-
ObjectBox sync server.
- SyncServerBuilder - Class in io.objectbox.sync.server
-
Creates a
SyncServer
and allows to set additional configuration.
- SyncServerBuilder(BoxStore, String, SyncCredentials) - Constructor for class io.objectbox.sync.server.SyncServerBuilder
-
- SyncServerImpl - Class in io.objectbox.sync.server
-
Internal sync server implementation.
- SyncState - Enum in io.objectbox.sync
-
- targetIdProperty - Variable in class io.objectbox.relation.RelationInfo
-
For relations based on a target ID property (null otherwise).
- targetInfo - Variable in class io.objectbox.relation.RelationInfo
-
- targetRelationId - Variable in class io.objectbox.relation.RelationInfo
-
For ToMany relations based on ToMany backlinks (0 otherwise).
- testUnalignedMemoryAccess() - Static method in class io.objectbox.BoxStore
-
Diagnostics: If this method crashes on a device, please send us the logcat output.
- toArray() - Method in class io.objectbox.query.LazyList
-
- toArray(T[]) - Method in class io.objectbox.query.LazyList
-
- toArray() - Method in class io.objectbox.relation.ToMany
-
- toArray(T[]) - Method in class io.objectbox.relation.ToMany
-
- ToMany<TARGET> - Class in io.objectbox.relation
-
A List representing a to-many relation.
- ToMany(Object, RelationInfo<?, TARGET>) - Constructor for class io.objectbox.relation.ToMany
-
- toManyGetter - Variable in class io.objectbox.relation.RelationInfo
-
Only set for ToMany relations
- ToOne<TARGET> - Class in io.objectbox.relation
-
Manages a to-one relation: resolves the target object, keeps the target Id in sync, etc.
- ToOne(Object, RelationInfo<?, TARGET>) - Constructor for class io.objectbox.relation.ToOne
-
In Java, the constructor call is generated by the ObjectBox plugin.
- toOneGetter - Variable in class io.objectbox.relation.RelationInfo
-
Only set for ToOne relations
- toString() - Method in exception io.objectbox.exception.DbException
-
- toString() - Method in class io.objectbox.Property
-
- toString() - Method in class io.objectbox.relation.RelationInfo
-
- transform(FROM) - Method in interface io.objectbox.reactive.DataTransformer
-
Transforms/processes the given data.
- transform(DataTransformer<T, TO>) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
Transforms the original data from the publisher to something that is more helpful to your application.
- trustedCertificates(String[]) - Method in class io.objectbox.sync.SyncBuilder
-
Configures a custom set of directory or file paths to search for trusted certificates in.
- TX_VIOLATED_UNIQUE - Static variable in class io.objectbox.sync.SyncLoginCodes
-
- TxCallback<T> - Interface in io.objectbox
-
- txFinished(T, Throwable) - Method in interface io.objectbox.TxCallback
-
Called when an asynchronous transaction finished.
- type - Variable in class io.objectbox.Property
-
One of the supported types to be mapped to the DB.
- validate(long, boolean) - Method in class io.objectbox.BoxStore
-
Validate database pages, a lower level storage unit (integrity check).
- validateOnOpen(short) - Method in class io.objectbox.BoxStoreBuilder
-
When a database is opened, ObjectBox can perform additional consistency checks on its database structure.
- validateOnOpenPageLimit(long) - Method in class io.objectbox.BoxStoreBuilder
-
- value - Variable in class io.objectbox.query.QueryCondition.AbstractCondition
-
- valueOf(String) - Static method in enum io.objectbox.query.QueryBuilder.StringOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.objectbox.query.QueryCondition.PropertyCondition.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.objectbox.sync.SyncCredentials.CredentialsType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.objectbox.sync.SyncState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.objectbox.query.QueryBuilder.StringOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values - Variable in class io.objectbox.query.QueryCondition.AbstractCondition
-
- values() - Static method in enum io.objectbox.query.QueryCondition.PropertyCondition.Operation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.objectbox.sync.SyncCredentials.CredentialsType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.objectbox.sync.SyncState
-
Returns an array containing the constants of this enum type, in
the order they are declared.