Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractSyncListener - Class in io.objectbox.sync.listener
-
A
SyncListener
with empty implementations of all interface methods. - AbstractSyncListener() - Constructor for class io.objectbox.sync.listener.AbstractSyncListener
- accept(T) - Method in interface io.objectbox.query.QueryConsumer
- add(int, E) - Method in class io.objectbox.query.LazyList
- add(int, TARGET) - Method in class io.objectbox.relation.ToMany
-
See
ToMany.add(Object)
for general comments. - add(E) - Method in class io.objectbox.query.LazyList
- add(E) - Method in class io.objectbox.query.LazyList.LazyIterator
- add(DataSubscription) - Method in class io.objectbox.reactive.DataSubscriptionList
-
Add the given subscription to the list of tracked subscriptions.
- add(TARGET) - Method in class io.objectbox.relation.ToMany
-
Prepares to add the given target object to this relation.
- addAdminThreads(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addAdminUrl(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addAll(int, Collection<? extends E>) - Method in class io.objectbox.query.LazyList
- addAll(int, Collection<? extends TARGET>) - Method in class io.objectbox.relation.ToMany
-
See
ToMany.add(Object)
for general comments. - addAll(Collection<? extends E>) - Method in class io.objectbox.query.LazyList
- addAll(Collection<? extends TARGET>) - Method in class io.objectbox.relation.ToMany
-
See
ToMany.add(Object)
for general comments. - addAuthenticationMethods(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addBackupFile(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addBackupRestoreFlags(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addBoolean(boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `boolean` to the buffer, properly aligned, and grows the buffer (if necessary).
- addBoolean(int, boolean, boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `boolean` to a table at `o` into its vtable, with value `x` and default `d`.
- addByte(byte) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `byte` to the buffer, properly aligned, and grows the buffer (if necessary).
- addByte(int, byte, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `byte` to a table at `o` into its vtable, with value `x` and default `d`.
- addBytes(long, byte[], boolean) - Method in interface io.objectbox.sync.ObjectsMessageBuilder
- addBytes(long, byte[], boolean) - Method in class io.objectbox.sync.SyncClientImpl.ObjectsMessageBuilderImpl
- addBytes(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.Credentials
- addCertificatePath(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addClaimAud(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.JwtConfig
- addClaimIss(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.JwtConfig
- addClusterFlags(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addClusterId(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addClusterPeers(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addCredentials(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- addDebugFlags(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addDirectoryPath(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addDouble(double) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `double` to the buffer, properly aligned, and grows the buffer (if necessary).
- addDouble(int, double, double) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `double` to a table at `o` into its vtable, with value `x` and default `d`.
- addFileMode(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addFloat(float) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `float` to the buffer, properly aligned, and grows the buffer (if necessary).
- addFloat(int, float, double) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `float` to a table at `o` into its vtable, with value `x` and default `d`.
- addHistorySizeMaxKb(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addHistorySizeTargetKb(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addInt(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add an `int` to the buffer, properly aligned, and grows the buffer (if necessary).
- addInt(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add an `int` to a table at `o` into its vtable, with value `x` and default `d`.
- addJwtConfig(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addLong(int, long, long) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `long` to a table at `o` into its vtable, with value `x` and default `d`.
- addLong(long) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `long` to the buffer, properly aligned, and grows the buffer (if necessary).
- addMaxDataSizeInKbyte(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addMaxDbSizeInKbyte(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addMaxReaders(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addModelBytes(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addNoReaderThreadLocals(FlatBufferBuilder, boolean) - Static method in class io.objectbox.config.FlatStoreOptions
- addOffset(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Adds on offset, relative to where it will be written.
- addOffset(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add an `offset` to a table at `o` into its vtable, with value `x` and default `d`.
- addPublicKey(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.JwtConfig
- addPublicKeyCacheExpirationSeconds(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.JwtConfig
- addPublicKeyUrl(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.JwtConfig
- addPutPaddingMode(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addReadOnly(FlatBufferBuilder, boolean) - Static method in class io.objectbox.config.FlatStoreOptions
- addRequiredCredentials(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addShort(int, short, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `short` to a table at `o` into its vtable, with value `x` and default `d`.
- addShort(short) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `short` to the buffer, properly aligned, and grows the buffer (if necessary).
- addSkipReadSchema(FlatBufferBuilder, boolean) - Static method in class io.objectbox.config.FlatStoreOptions
- addString(long, String) - Method in interface io.objectbox.sync.ObjectsMessageBuilder
- addString(long, String) - Method in class io.objectbox.sync.SyncClientImpl.ObjectsMessageBuilderImpl
- addStrings(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.Credentials
- addStruct(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a struct to the table.
- addSyncFlags(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addSyncServerFlags(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addType(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.Credentials
- addUrl(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- addUrl(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- addUsePreviousCommit(FlatBufferBuilder, boolean) - Static method in class io.objectbox.config.FlatStoreOptions
- addUsePreviousCommitOnValidationFailure(FlatBufferBuilder, boolean) - Static method in class io.objectbox.config.FlatStoreOptions
- addValidateOnOpenKv(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addValidateOnOpenPageLimit(FlatBufferBuilder, long) - Static method in class io.objectbox.config.FlatStoreOptions
- addValidateOnOpenPages(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- addWorkerThreads(FlatBufferBuilder, long) - Static method in class io.objectbox.sync.server.SyncServerOptions
- AdminDisabled - Static variable in class io.objectbox.sync.server.SyncServerFlags
-
By default, the Admin server is enabled; this flag disables it.
- adminThreads() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Number of worker threads used by the Admin web server.
- adminUrl() - Method in class io.objectbox.sync.server.SyncServerOptions
-
URL of the Admin (web server) to bind to.
- adminUrlAsByteBuffer() - Method in class io.objectbox.sync.server.SyncServerOptions
- adminUrlInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- alias(String) - Method in interface io.objectbox.query.PropertyQueryCondition
-
Assigns an alias to this condition that can later be used with the
Query
setParameter methods. - alias(String) - Method in class io.objectbox.query.PropertyQueryConditionImpl
- AllBranches - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
Performs a unlimited number of checks on the most important database structures (e.g.
- AllowNonUniqueNodes - Static variable in class io.objectbox.config.TreeOptionFlags
-
In some scenarios, e.g.
- and() - Method in class io.objectbox.query.QueryBuilder
-
And AND changes how conditions are combined using a following OR.
- and(QueryCondition<T>) - Method in interface io.objectbox.query.QueryCondition
-
Combines this condition using AND with the given condition.
- and(QueryCondition<T>) - Method in class io.objectbox.query.PropertyQueryConditionImpl
- androidContext(Object) - Method in class io.objectbox.BoxStoreBuilder
-
Use on Android to pass a Context for loading the native library and, if not an
BoxStoreBuilder.inMemory(String)
database, for creating the base directory for database files in the files directory of the app. - androidReLinker(Object) - Method in class io.objectbox.BoxStoreBuilder
-
Pass a custom ReLinkerInstance, for example
ReLinker.log(logger)
to use for loading the native library on Android devices. - apply(QueryBuilder<T>) - Method in class io.objectbox.query.PropertyQueryConditionImpl
- apply(QueryCondition<T>) - Method in class io.objectbox.query.QueryBuilder
-
Applies the given query conditions and returns the builder for further customization, such as result order.
- applyChangesToDb() - Method in class io.objectbox.relation.ToMany
-
Saves changes (added and removed objects) made to this relation to the database.
- ArrayListFactory() - Constructor for class io.objectbox.relation.ListFactory.ArrayListFactory
- ArrayReadWriteBuf - Class in io.objectbox.flatbuffers
-
Implements
ReadBuf
using an array of bytes as a backing storage. - ArrayReadWriteBuf() - Constructor for class io.objectbox.flatbuffers.ArrayReadWriteBuf
- ArrayReadWriteBuf(byte[]) - Constructor for class io.objectbox.flatbuffers.ArrayReadWriteBuf
- ArrayReadWriteBuf(byte[], int) - Constructor for class io.objectbox.flatbuffers.ArrayReadWriteBuf
- ArrayReadWriteBuf(int) - Constructor for class io.objectbox.flatbuffers.ArrayReadWriteBuf
- asBlob() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a
FlexBuffers.Blob
- asBoolean() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a boolean
- asDouble() - Method in class io.objectbox.tree.Leaf
- asFloat() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as 64-bit integer.
- asInt() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as 32-bit integer.
- asInt() - Method in class io.objectbox.tree.Leaf
- asKey() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a
FlexBuffers.Key
- asLong() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as 64-bit integer.
- asMap() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a
FlexBuffers.Map
- asString() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a `String`
- asString() - Method in class io.objectbox.tree.Leaf
- asStringArray() - Method in class io.objectbox.tree.Leaf
- asUInt() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as unsigned 64-bit integer.
- asVector() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns element as a
FlexBuffers.Vector
- attach(T) - Method in class io.objectbox.Box
-
Attaches the given object to this.
- AUTH_UNREACHABLE - Static variable in class io.objectbox.sync.SyncLoginCodes
- authenticationMethods(int) - Method in class io.objectbox.sync.server.SyncServerOptions
-
A list of enabled authentication methods available to Sync Clients to login.
- authenticationMethods(Credentials, int) - Method in class io.objectbox.sync.server.SyncServerOptions
- authenticationMethodsLength() - Method in class io.objectbox.sync.server.SyncServerOptions
- authenticationMethodsVector() - Method in class io.objectbox.sync.server.SyncServerOptions
- authenticationMethodsVector(Credentials.Vector) - Method in class io.objectbox.sync.server.SyncServerOptions
- AuthenticationNoneLogInfo - Static variable in class io.objectbox.sync.server.SyncServerFlags
-
By default, if the Sync Server allows logins without credentials, it logs a warning message.
- authenticatorCredentials(SyncCredentials) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Adds additional authenticator credentials to authenticate clients or peers with.
- AUTO - Enum constant in enum class io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Once logged in, requests sync updates automatically including subsequent pushes for data changes.
- AUTO_NO_PUSHES - Enum constant in enum class io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Once logged in, requests updates automatically once without subsequent pushes for data changes.
- AutoConsolidateNonUniqueNodes - Static variable in class io.objectbox.config.TreeOptionFlags
-
Nodes described in AllowNonUniqueNodes will be automatically consolidated to make them unique.
- avg() - Method in class io.objectbox.query.PropertyQuery
-
Calculates the average of all values for the given number property over all Objects matching the query.
- avgLong() - Method in class io.objectbox.query.PropertyQuery
-
Calculates the average of all values for the given integer property over all Objects matching the query.
- awaitFirstLogin(long) - Method in interface io.objectbox.sync.SyncClient
-
Waits until the sync client receives a response to its first (connection and) login attempt or until the given time has expired.
- awaitFirstLogin(long) - Method in class io.objectbox.sync.SyncClientImpl
B
- backlink(RelationInfo<TARGET, ?>) - Method in class io.objectbox.query.QueryBuilder
-
Creates a backlink (reversed link) to another entity, for which you also can describe conditions using the returned builder.
- backlinkToManyGetter - Variable in class io.objectbox.relation.RelationInfo
-
For ToMany relations based on ToMany backlinks (null otherwise).
- backlinkToOneGetter - Variable in class io.objectbox.relation.RelationInfo
-
For ToMany relations based on ToOne backlinks (null otherwise).
- backupFile() - Method in class io.objectbox.config.FlatStoreOptions
-
Restores the database content from the given backup file (note: backup is a server-only feature).
- backupFileAsByteBuffer() - Method in class io.objectbox.config.FlatStoreOptions
- backupFileInByteBuffer(ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions
- backupRestoreFlags() - Method in class io.objectbox.config.FlatStoreOptions
-
Flags to change the default behavior for restoring backups, e.g.
- BAD_VERSION - Static variable in class io.objectbox.sync.SyncLoginCodes
- baseDirectory(File) - Method in class io.objectbox.BoxStoreBuilder
-
In combination with
BoxStoreBuilder.name(String)
, this lets you specify the location of where the DB files should be stored. - BaseVector - Class in io.objectbox.flatbuffers
-
All vector access objects derive from this class, and add their own accessors.
- BaseVector() - Constructor for class io.objectbox.flatbuffers.BaseVector
- bb - Variable in class io.objectbox.flatbuffers.BaseVector
-
The underlying ByteBuffer to hold the data of the vector.
- bb - Variable in class io.objectbox.flatbuffers.Struct
-
The underlying ByteBuffer to hold the data of the Struct.
- bb - Variable in class io.objectbox.flatbuffers.Table
-
The underlying ByteBuffer to hold the data of the Table.
- bb_pos - Variable in class io.objectbox.flatbuffers.Struct
-
Used to hold the position of the `bb` buffer.
- bb_pos - Variable in class io.objectbox.flatbuffers.Table
-
Used to hold the position of the `bb` buffer.
- beginReadTx() - Method in class io.objectbox.BoxStore
-
Internal, low level method: use
BoxStore.runInReadTx(Runnable)
instead. - beginTx() - Method in class io.objectbox.BoxStore
-
Internal, low level method: use
BoxStore.runInTx(Runnable)
instead. - between(double, double) - Method in class io.objectbox.Property
-
Creates a "BETWEEN ...
- between(int, int) - Method in class io.objectbox.Property
-
Creates a "BETWEEN ...
- between(long, long) - Method in class io.objectbox.Property
-
Creates a "BETWEEN ...
- between(short, short) - Method in class io.objectbox.Property
-
Creates a "BETWEEN ...
- between(Property<T>, double, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - between(Property<T>, long, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - between(Property<T>, Date, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - between(Date, Date) - Method in class io.objectbox.Property
-
Creates a "BETWEEN ...
- BETWEEN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
- BETWEEN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition.Operation
- BooleanVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of booleans.
- BooleanVector() - Constructor for class io.objectbox.flatbuffers.BooleanVector
- Box<T> - Class in io.objectbox
-
A Box to put and get Objects of a specific Entity class.
- boxFor(Class<T>) - Method in class io.objectbox.BoxStore
-
Returns a Box for the given type.
- BoxStore - Class in io.objectbox
-
An ObjectBox database that provides
Boxes
to put and get objects of specific entity classes (seeBoxStore.boxFor(Class)
). - BoxStoreBuilder - Class in io.objectbox
-
Configures and builds a
BoxStore
with reasonable defaults. - BoxStoreBuilder(byte[]) - Constructor for class io.objectbox.BoxStoreBuilder
-
Called internally from the generated class "MyObjectBox".
- branch(String) - Method in class io.objectbox.tree.Branch
-
Get the branch following the given path of child branches from this branch.
- branch(String[]) - Method in class io.objectbox.tree.Branch
-
Get the branch following the given path of child branches from this branch.
- Branch - Class in io.objectbox.tree
-
A branch within a
Tree
. - branchChild(String) - Method in class io.objectbox.tree.Branch
-
Get the child branch directly attached to this branch with the given name.
- branchId - Variable in class io.objectbox.tree.LeafNode
- BreakForEach - Exception in io.objectbox.query
-
You can throw this inside a
QueryConsumer
to signalQuery.forEach(QueryConsumer)
should "break". - BreakForEach() - Constructor for exception io.objectbox.query.BreakForEach
- build() - Method in class io.objectbox.BoxStoreBuilder
-
Builds a
BoxStore
using the current configuration of this builder. - build() - Method in class io.objectbox.query.QueryBuilder
-
Builds the query and closes this QueryBuilder.
- build() - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Builds and returns a Sync server ready to
SyncServer.start()
. - build() - Method in class io.objectbox.sync.SyncBuilder
-
Builds and returns a Sync client ready to
SyncClient.start()
. - buildAndStart() - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Builds,
starts
and returns a Sync server. - buildAndStart() - Method in class io.objectbox.sync.SyncBuilder
-
Builds,
starts
and returns a Sync client. - buildAndStart() - Method in class io.objectbox.sync.SyncHybridBuilder
-
Builds, starts and returns the hybrid.
- buildDefault() - Method in class io.objectbox.BoxStoreBuilder
-
Builds the default
BoxStore
instance, which can be acquired usingBoxStore.getDefault()
. - BUILDER_FLAG_NONE - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
No keys or strings will be shared
- BUILDER_FLAG_SHARE_ALL - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Reserved for the future.
- BUILDER_FLAG_SHARE_KEY_VECTORS - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Reserved for the future.
- BUILDER_FLAG_SHARE_KEYS - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Keys will be shared between elements.
- BUILDER_FLAG_SHARE_KEYS_AND_STRINGS - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Strings and keys will be shared between elements.
- BUILDER_FLAG_SHARE_STRINGS - Static variable in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Strings will be shared between elements.
- ByteArrayCondition(Property<T>, PropertyQueryConditionImpl.ByteArrayCondition.Operation, byte[]) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition
- ByteBufferFactory() - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder.ByteBufferFactory
- ByteBufferReadWriteBuf - Class in io.objectbox.flatbuffers
- ByteBufferReadWriteBuf(ByteBuffer) - Constructor for class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- ByteBufferUtil - Class in io.objectbox.flatbuffers
-
Class that collects utility functions around `ByteBuffer`.
- ByteBufferUtil() - Constructor for class io.objectbox.flatbuffers.ByteBufferUtil
- bytes(int) - Method in class io.objectbox.sync.Credentials
-
Credentials provided by plain bytes.
- bytesAsByteBuffer() - Method in class io.objectbox.sync.Credentials
- bytesInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.Credentials
- bytesLength() - Method in class io.objectbox.sync.Credentials
- bytesVector() - Method in class io.objectbox.sync.Credentials
- bytesVector(ByteVector) - Method in class io.objectbox.sync.Credentials
- ByteVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of signed or unsigned 8-bit values.
- ByteVector() - Constructor for class io.objectbox.flatbuffers.ByteVector
C
- callInReadTx(Callable<T>) - Method in class io.objectbox.BoxStore
-
Calls the given callable inside a read(-only) transaction.
- callInReadTx(Callable<T>) - Method in class io.objectbox.tree.Tree
-
Similar to
BoxStore.callInReadTx(Callable)
, but allows Tree functions. - callInReadTxWithRetry(Callable<T>, int, int, boolean) - Method in class io.objectbox.BoxStore
-
Calls
BoxStore.callInReadTx(Callable)
and retries in case a DbException is thrown. - callInTx(Callable<R>) - Method in class io.objectbox.BoxStore
-
Like
BoxStore.runInTx(Runnable)
, but allows returning a value and throwing an exception. - callInTx(Callable<T>) - Method in class io.objectbox.tree.Tree
-
Similar to
BoxStore.callInReadTx(Callable)
, but allows Tree functions. - 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
-
Like
BoxStore.callInTx(Callable)
, but throws no Exception. - callInTxNoThrow(Callable<T>) - Method in class io.objectbox.tree.Tree
-
Wraps any Exception thrown by the callable into a RuntimeException.
- 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_INSENSITIVE - Enum constant in enum class io.objectbox.query.QueryBuilder.StringOrder
-
Ignores case of ASCII characters when matching results, e.g.
- CASE_SENSITIVE - Enum constant in enum class io.objectbox.query.QueryBuilder.StringOrder
-
Checks case of ASCII characters when matching results, e.g.
- 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() - Method in class io.objectbox.sync.server.SyncServerOptions
-
The SSL certificate directory; SSL will be enabled if not empty.
- certificatePath(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the path to a directory that contains a cert.pem and key.pem file to use to establish encrypted connections.
- certificatePathAsByteBuffer() - Method in class io.objectbox.sync.server.SyncServerOptions
- certificatePathInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- 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
- checkMapKeyType(Object) - Method in class io.objectbox.converter.FlexObjectConverter
-
Checks Java map key is of the expected type, otherwise throws.
- checkMapKeyType(Object) - Method in class io.objectbox.converter.IntegerFlexMapConverter
- checkMapKeyType(Object) - Method in class io.objectbox.converter.LongFlexMapConverter
- claimAud() - Method in class io.objectbox.sync.server.JwtConfig
-
JWT claim "aud" (audience) used to verify JWT tokens.
- claimAudAsByteBuffer() - Method in class io.objectbox.sync.server.JwtConfig
- claimAudInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- claimIss() - Method in class io.objectbox.sync.server.JwtConfig
-
JWT claim "iss" (issuer) used to verify JWT tokens.
- claimIssAsByteBuffer() - Method in class io.objectbox.sync.server.JwtConfig
- claimIssInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- cleanStaleReadTransactions() - Method in class io.objectbox.BoxStore
- clear() - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- clear() - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- clear() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Reset the FlatBufferBuilder by purging all data that it holds.
- clear() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Reset the FlexBuffersBuilder by purging all data that it holds.
- clear() - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Clears (resets) the buffer so that it can be reused.
- 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
-
Starts building a
SyncClient
. - client(BoxStore, String, SyncCredentials[]) - Static method in class io.objectbox.sync.Sync
-
Like
Sync.client(BoxStore, String, SyncCredentials)
, but supports passing a set of authentication methods. - CLIENT_ID_TAKEN - Static variable in class io.objectbox.sync.SyncLoginCodes
- clientBuilder() - Method in class io.objectbox.sync.SyncHybridBuilder
-
Returns the builder of the client of the hybrid for additional configuration.
- ClientKeepDataOnSyncError - Static variable in class io.objectbox.sync.SyncFlags
-
If the client gets in a state that does not allow any further synchronization, this flag instructs Sync to keep local data nevertheless.
- clone(BoxStoreBuilder, String) - Static method in class io.objectbox.InternalAccess
- close() - Method in class io.objectbox.BoxStore
-
Closes this BoxStore and releases associated resources.
- close() - Method in class io.objectbox.query.Query
-
Closes this query and frees used resources.
- close() - Method in class io.objectbox.query.QueryBuilder
-
Close this query builder and free used resources.
- 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
- close() - Method in class io.objectbox.sync.SyncHybrid
-
Closes and cleans up all resources used by this Sync hybrid.
- close() - Method in class io.objectbox.tree.Tree
-
Cleans up any (native) resources associated with this tree.
- closeThreadResources() - Method in class io.objectbox.Box
-
Like
BoxStore.closeThreadResources()
, but limited to only this Box. - closeThreadResources() - Method in class io.objectbox.BoxStore
-
Frees any cached resources tied to the calling thread (e.g.
- clusterFlags() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Bit flags to configure the cluster behavior of this sync server (aka cluster peer).
- clusterFlags(int) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets bit flags to configure the cluster behavior of the Sync server (aka cluster peer).
- ClusterFlags - Class in io.objectbox.sync.server
-
Special bit flags used in cluster mode only.
- clusterId() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Enables cluster mode (requires the Cluster feature) and associates this cluster peer with the given ID.
- clusterId(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Enables cluster mode (requires the Cluster feature) and associates this cluster peer with the given ID.
- clusterIdAsByteBuffer() - Method in class io.objectbox.sync.server.SyncServerOptions
- clusterIdInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- clusterPeer(String, SyncCredentials) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Adds a (remote) cluster peer, to which this server should connect to as a client using the given credentials.
- ClusterPeerConfig - Class in io.objectbox.sync.server
-
Configuration to connect to another (remote) cluster peer.
- ClusterPeerConfig() - Constructor for class io.objectbox.sync.server.ClusterPeerConfig
- ClusterPeerConfig.Vector - Class in io.objectbox.sync.server
- clusterPeers(int) - Method in class io.objectbox.sync.server.SyncServerOptions
-
List of other (remote) cluster peers to connect to.
- clusterPeers(ClusterPeerConfig, int) - Method in class io.objectbox.sync.server.SyncServerOptions
- clusterPeersLength() - Method in class io.objectbox.sync.server.SyncServerOptions
- clusterPeersVector() - Method in class io.objectbox.sync.server.SyncServerOptions
- clusterPeersVector(ClusterPeerConfig.Vector) - Method in class io.objectbox.sync.server.SyncServerOptions
- commitWriter(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
- compareStrings(int, byte[], ByteBuffer) - Static method in class io.objectbox.flatbuffers.Table
-
Compare string from the buffer with the 'String' object.
- compareStrings(int, int, ByteBuffer) - Static method in class io.objectbox.flatbuffers.Table
-
Compare two strings in the buffer.
- completedListener(SyncCompletedListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to only observe Sync completed events.
- CONNECTED - Enum constant in enum class io.objectbox.sync.SyncState
- 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
- Constants - Class in io.objectbox.flatbuffers
-
Class that holds shared constants
- Constants() - Constructor for class io.objectbox.flatbuffers.Constants
- 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(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - contains(Object) - Method in class io.objectbox.query.LazyList
- contains(Object) - Method in class io.objectbox.relation.ToMany
- contains(String) - Method in class io.objectbox.Property
-
Creates a contains condition for this property using
StringOrder#CASE_SENSITIVE
. - contains(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
- CONTAINS - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- CONTAINS_ELEMENT - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- containsAll(Collection<?>) - Method in class io.objectbox.query.LazyList
- containsAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
- containsElement(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - containsElement(String) - Method in class io.objectbox.Property
-
For a String array, list or String-key map property, matches if at least one element equals the given value using
StringOrder#CASE_SENSITIVE
. - containsElement(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
- containsKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Deprecated.
- containsKeyValue(String, String) - Method in class io.objectbox.Property
-
Deprecated.Use the
Property.equalKeyValue(String, String, StringOrder)
condition instead. - containsKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Deprecated.Use the
Property.equalKeyValue(String, String, StringOrder)
condition instead. - converterClass - Variable in class io.objectbox.Property
- convertToDatabaseValue(Object) - Method in class io.objectbox.converter.FlexObjectConverter
- convertToDatabaseValue(String) - Method in class io.objectbox.converter.NullToEmptyStringConverter
- convertToDatabaseValue(Map<String, String>) - Method in class io.objectbox.converter.StringMapConverter
- convertToEntityProperty(byte[]) - Method in class io.objectbox.converter.FlexObjectConverter
- convertToEntityProperty(byte[]) - Method in class io.objectbox.converter.StringMapConverter
- convertToEntityProperty(String) - Method in class io.objectbox.converter.NullToEmptyStringConverter
- copy() - Method in class io.objectbox.query.Query
-
Creates a copy of this for use in another thread.
- 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() - 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.
- 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.
- createAuthenticationMethodsVector(FlatBufferBuilder, int[]) - Static method in class io.objectbox.sync.server.SyncServerOptions
- createBytesVector(FlatBufferBuilder, byte[]) - Static method in class io.objectbox.sync.Credentials
- createBytesVector(FlatBufferBuilder, ByteBuffer) - Static method in class io.objectbox.sync.Credentials
- createByteVector(byte[]) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a byte array in the buffer.
- createByteVector(byte[], int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a byte array in the buffer.
- createByteVector(ByteBuffer) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a byte array in the buffer.
- createClusterPeerConfig(FlatBufferBuilder, int, int) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- createClusterPeersVector(FlatBufferBuilder, int[]) - Static method in class io.objectbox.sync.server.SyncServerOptions
- createCredentials(FlatBufferBuilder, long, int, int) - Static method in class io.objectbox.sync.Credentials
- CREATED - Enum constant in enum class io.objectbox.sync.SyncState
- createDebugWithoutModel() - Static method in class io.objectbox.BoxStoreBuilder
-
Not for application use, for DebugCursor.
- createFlatStoreOptions(FlatBufferBuilder, int, int, long, long, long, int, long, int, boolean, boolean, boolean, boolean, long, boolean, long, int, int, long) - Static method in class io.objectbox.config.FlatStoreOptions
- createJwtConfig(FlatBufferBuilder, int, int, long, int, int) - Static method in class io.objectbox.sync.server.JwtConfig
- 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
- createModelBytesVector(FlatBufferBuilder, byte[]) - Static method in class io.objectbox.config.FlatStoreOptions
- createModelBytesVector(FlatBufferBuilder, ByteBuffer) - Static method in class io.objectbox.config.FlatStoreOptions
- createRequiredCredentialsVector(FlatBufferBuilder, long[]) - Static method in class io.objectbox.sync.server.SyncServerOptions
- createSharedString(String) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Encode the String `s` in the buffer using UTF-8.
- createSortedVectorOfTables(T, int[]) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a vector of sorted by the key tables.
- createString(CharSequence) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Encode the string `s` in the buffer using UTF-8.
- createString(ByteBuffer) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a string in the buffer from an already encoded UTF-8 string in a ByteBuffer.
- createStringsVector(FlatBufferBuilder, int[]) - Static method in class io.objectbox.sync.Credentials
- createSyncServerOptions(FlatBufferBuilder, int, int, long, long, int, long, long, long, int, long, int, int, long, int, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- createUnintializedVector(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a new array/vector and return a ByteBuffer to be filled later.
- createVectorOfTables(int[]) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Create a vector of tables.
- credentials() - Method in class io.objectbox.sync.server.ClusterPeerConfig
- credentials(Credentials) - Method in class io.objectbox.sync.server.ClusterPeerConfig
- Credentials - Class in io.objectbox.sync
-
Credentials consist of a type and the credentials data to perform authentication checks.
- Credentials() - Constructor for class io.objectbox.sync.Credentials
- CREDENTIALS_REJECTED - Static variable in class io.objectbox.sync.SyncLoginCodes
- Credentials.Vector - Class in io.objectbox.sync
- CredentialsType - Class in io.objectbox.sync
-
Credentials types for login at a sync server.
- customType - Variable in class io.objectbox.Property
-
Type, which is converted to a type supported by the DB.
D
- data() - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- data() - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- data() - Method in class io.objectbox.flatbuffers.FlexBuffers.Blob
-
Return
FlexBuffers.Blob
as `ReadBuf` - data() - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Expose ReadBuf as an array of bytes.
- dataBuffer() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Get the ByteBuffer representing the FlatBuffer.
- 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
-
The result of subscribing an @
DataObserver
using @SubscriptionBuilder.observer(DataObserver)
. - dataSubscriptionList(DataSubscriptionList) - Method in class io.objectbox.reactive.SubscriptionBuilder
- DataSubscriptionList - Class in io.objectbox.reactive
-
Tracks any number of
DataSubscription
objects, which can be canceled with a singleDataSubscriptionList.cancel()
call. - DataSubscriptionList() - Constructor for class io.objectbox.reactive.DataSubscriptionList
- 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, int) - Constructor for exception io.objectbox.exception.DbException
- DbException(String, Throwable) - 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
-
Thrown when applying a database operation would exceed the (default)
maxSizeInKByte
configured for the Store. - DbFullException(String) - Constructor for exception io.objectbox.exception.DbFullException
- DbFullException(String, int) - Constructor for exception io.objectbox.exception.DbFullException
- DbMaxDataSizeExceededException - Exception in io.objectbox.exception
-
Thrown when applying a transaction would exceed the
maxDataSizeInKByte
configured for the store. - DbMaxDataSizeExceededException(String) - Constructor for exception io.objectbox.exception.DbMaxDataSizeExceededException
- 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
-
Thrown when there is an error with the data schema (data model).
- DbSchemaException(String) - Constructor for exception io.objectbox.exception.DbSchemaException
- DbShutdownException - Exception in io.objectbox.exception
-
Thrown when an error occurred that requires the store to be closed.
- DbShutdownException(String) - Constructor for exception io.objectbox.exception.DbShutdownException
- DbShutdownException(String, int) - Constructor for exception io.objectbox.exception.DbShutdownException
- DEAD - Enum constant in enum class io.objectbox.sync.SyncState
- debugFlags() - Method in class io.objectbox.config.FlatStoreOptions
-
For debugging purposes you may want enable specific logging.
- debugFlags(int) - Method in class io.objectbox.BoxStoreBuilder
-
Debug flags typically enable additional logging, see
DebugFlags
for valid values. - DebugFlags - Class in io.objectbox.config
-
Debug flags typically enable additional "debug logging" that can be helpful to better understand what is going on internally.
- DebugFlags - Class in io.objectbox
-
Deprecated.DebugFlags moved to config package: use
DebugFlags
instead. - DebugLogIdMapping - Static variable in class io.objectbox.sync.SyncFlags
-
Enable (rather extensive) logging on how IDs are mapped (local <-> global)
- DebugLogsDisable - Static variable in class io.objectbox.config.TreeOptionFlags
-
If true, debug logs are always disabled for this tree regardless of the store's debug flags.
- DebugLogsEnable - Static variable in class io.objectbox.config.TreeOptionFlags
-
If true, debug logs are always enabled for this tree regardless of the store's debug flags.
- debugRelations() - Method in class io.objectbox.BoxStoreBuilder
-
Enables some debug logging for relations.
- debugTransactions() - Method in class io.objectbox.BoxStoreBuilder
-
Deprecated.Use
BoxStoreBuilder.debugFlags
instead. - decodeUtf8(ByteBuffer, int, int) - Method in class io.objectbox.flatbuffers.Utf8
-
Decodes the given UTF-8 portion of the
ByteBuffer
into aString
. - decodeUtf8(ByteBuffer, int, int) - Method in class io.objectbox.flatbuffers.Utf8Old
- decodeUtf8(ByteBuffer, int, int) - Method in class io.objectbox.flatbuffers.Utf8Safe
-
Decodes the given UTF-8 portion of the
ByteBuffer
into aString
. - decodeUtf8Array(byte[], int, int) - Static method in class io.objectbox.flatbuffers.Utf8Safe
- decodeUtf8Buffer(ByteBuffer, int, int) - Static method in class io.objectbox.flatbuffers.Utf8Safe
- DEFAULT_MAX_DB_SIZE_KBYTE - Static variable in class io.objectbox.BoxStoreBuilder
-
The default maximum size the DB can grow to, which can be overwritten using
BoxStoreBuilder.maxSizeInKByte
. - DEFAULT_NAME - Static variable in class io.objectbox.BoxStoreBuilder
-
The default DB name, which can be overwritten using
BoxStoreBuilder.name(String)
. - 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(File, String) - 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!
- 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)".
- DetectNonUniqueNodes - Static variable in class io.objectbox.config.TreeOptionFlags
-
Nodes described in AllowNonUniqueNodes will be automatically detected to consolidate them (manually).
- 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 database files should be placed in.
- directoryPath() - Method in class io.objectbox.config.FlatStoreOptions
-
Location of the database on disk; this will be a directory containing files.
- directoryPathAsByteBuffer() - Method in class io.objectbox.config.FlatStoreOptions
- directoryPathInByteBuffer(ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions
- DISCONNECTED - Enum constant in enum class io.objectbox.sync.SyncState
- 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
-
For string properties you can specify
QueryBuilder.StringOrder.CASE_SENSITIVE
if you want to have case sensitive distinct values (e.g. - DoubleCondition(Property<T>, PropertyQueryConditionImpl.DoubleCondition.Operation, double) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition
- DoubleDoubleCondition(Property<T>, PropertyQueryConditionImpl.DoubleDoubleCondition.Operation, double, double) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition
- DoubleVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of double values.
- DoubleVector() - Constructor for class io.objectbox.flatbuffers.DoubleVector
E
- eager(int, RelationInfo, RelationInfo...) - Method in class io.objectbox.query.QueryBuilder
-
Like
QueryBuilder.eager(RelationInfo, RelationInfo[])
, but limits eager loading to the given count. - eager(RelationInfo, RelationInfo...) - Method in class io.objectbox.query.QueryBuilder
-
Specifies relations that should be resolved eagerly.
- empty() - Static method in class io.objectbox.flatbuffers.FlexBuffers.Blob
-
Return an empty
FlexBuffers.Blob
- empty() - Static method in class io.objectbox.flatbuffers.FlexBuffers.Key
-
Return an empty
FlexBuffers.Key
- empty() - Static method in class io.objectbox.flatbuffers.FlexBuffers.Map
-
Returns an empty
FlexBuffers.Map
- empty() - Static method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
- empty() - Static method in class io.objectbox.flatbuffers.FlexBuffers.Vector
-
Returns an empty
FlexBuffers.Map
- enableCreationStackTracking() - Static method in class io.objectbox.InternalAccess
-
Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.
- encodedLength(CharSequence) - Method in class io.objectbox.flatbuffers.Utf8
-
Returns the number of bytes in the UTF-8-encoded form of
sequence
. - encodedLength(CharSequence) - Method in class io.objectbox.flatbuffers.Utf8Old
- encodedLength(CharSequence) - Method in class io.objectbox.flatbuffers.Utf8Safe
- encodeUtf8(CharSequence, ByteBuffer) - Method in class io.objectbox.flatbuffers.Utf8
-
Encodes the given characters to the target
ByteBuffer
using UTF-8 encoding. - encodeUtf8(CharSequence, ByteBuffer) - Method in class io.objectbox.flatbuffers.Utf8Old
- encodeUtf8(CharSequence, ByteBuffer) - Method in class io.objectbox.flatbuffers.Utf8Safe
-
Encodes the given characters to the target
ByteBuffer
using UTF-8 encoding. - encodeUtf8CodePoint(CharSequence, int, byte[]) - Static method in class io.objectbox.flatbuffers.Utf8
-
Encode a Java's CharSequence UTF8 codepoint into a byte array.
- endClusterPeerConfig(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- endCredentials(FlatBufferBuilder) - Static method in class io.objectbox.sync.Credentials
- endFlatStoreOptions(FlatBufferBuilder) - Static method in class io.objectbox.config.FlatStoreOptions
- endJwtConfig(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.JwtConfig
- endMap(String, int) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Finishes a map, but writing the information in the buffer
- ENDS_WITH - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- endsWith(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - endsWith(String) - Method in class io.objectbox.Property
-
Creates an ends with condition using
StringOrder#CASE_SENSITIVE
. - endsWith(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
- endSyncServerOptions(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.SyncServerOptions
- endTable() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finish off writing the object that is under construction.
- endVector() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finish off the creation of an array and all its elements.
- endVector(String, int, boolean, boolean) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Finishes a vector, but writing the information in the buffer
- EnforceUniquePath - Static variable in class io.objectbox.config.TreeOptionFlags
-
By default, a path such as "a/b/c" can address a branch and a leaf at the same time.
- entity - Variable in class io.objectbox.Property
- entity(EntityInfo<?>) - Method in class io.objectbox.BoxStoreBuilder
- EntityInfo<T> - Interface in io.objectbox
- eq(Object) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.equal(boolean)
instead. - equal(boolean) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(byte[]) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(double, double) - Method in class io.objectbox.Property
-
Calls
Property.between(double, double)
withvalue - tolerance
as lower bound andvalue + tolerance
as upper bound. - equal(int) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(long) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(short) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(Property<T>, boolean) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(Property<T>, double, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - equal(String) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property using
StringOrder#CASE_SENSITIVE
. - equal(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- equal(Date) - Method in class io.objectbox.Property
-
Creates an "equal ('=')" condition for this property.
- EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
- EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- EQUAL_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
- EQUAL_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
- EQUAL_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
- equalKeyValue(Property<T>, String, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.equalKeyValue(String, double)
with thenew query API
instead. - equalKeyValue(Property<T>, String, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.equalKeyValue(String, long)
with thenew query API
instead. - equalKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.equalKeyValue(String, String, StringOrder)
with thenew query API
instead. - equalKeyValue(String, double) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is equal to the given
key
andvalue
. - equalKeyValue(String, long) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is equal to the given
key
andvalue
. - equalKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is equal to the given
key
andvalue
. - equals(Object) - Method in class io.objectbox.flatbuffers.FlexBuffers.Key
-
Compare keys
- equals(Object) - Method in class io.objectbox.relation.ToOne
- ErrorObserver - Interface in io.objectbox.reactive
-
Exceptions thrown in
DataObserver
and @DataTransformer
can be observed by an error observer set viaSubscriptionBuilder.onError(ErrorObserver)
.
F
- 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
-
Define a callback for failed read transactions during retires (see also
BoxStoreBuilder.queryAttempts(int)
). - FBT_BLOB - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a blob type
- FBT_BOOL - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a boolean type
- FBT_FLOAT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a float type
- FBT_INDIRECT_FLOAT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a indirect float type
- FBT_INDIRECT_INT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a indirect signed integer type
- FBT_INDIRECT_UINT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a indirect unsigned integer type
- FBT_INT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a signed integer type
- FBT_KEY - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a key to a map type
- FBT_MAP - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a map type
- FBT_NULL - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a null type
- FBT_STRING - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a string type
- FBT_UINT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a unsigned type
- FBT_VECTOR - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector type
- FBT_VECTOR_BOOL - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of booleans type
- FBT_VECTOR_FLOAT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of floats type
- FBT_VECTOR_FLOAT2 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_FLOAT3 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_FLOAT4 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_INT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of signed integers type
- FBT_VECTOR_INT2 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_INT3 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_INT4 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_KEY - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of keys type
- FBT_VECTOR_STRING_DEPRECATED - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of strings type
- FBT_VECTOR_UINT - Static variable in class io.objectbox.flatbuffers.FlexBuffers
-
Represent a vector of unsigned integers type
- FBT_VECTOR_UINT2 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_UINT3 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FBT_VECTOR_UINT4 - Static variable in class io.objectbox.flatbuffers.FlexBuffers
- FeatureNotAvailableException - Exception in io.objectbox.exception
-
Thrown when a special feature was used, which is not part of the native library.
- FeatureNotAvailableException(String) - Constructor for exception io.objectbox.exception.FeatureNotAvailableException
- FileCorruptException - Exception in io.objectbox.exception
-
Errors were detected in a database file, e.g.
- FileCorruptException(String) - Constructor for exception io.objectbox.exception.FileCorruptException
- FileCorruptException(String, int) - Constructor for exception io.objectbox.exception.FileCorruptException
- fileMode() - Method in class io.objectbox.config.FlatStoreOptions
-
File permissions given in Unix style octal bit flags (e.g.
- fileMode(int) - Method in class io.objectbox.BoxStoreBuilder
-
Specify unix-style file permissions for database files.
- 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
-
Closes this if this is finalized.
- 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
-
Typically
QueryBuilder.build()
is called on this which callsQueryBuilder.close()
and avoids expensive finalization here. - finalize() - Method in class io.objectbox.sync.server.SyncServerImpl
-
Users of this class should explicitly call
SyncServerImpl.close()
instead to avoid expensive finalization. - finalize() - Method in class io.objectbox.sync.SyncClientImpl
-
Users of this class should explicitly call
SyncClientImpl.close()
instead to avoid expensive finalization. - finalize() - Method in class io.objectbox.sync.SyncHybrid
-
Users of this class should explicitly call
SyncHybrid.close()
instead to avoid expensive finalization. - find() - Method in class io.objectbox.query.Query
-
Finds objects matching the query.
- find(long, long) - Method in class io.objectbox.query.Query
-
Like
Query.find()
, but can skip and 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
-
Finds the first object matching this query.
- findFirstId() - Method in class io.objectbox.query.Query
-
Like
Query.findFirst()
, but returns just the ID of the object. - 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
-
Like
Query.find()
, but returns just the IDs of the objects. - findIds(long, long) - Method in class io.objectbox.query.Query
-
Like
Query.findIds()
, but can skip and limit results. - findIdsWithScores() - Method in class io.objectbox.query.Query
-
Finds IDs of objects matching the query associated to their query score (e.g.
- findIdsWithScores(long, long) - Method in class io.objectbox.query.Query
-
Like
Query.findIdsWithScores()
, but can skip and limit results. - 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
-
Like
Query.findIds()
, but wraps the Object IDs in an unmodifiableLazyList
so Objects can be retrieved on demand. - findLazyCached() - Method in class io.objectbox.query.Query
-
Like
Query.findIds()
, but wraps the Object IDs in an unmodifiable, cachingLazyList
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
-
Finds the only object matching this query.
- findUniqueId() - Method in class io.objectbox.query.Query
-
Like
Query.findUnique()
, but returns just the ID of the object. - findWithScores() - Method in class io.objectbox.query.Query
-
Finds objects matching the query associated to their query score (e.g.
- findWithScores(long, long) - Method in class io.objectbox.query.Query
-
Like
Query.findWithScores()
, but can skip and limit results. - finish() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Finish writing the message into the buffer.
- finish(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`.
- finish(int, boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`.
- finish(int, String) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`.
- finish(int, String, boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`.
- finished() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Should not be accessing the final buffer before it is finished.
- finishFlatStoreOptionsBuffer(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- finishSizePrefixed(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
- finishSizePrefixed(int, String) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Finalize a buffer, pointing to the given `root_table`, with the size prefixed.
- finishSizePrefixedFlatStoreOptionsBuffer(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- finishSizePrefixedSyncServerOptionsBuffer(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- finishSyncServerOptionsBuffer(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- FixedFollower - Static variable in class io.objectbox.sync.server.ClusterFlags
-
Indicates that this cluster always stays in the "follower" cluster role.
- FlatBufferBuilder - Class in io.objectbox.flatbuffers
-
Class that helps you build a FlatBuffer.
- FlatBufferBuilder() - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start with a buffer of 1KiB, then grow as required.
- FlatBufferBuilder(int) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start with a buffer of size `initial_size`, then grow as required.
- FlatBufferBuilder(int, FlatBufferBuilder.ByteBufferFactory) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start with a buffer of size `initial_size`, then grow as required.
- FlatBufferBuilder(int, FlatBufferBuilder.ByteBufferFactory, ByteBuffer, Utf8) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start with a buffer of size `initial_size`, then grow as required.
- FlatBufferBuilder(ByteBuffer) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Alternative constructor allowing reuse of
ByteBuffer
s. - FlatBufferBuilder(ByteBuffer, FlatBufferBuilder.ByteBufferFactory) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
-
Alternative constructor allowing reuse of
ByteBuffer
s. - FlatBufferBuilder.ByteBufferFactory - Class in io.objectbox.flatbuffers
-
An interface that provides a user of the FlatBufferBuilder class the ability to specify the method in which the internal buffer gets allocated.
- FlatBufferBuilder.HeapByteBufferFactory - Class in io.objectbox.flatbuffers
-
An implementation of the ByteBufferFactory interface that is used when one is not provided by the user.
- FLATBUFFERS_23_5_26() - Static method in class io.objectbox.flatbuffers.Constants
-
A version identifier to force a compile error if someone accidentally tries to build generated code with a runtime of two mismatched version.
- FlatStoreOptions - Class in io.objectbox.config
-
Options to open a store with.
- FlatStoreOptions() - Constructor for class io.objectbox.config.FlatStoreOptions
- FlatStoreOptions.Vector - Class in io.objectbox.config
- FlexBuffers - Class in io.objectbox.flatbuffers
-
This class can be used to parse FlexBuffer messages.
- FlexBuffers() - Constructor for class io.objectbox.flatbuffers.FlexBuffers
- FlexBuffers.Blob - Class in io.objectbox.flatbuffers
-
Represents a array of bytes element in the buffer
- FlexBuffers.FlexBufferException - Exception in io.objectbox.flatbuffers
- FlexBuffers.Key - Class in io.objectbox.flatbuffers
-
Represents a key element in the buffer.
- FlexBuffers.KeyVector - Class in io.objectbox.flatbuffers
-
Represent a vector of keys in a map
- FlexBuffers.Map - Class in io.objectbox.flatbuffers
-
Map object representing a set of key-value pairs.
- FlexBuffers.Reference - Class in io.objectbox.flatbuffers
-
Represents an generic element in the buffer.
- FlexBuffers.TypedVector - Class in io.objectbox.flatbuffers
-
Object that represents a set of elements with the same type
- FlexBuffers.Vector - Class in io.objectbox.flatbuffers
-
Object that represents a set of elements in the buffer
- FlexBuffersBuilder - Class in io.objectbox.flatbuffers
-
Helper class that builds FlexBuffers
- FlexBuffersBuilder() - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Constructs a newly allocated
FlexBuffersBuilder
withFlexBuffersBuilder.BUILDER_FLAG_SHARE_KEYS
set. - FlexBuffersBuilder(int) - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Constructs a newly allocated
FlexBuffersBuilder
withFlexBuffersBuilder.BUILDER_FLAG_SHARE_KEYS
set. - FlexBuffersBuilder(ReadWriteBuf, int) - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
- FlexBuffersBuilder(ByteBuffer) - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Constructs a newly allocated
FlexBuffersBuilder
. - FlexBuffersBuilder(ByteBuffer, int) - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Deprecated.
- FlexObjectConverter - Class in io.objectbox.converter
-
Converts between
Object
properties and byte arrays using FlexBuffers. - FlexObjectConverter() - Constructor for class io.objectbox.converter.FlexObjectConverter
- floatingValue - Variable in class io.objectbox.tree.LeafNode
- FloatVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of float values.
- FloatVector() - Constructor for class io.objectbox.flatbuffers.FloatVector
- forceDefaults(boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
In order to save space, fields that are set to their default value don't get serialized into the buffer.
- 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 class io.objectbox.sync.SyncState
- Full - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
Performs a unlimited number of checks on database structures including "data leaves".
G
- get() - Method in class io.objectbox.query.ObjectWithScore
-
Returns the matching object.
- get(byte[]) - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
- get(int) - Method in class io.objectbox.config.FlatStoreOptions.Vector
- get(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- get(int) - Method in class io.objectbox.flatbuffers.BooleanVector
-
Reads the boolean at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- get(int) - Method in class io.objectbox.flatbuffers.ByteVector
-
Reads the byte at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.DoubleVector
-
Reads the double value at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.FlexBuffers.Blob
-
Return individual byte at a given position
- get(int) - Method in class io.objectbox.flatbuffers.FlexBuffers.KeyVector
-
Return key
- get(int) - Method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
-
Get reference to an object in the
Vector
- get(int) - Method in class io.objectbox.flatbuffers.FlexBuffers.Vector
-
Get a element in a vector by index
- get(int) - Method in class io.objectbox.flatbuffers.FloatVector
-
Reads the float value at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.IntVector
-
Reads the integer at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.LongVector
-
Reads the long value at the given index.
- get(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a byte from data.
- get(int) - Method in class io.objectbox.flatbuffers.ShortVector
-
Reads the short value at the given index.
- get(int) - Method in class io.objectbox.flatbuffers.StringVector
-
Reads the String at the given index.
- 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
-
Gets the target object at the given index.
- get(int) - Method in class io.objectbox.sync.Credentials.Vector
- get(int) - Method in class io.objectbox.sync.server.ClusterPeerConfig.Vector
- get(int) - Method in class io.objectbox.sync.server.JwtConfig.Vector
- get(int) - Method in class io.objectbox.sync.server.SyncServerOptions.Vector
- get(long) - Method in class io.objectbox.Box
-
Get the stored object for the given ID.
- get(long[]) - Method in class io.objectbox.Box
-
Get the stored objects for the given IDs.
- get(FlatStoreOptions, int) - Method in class io.objectbox.config.FlatStoreOptions.Vector
- get(Table, int) - Method in class io.objectbox.flatbuffers.UnionVector
-
Initialize any Table-derived type to point to the union at the given `index`.
- get(Credentials, int) - Method in class io.objectbox.sync.Credentials.Vector
- get(ClusterPeerConfig, int) - Method in class io.objectbox.sync.server.ClusterPeerConfig.Vector
- get(JwtConfig, int) - Method in class io.objectbox.sync.server.JwtConfig.Vector
- get(SyncServerOptions, int) - Method in class io.objectbox.sync.server.SyncServerOptions.Vector
- get(Iterable<Long>) - Method in class io.objectbox.Box
-
Get the stored objects for the given IDs.
- get(String) - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
- getActiveSubscriptionCount() - Method in class io.objectbox.reactive.DataSubscriptionList
-
Returns number of active (added) subscriptions (resets to 0 after
DataSubscriptionList.cancel()
). - getActiveTx(BoxStore) - Static method in class io.objectbox.InternalAccess
- 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
- getAsUnsigned(int) - Method in class io.objectbox.flatbuffers.ByteVector
-
Reads the byte at the given index, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
- getAsUnsigned(int) - Method in class io.objectbox.flatbuffers.IntVector
-
Reads the integer at the given index, zero-extends it to type long, and returns the result, which is therefore in the range 0 through 4294967295.
- getAsUnsigned(int) - Method in class io.objectbox.flatbuffers.ShortVector
-
Reads the short at the given index, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 65535.
- getBoolean(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getBoolean(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getBoolean(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read boolean from data.
- getBuffer() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Return `ByteBuffer` containing FlexBuffer message.
- getById(long) - Method in class io.objectbox.relation.ToMany
-
Gets an object by its ID.
- getByteBuffer() - Method in class io.objectbox.flatbuffers.Table
-
Get the underlying ByteBuffer.
- getBytes() - Method in class io.objectbox.flatbuffers.FlexBuffers.Blob
-
Copy blob into a byte[]
- 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.
- getClient() - Method in class io.objectbox.sync.SyncHybrid
-
Returns the
SyncClient
of this hybrid, typically only to set Sync listeners. - 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
- getDbSize() - Method in class io.objectbox.BoxStore
-
Get the size of this store.
- getDbSizeOnDisk() - Method in class io.objectbox.BoxStore
-
The size in bytes occupied by the database on disk (if any).
- getDefault() - Static method in class io.objectbox.BoxStore
-
Convenience singleton instance which gets set up using
BoxStoreBuilder.buildDefault()
. - getDefault() - Static method in class io.objectbox.flatbuffers.Utf8
-
Get the default UTF-8 processor.
- getDouble() - Method in class io.objectbox.tree.Leaf
- getDouble(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getDouble(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getDouble(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a 64-bit float from data.
- getDouble(long) - Method in class io.objectbox.tree.Tree
-
Get data value for the given ID or null if no data leaf exists with that ID.
- getElemType() - Method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
-
Return element type for all elements in the vector
- 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
-
The entity type ID; use methods like
BoxStore.getEntityTypeIdOrThrow(java.lang.Class<?>)
to map with classes. - getEntityTypeIdOrThrow(Class<?>) - Method in class io.objectbox.BoxStore
- getErrorCode() - Method in exception io.objectbox.exception.DbException
-
0 == no error code available
- getFloat(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getFloat(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getFloat(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a 32-bit float from data.
- getHandle(Transaction) - Static method in class io.objectbox.InternalAccess
- getId() - Method in class io.objectbox.Property
- getId() - Method in class io.objectbox.query.IdWithScore
-
Returns the object ID.
- getId() - Method in class io.objectbox.tree.Branch
- getId() - Method in class io.objectbox.tree.Leaf
- getId(T) - Method in class io.objectbox.Box
- getIdGetter() - Method in interface io.objectbox.EntityInfo
- getIdProperty() - Method in interface io.objectbox.EntityInfo
- getInt() - Method in class io.objectbox.tree.Leaf
- getInt(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getInt(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getInt(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a 32-bit int from data.
- getInteger(long) - Method in class io.objectbox.tree.Tree
-
Get data value for the given ID or null if no data leaf exists with that ID.
- getLastLoginCode() - Method in interface io.objectbox.sync.SyncClient
-
Response code of last login attempt.
- getLastLoginCode() - Method in class io.objectbox.sync.SyncClientImpl
- getLeaf(long) - Method in class io.objectbox.tree.Tree
-
Get the leaf for the given ID or null if no leaf exists with that ID.
- getListFactory() - Method in class io.objectbox.relation.ToMany
- getLoadedCount() - Method in class io.objectbox.query.LazyList
- getLong(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getLong(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getLong(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a 64-bit long from data.
- 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.
- getMetaId() - Method in class io.objectbox.tree.Leaf
- getNativeStore() - Method in class io.objectbox.BoxStore
-
Gets the reference to the native store.
- getObjectBrowserPort() - Method in class io.objectbox.BoxStore
- getObserverDelegate() - Method in interface io.objectbox.reactive.DelegatingObserver
- getParentBranchId() - Method in class io.objectbox.tree.Leaf
- getPassword() - Method in class io.objectbox.sync.SyncCredentialsUserPassword
- getPathSeparatorRegex() - Method in class io.objectbox.tree.Tree
-
The path separator regex is used to split a string path into individual path names.
- getPort() - Method in interface io.objectbox.sync.server.SyncServer
-
Returns the port this server listens on, or 0 if the server was not yet started.
- getPort() - Method in class io.objectbox.sync.server.SyncServerImpl
- 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
-
Like
Box.getRelationBacklinkEntities(RelationInfo, long)
, but only returns the IDs of the source entities. - 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
-
Like
Box.getRelationEntities(RelationInfo, long)
, but only returns the IDs of the target entities. - 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.
- getRoot() - Method in class io.objectbox.tree.Tree
-
Gets the root of the data tree.
- getRoot(ReadBuf) - Static method in class io.objectbox.flatbuffers.FlexBuffers
-
Reads a FlexBuffer message in ReadBuf and returns
FlexBuffers.Reference
to the root element. - getRoot(ByteBuffer) - Static method in class io.objectbox.flatbuffers.FlexBuffers
-
Deprecated.
- getRootAsClusterPeerConfig(ByteBuffer) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- getRootAsClusterPeerConfig(ByteBuffer, ClusterPeerConfig) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- getRootAsCredentials(ByteBuffer) - Static method in class io.objectbox.sync.Credentials
- getRootAsCredentials(ByteBuffer, Credentials) - Static method in class io.objectbox.sync.Credentials
- getRootAsFlatStoreOptions(ByteBuffer) - Static method in class io.objectbox.config.FlatStoreOptions
- getRootAsFlatStoreOptions(ByteBuffer, FlatStoreOptions) - Static method in class io.objectbox.config.FlatStoreOptions
- getRootAsJwtConfig(ByteBuffer) - Static method in class io.objectbox.sync.server.JwtConfig
- getRootAsJwtConfig(ByteBuffer, JwtConfig) - Static method in class io.objectbox.sync.server.JwtConfig
- getRootAsSyncServerOptions(ByteBuffer) - Static method in class io.objectbox.sync.server.SyncServerOptions
- getRootAsSyncServerOptions(ByteBuffer, SyncServerOptions) - Static method in class io.objectbox.sync.server.SyncServerOptions
- getRootId() - Method in class io.objectbox.tree.Tree
-
The root ID, which the tree was constructed with.
- getRoundtripTimeNanos() - Method in interface io.objectbox.sync.SyncClient
-
Returns the estimated roundtrip time in nanoseconds to the server and back.
- getRoundtripTimeNanos() - Method in class io.objectbox.sync.SyncClientImpl
- getScore() - Method in class io.objectbox.query.IdWithScore
-
Returns the query score for the
id
. - getScore() - Method in class io.objectbox.query.ObjectWithScore
-
Returns the query score for the
object
. - getServer() - Method in class io.objectbox.sync.SyncHybrid
-
Returns the
SyncServer
of this hybrid. - getServerTimeDiffNanos() - Method in interface io.objectbox.sync.SyncClient
-
Returns the estimated difference in nanoseconds between the server time and the local timestamp.
- getServerTimeDiffNanos() - Method in class io.objectbox.sync.SyncClientImpl
- getServerTimeNanos() - Method in interface io.objectbox.sync.SyncClient
-
Estimates the current server timestamp in nanoseconds based on the last known server time.
- getServerTimeNanos() - Method in class io.objectbox.sync.SyncClientImpl
- 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
- getShort(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getShort(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getShort(int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read a short from data.
- getSizePrefix(ByteBuffer) - Static method in class io.objectbox.flatbuffers.ByteBufferUtil
-
Extract the size prefix from a `ByteBuffer`.
- 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
- getStore() - Method in class io.objectbox.sync.SyncHybrid
- getStore() - Method in class io.objectbox.tree.Tree
- getString() - Method in class io.objectbox.tree.Leaf
- getString(int, int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- getString(int, int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- getString(int, int) - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Read an UTF-8 string from data.
- getString(long) - Method in class io.objectbox.tree.Tree
-
Get data value for the given ID or null if no data leaf exists with that ID.
- getStringArray() - Method in class io.objectbox.tree.Leaf
- 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
-
Returns the target object or
null
if there is none. - 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
- getTree() - Method in class io.objectbox.tree.Branch
- getType() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Return element type
- getType() - Method in class io.objectbox.sync.SyncCredentials
- getTypeId() - Method in class io.objectbox.sync.SyncCredentials
- getUrl() - Method in interface io.objectbox.sync.server.SyncServer
-
Returns the URL this server is listening on, including the bound port (see
SyncServer.getPort()
). - getUrl() - Method in class io.objectbox.sync.server.SyncServerImpl
- getUsername() - Method in class io.objectbox.sync.SyncCredentialsUserPassword
- getValueType() - Method in class io.objectbox.tree.Leaf
-
See
PropertyType
for possible types (not all are used here). - 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.
- GOOGLE - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- GoogleAuth - Static variable in class io.objectbox.sync.CredentialsType
-
Google Auth ID token
- greater(byte[]) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(double) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(int) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(long) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(short) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greater(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greater(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greater(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greater(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greater(String) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property using
StringOrder#CASE_SENSITIVE
. - greater(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- greater(Date) - Method in class io.objectbox.Property
-
Creates a "greater than ('>')" condition for this property.
- GREATER - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
- GREATER - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
- GREATER - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- GREATER - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- GREATER_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
- GREATER_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
- GREATER_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
- GREATER_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
- GREATER_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
- GREATER_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
- GREATER_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
- GREATER_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
- GREATER_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- GREATER_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- greaterKeyValue(Property<T>, String, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterKeyValue(String, double)
with thenew query API
instead. - greaterKeyValue(Property<T>, String, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterOrEqualKeyValue(String, long)
(String, String, StringOrder)} with thenew query API
instead. - greaterKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterKeyValue(String, String, StringOrder)
with thenew query API
instead. - greaterKeyValue(String, double) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than the given
key
andvalue
. - greaterKeyValue(String, long) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than the given
key
andvalue
. - greaterKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than the given
key
andvalue
. - greaterOrEqual(byte[]) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(double) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(int) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(long) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(short) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greaterOrEqual(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greaterOrEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greaterOrEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greaterOrEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - greaterOrEqual(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqual(Date) - Method in class io.objectbox.Property
-
Creates a "greater or equal ('>=')" condition for this property.
- greaterOrEqualKeyValue(Property<T>, String, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterOrEqualKeyValue(String, double)
with thenew query API
instead. - greaterOrEqualKeyValue(Property<T>, String, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterOrEqualKeyValue(String, long)
with thenew query API
instead. - greaterOrEqualKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.greaterOrEqualKeyValue(String, String, StringOrder)
with thenew query API
instead. - greaterOrEqualKeyValue(String, double) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than or equal to the given
key
andvalue
. - greaterOrEqualKeyValue(String, long) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than or equal to the given
key
andvalue
. - greaterOrEqualKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is greater than or equal to the given
key
andvalue
. - gt(Object) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.greater(short)
instead.
H
- hasA(QueryFilter<TARGET>) - Method in class io.objectbox.relation.ToMany
-
Returns true if at least one of the target objects matches the given filter.
- hasAll(QueryFilter<TARGET>) - Method in class io.objectbox.relation.ToMany
-
Returns true if all of the target objects match the given filter.
- hasFeature(Feature) - Static method in class io.objectbox.BoxStore
- hashCode() - Method in class io.objectbox.flatbuffers.FlexBuffers.Key
- hashCode() - Method in class io.objectbox.relation.ToOne
- hasNext() - Method in class io.objectbox.query.LazyList.LazyIterator
- hasPendingDbChanges() - Method in class io.objectbox.relation.ToMany
-
Returns true if there are pending changes for the DB.
- hasPrevious() - Method in class io.objectbox.query.LazyList.LazyIterator
-
FIXME: before hasPrevious(), next() must be called.
- hasToken() - Method in class io.objectbox.sync.SyncCredentialsToken
- HeapByteBufferFactory() - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory
- historySizeMaxKb() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Once the maximum size is reached, old TX logs are deleted to stay below this limit.
- historySizeMaxKb(long) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the maximum transaction history size.
- historySizeTargetKb() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Once the maximum size (historySizeMaxKb) is reached, old TX logs are deleted until this size target is reached (lower than the maximum size).
- historySizeTargetKb(long) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the target transaction history size.
- hybrid(BoxStoreBuilder, String, SyncCredentials) - Static method in class io.objectbox.sync.Sync
-
Starts building a
SyncHybrid
, a client/server hybrid typically used for embedded cluster setups.
I
- id - Variable in class io.objectbox.Property
- id - Variable in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- id - Variable in enum class io.objectbox.sync.SyncState
- id - Variable in class io.objectbox.tree.LeafNode
- IdWithScore - Class in io.objectbox.query
-
Wraps the ID of a matching object and a score when using
Query.findIdsWithScores(long, long)
. - IdWithScore(long, double) - Constructor for class io.objectbox.query.IdWithScore
- in(Property<T>, int[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - in(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - in(Property<T>, String[], QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - in(Object...) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.oneOf(int[])
instead. - in(Collection<?>) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.oneOf(int[])
instead. - IN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
- IN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
- IN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
- IN_MEMORY_PREFIX - Static variable in class io.objectbox.BoxStore
-
Prefix supplied with database directory to signal a file-less and in-memory database should be used.
- 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 ID.
- init(ByteBuffer, FlatBufferBuilder.ByteBufferFactory) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Alternative initializer that allows reusing this object on an existing `ByteBuffer`.
- 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).
- 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).
- initialValue() - Method in class io.objectbox.query.QueryThreadLocal
- inMemory(String) - Method in class io.objectbox.BoxStoreBuilder
-
Switches to an in-memory database using the given name as its identifier.
- INSTANCE - Static variable in class io.objectbox.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory
- IntArrayCondition(Property<T>, PropertyQueryConditionImpl.IntArrayCondition.Operation, int[]) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition
- IntegerFlexMapConverter - Class in io.objectbox.converter
-
A
FlexObjectConverter
that usesInteger
as map keys. - IntegerFlexMapConverter() - Constructor for class io.objectbox.converter.IntegerFlexMapConverter
- IntegerLongMapConverter - Class in io.objectbox.converter
-
Like
IntegerFlexMapConverter
, but always restores integer map values asLong
. - IntegerLongMapConverter() - Constructor for class io.objectbox.converter.IntegerLongMapConverter
- integerValue - Variable in class io.objectbox.tree.LeafNode
- InternalAccess - Class in io.objectbox
-
Exposes internal APIs to tests and code in other packages.
- InternalAccess - Class in io.objectbox.query
-
Exposes internal APIs to tests and code in other packages.
- InternalAccess() - Constructor for class io.objectbox.InternalAccess
- InternalAccess() - Constructor for class io.objectbox.query.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
- IntVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of signed or unsigned 32-bit values.
- IntVector() - Constructor for class io.objectbox.flatbuffers.IntVector
- Invalid - Static variable in class io.objectbox.sync.CredentialsType
-
Used to indicate an uninitialized variable.
- io.objectbox - package io.objectbox
-
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
- io.objectbox.config - package io.objectbox.config
- io.objectbox.converter - package io.objectbox.converter
- io.objectbox.exception - package io.objectbox.exception
-
Various exceptions thrown by ObjectBox.
- io.objectbox.flatbuffers - package io.objectbox.flatbuffers
- io.objectbox.query - package io.objectbox.query
- io.objectbox.reactive - package io.objectbox.reactive
-
Classes to
configure
aDataSubscription
for observing Box or Query changes. - io.objectbox.relation - package io.objectbox.relation
- 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
- io.objectbox.tree - package io.objectbox.tree
-
APIs to interact with tree structures stored in ObjectBox.
- IS_NULL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
- 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
- isBlob() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is a blob
- isBoolean() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element is boolean type
- isCanceled() - Method in interface io.objectbox.reactive.DataSubscription
-
Current cancellation state of the subscription.
- isCanceled() - Method in class io.objectbox.reactive.DataSubscriptionList
-
Returns true if
DataSubscriptionList.cancel()
was called without any subsequent calls toDataSubscriptionList.add(DataSubscription)
. - isClosed() - Method in class io.objectbox.BoxStore
-
If this was
closed
. - isDatabaseOpen(File) - Static method in class io.objectbox.BoxStore
-
Using a directory, as configured with
BoxStoreBuilder.directory(File)
, checks if the associated database files are in use by a BoxStore instance. - isDatabaseOpen(File, String) - Static method in class io.objectbox.BoxStore
-
Using an optional base directory, as configured with
BoxStoreBuilder.baseDirectory(File)
, and an optional database name, as configured withBoxStoreBuilder.name(String)
, checks if the associated database files are in use by a BoxStore instance. - 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. - isDebugRelations() - Method in class io.objectbox.BoxStore
- isDouble() - Method in class io.objectbox.tree.Leaf
- isEmpty() - Method in class io.objectbox.Box
-
Returns true if no objects are in this box.
- isEmpty() - Method in class io.objectbox.flatbuffers.FlexBuffers.Vector
-
Checks if the vector is empty
- isEmpty() - Method in class io.objectbox.query.LazyList
- isEmpty() - Method in class io.objectbox.relation.ToMany
- isEmptyVector() - Method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
-
Returns whether the vector is empty
- isFieldPresent(Table, int) - Static method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Helper function to test if a field is present in the table
- isFloat() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is float
- isHybridAvailable() - Static method in class io.objectbox.sync.Sync
-
Returns true if the included native (JNI) ObjectBox library supports Sync hybrids (server & client).
- isId - Variable in class io.objectbox.Property
- isInt() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is signed integer
- isInt() - Method in class io.objectbox.tree.Leaf
- isIntOrUInt() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is signed or unsigned integers
- isKey() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is key
- 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
- isMap() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is a map
- isNativeStoreClosed() - Method in class io.objectbox.BoxStore
-
For internal use only.
- isNotNull() - Method in class io.objectbox.Property
-
Deprecated.Use
Property.notNull()
instead. - isNull() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element is null type
- isNull() - Method in class io.objectbox.Property
-
Creates an "IS NULL" condition for this property.
- isNull() - Method in class io.objectbox.relation.ToOne
- isNull(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - isNumeric() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is numeric (signed/unsigned integers and floats)
- 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
- isString() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is string
- isString() - Method in class io.objectbox.tree.Leaf
- isStringArray() - Method in class io.objectbox.tree.Leaf
- isSyncAvailable() - Static method in class io.objectbox.BoxStore
- isSyncServerAvailable() - Static method in class io.objectbox.BoxStore
- isTypedVector() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is typed vector
- isUInt() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is signed integer
- isVector() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Checks whether the element type is vector
- isVirtual - Variable in class io.objectbox.Property
- iterator() - Method in class io.objectbox.query.LazyList
- iterator() - Method in class io.objectbox.relation.ToMany
J
- JNI_VERSION - Static variable in class io.objectbox.BoxStore
-
ReLinker uses this as a suffix for the extracted shared library file.
- JWT_ACCESS_TOKEN - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- JWT_CUSTOM_TOKEN - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- JWT_ID_TOKEN - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- JWT_REFRESH_TOKEN - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- JwtAccess - Static variable in class io.objectbox.sync.CredentialsType
-
JSON Web Token (JWT): an access token that is used to access resources.
- jwtAccessToken(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a JSON Web Token (JWT) that is an access token.
- jwtAccessTokenServer() - Static method in class io.objectbox.sync.SyncCredentials
-
Enable authentication using a JSON Web Token (JWT) that is an access token.
- jwtClaimAud(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the JWT claim "aud" (audience) used to verify JWT tokens.
- jwtClaimIss(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the JWT claim "iss" (issuer) used to verify JWT tokens.
- jwtConfig() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Optional configuration for JWT (JSON Web Token) authentication.
- jwtConfig(JwtConfig) - Method in class io.objectbox.sync.server.SyncServerOptions
- JwtConfig - Class in io.objectbox.sync.server
- JwtConfig() - Constructor for class io.objectbox.sync.server.JwtConfig
- JwtConfig.Vector - Class in io.objectbox.sync.server
- JwtCustom - Static variable in class io.objectbox.sync.CredentialsType
-
JSON Web Token (JWT): a token that is neither an ID, access, nor refresh token.
- jwtCustomToken(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a JSON Web Token (JWT) that is neither an ID, access, nor refresh token.
- jwtCustomTokenServer() - Static method in class io.objectbox.sync.SyncCredentials
-
Enable authentication using a JSON Web Token (JWT) that is neither an ID, access, nor refresh token.
- JwtId - Static variable in class io.objectbox.sync.CredentialsType
-
JSON Web Token (JWT): an ID token that typically provides identity information about the authenticated user.
- jwtIdToken(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a JSON Web Token (JWT) that is an ID token.
- jwtIdTokenServer() - Static method in class io.objectbox.sync.SyncCredentials
-
Enable authentication using a JSON Web Token (JWT) that is an ID token.
- jwtPublicKey(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the public key used to verify JWT tokens.
- jwtPublicKeyUrl(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the JWKS (Json Web Key Sets) URL to fetch the current public key used to verify JWT tokens.
- JwtRefresh - Static variable in class io.objectbox.sync.CredentialsType
-
JSON Web Token (JWT): a refresh token that is used to obtain a new access token.
- jwtRefreshToken(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a JSON Web Token (JWT) that is a refresh token.
- jwtRefreshTokenServer() - Static method in class io.objectbox.sync.SyncCredentials
-
Enable authentication using a JSON Web Token (JWT) that is a refresh token.
K
- keep(T) - Method in interface io.objectbox.query.QueryFilter
- keys() - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
-
Get a vector or keys in the map
- keysCompare(Integer, Integer, ByteBuffer) - Method in class io.objectbox.flatbuffers.Table
-
Compare two tables by the key.
L
- lastIndexOf(Object) - Method in class io.objectbox.query.LazyList
- lastIndexOf(Object) - Method in class io.objectbox.relation.ToMany
- LazyIterator(int) - Constructor for class io.objectbox.query.LazyList.LazyIterator
- LazyList<E> - Class in io.objectbox.query
-
A thread-safe, unmodifiable
List
that gets Objects from their Box not until they are accessed. - LazyList.LazyIterator - Class in io.objectbox.query
- leaf(String) - Method in class io.objectbox.tree.Branch
-
Get the leaf following the given path of children from this branch.
- leaf(String[]) - Method in class io.objectbox.tree.Branch
-
Get the leaf following the given path of children from this branch.
- Leaf - Class in io.objectbox.tree
- Leaf(LeafNode) - Constructor for class io.objectbox.tree.Leaf
- leafChild(String) - Method in class io.objectbox.tree.Branch
-
Get the child leaf directly attached to this branch with the given name.
- LeafNode - Class in io.objectbox.tree
-
(Potentially internal) value object created in our JNI layer to represent a leaf with all stored data.
- LeafNode(long, long, long, long, double, Object, short) - Constructor for class io.objectbox.tree.LeafNode
-
All-args constructor used by JNI (don't change, it's actually used).
- length() - Method in class io.objectbox.flatbuffers.BaseVector
-
Get the length of a vector.
- less(byte[]) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(double) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(int) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(long) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(short) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - less(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - less(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - less(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - less(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - less(String) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property using
StringOrder#CASE_SENSITIVE
. - less(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- less(Date) - Method in class io.objectbox.Property
-
Creates a "less than ('<')" condition for this property.
- LESS - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
- LESS - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
- LESS - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- LESS - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- LESS_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
- LESS_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
- LESS_EQUALS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
- LESS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
- LESS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
- LESS_KEY_VALUE - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
- LESS_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
- LESS_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
- LESS_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- LESS_OR_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- lessKeyValue(Property<T>, String, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessKeyValue(String, double)
with thenew query API
instead. - lessKeyValue(Property<T>, String, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessKeyValue(String, long)
with thenew query API
instead. - lessKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessKeyValue(String, String, StringOrder)
with thenew query API
instead. - lessKeyValue(String, double) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than the given
key
andvalue
. - lessKeyValue(String, long) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than the given
key
andvalue
. - lessKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than the given
key
andvalue
. - lessOrEqual(byte[]) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(double) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(int) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(long) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(short) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - lessOrEqual(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - lessOrEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - lessOrEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - lessOrEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - lessOrEqual(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqual(Date) - Method in class io.objectbox.Property
-
Creates a "less or equal ('<=')" condition for this property.
- lessOrEqualKeyValue(Property<T>, String, double) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessOrEqualKeyValue(String, double)
with thenew query API
instead. - lessOrEqualKeyValue(Property<T>, String, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessOrEqualKeyValue(String, long)
with thenew query API
instead. - lessOrEqualKeyValue(Property<T>, String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: Use
Property.lessOrEqualKeyValue(String, String, StringOrder)
with thenew query API
instead. - lessOrEqualKeyValue(String, double) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than or equal to the given
key
andvalue
. - lessOrEqualKeyValue(String, long) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than or equal to the given
key
andvalue
. - lessOrEqualKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
For a String-key map property, matches the combination where the key and value of at least one map entry is less than or equal to the given
key
andvalue
. - limit() - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- limit() - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- limit() - Method in interface io.objectbox.flatbuffers.ReadBuf
-
Defines the size of the message in the buffer.
- limit() - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Defines the size of the message in the buffer.
- link(RelationInfo<?, TARGET>) - Method in class io.objectbox.query.QueryBuilder
-
Creates a link to another entity, for which you also can describe conditions using the returned builder.
- listener(SyncListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to observe all Sync events like login or sync completion.
- ListFactory - Interface in io.objectbox.relation
- ListFactory.ArrayListFactory - Class in io.objectbox.relation
- ListFactory.CopyOnWriteArrayListFactory - Class in io.objectbox.relation
- listIterator() - Method in class io.objectbox.query.LazyList
- listIterator() - Method in class io.objectbox.relation.ToMany
- listIterator(int) - Method in class io.objectbox.query.LazyList
- listIterator(int) - Method in class io.objectbox.relation.ToMany
-
The returned iterator does not track any potential calls to
Iterator.remove()
. - loadRemaining() - Method in class io.objectbox.query.LazyList
-
Loads the remaining entities (if any) that were not loaded before.
- LOG_ASYNC_QUEUE - Static variable in class io.objectbox.config.DebugFlags
- LOG_ASYNC_QUEUE - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_CACHE_ALL - Static variable in class io.objectbox.config.DebugFlags
- LOG_CACHE_ALL - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_CACHE_HITS - Static variable in class io.objectbox.config.DebugFlags
- LOG_CACHE_HITS - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_EXCEPTION_STACK_TRACE - Static variable in class io.objectbox.config.DebugFlags
-
For a limited number of error conditions, this will try to print stack traces.
- LOG_EXCEPTION_STACK_TRACE - Static variable in class io.objectbox.DebugFlags
-
Deprecated.For a limited number of error conditions, this will try to print stack traces.
- LOG_QUERIES - Static variable in class io.objectbox.config.DebugFlags
- LOG_QUERIES - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_QUERY_PARAMETERS - Static variable in class io.objectbox.config.DebugFlags
- LOG_QUERY_PARAMETERS - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_TRANSACTIONS_READ - Static variable in class io.objectbox.config.DebugFlags
- LOG_TRANSACTIONS_READ - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_TRANSACTIONS_WRITE - Static variable in class io.objectbox.config.DebugFlags
- LOG_TRANSACTIONS_WRITE - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_TREE - Static variable in class io.objectbox.config.DebugFlags
- LOG_TREE - Static variable in class io.objectbox.DebugFlags
-
Deprecated.
- LOG_WAL - Static variable in class io.objectbox.config.DebugFlags
-
Enables debug logs for write-ahead logging
- LOGGED_IN - Enum constant in enum class io.objectbox.sync.SyncState
- loginListener(SyncLoginListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to only observe Sync login events.
- LogStartStopDisabled - Static variable in class io.objectbox.sync.server.SyncServerFlags
-
By default, the Sync Server logs messages when it starts and stops; this flag disables it.
- LongArrayCondition(Property<T>, PropertyQueryConditionImpl.LongArrayCondition.Operation, long[]) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition
- LongArrayCondition(Property<T>, PropertyQueryConditionImpl.LongArrayCondition.Operation, Date[]) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition
- LongCondition(Property<T>, PropertyQueryConditionImpl.LongCondition.Operation, boolean) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongCondition
- LongCondition(Property<T>, PropertyQueryConditionImpl.LongCondition.Operation, long) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongCondition
- LongCondition(Property<T>, PropertyQueryConditionImpl.LongCondition.Operation, Date) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongCondition
- LongFlexMapConverter - Class in io.objectbox.converter
-
A
FlexObjectConverter
that usesLong
as map keys. - LongFlexMapConverter() - Constructor for class io.objectbox.converter.LongFlexMapConverter
- LongLongCondition(Property<T>, PropertyQueryConditionImpl.LongLongCondition.Operation, long, long) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition
- LongLongCondition(Property<T>, PropertyQueryConditionImpl.LongLongCondition.Operation, Date, Date) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition
- LongLongMapConverter - Class in io.objectbox.converter
-
Like
LongFlexMapConverter
, but always restores integer map values asLong
. - LongLongMapConverter() - Constructor for class io.objectbox.converter.LongLongMapConverter
- LongVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of long values.
- LongVector() - Constructor for class io.objectbox.flatbuffers.LongVector
- lt(Object) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.less(short)
instead.
M
- MANUAL - Enum constant in enum class io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Once logged in, does not request any sync updates automatically.
- max() - Method in class io.objectbox.query.PropertyQuery
-
Finds the maximum value for the given property over all Objects matching the query.
- maxDataSizeInKbyte() - Method in class io.objectbox.config.FlatStoreOptions
-
Data size tracking is more involved than DB size tracking, e.g.
- maxDataSizeInKByte(long) - Method in class io.objectbox.BoxStoreBuilder
-
Sets the maximum size the data stored in the database can grow to.
- maxDbSizeInKbyte() - Method in class io.objectbox.config.FlatStoreOptions
-
This maximum size setting is meant to prevent your database from growing to unexpected sizes, e.g.
- maxDouble() - Method in class io.objectbox.query.PropertyQuery
-
Finds the maximum value for the given property over all Objects matching the query.
- maxReaders() - Method in class io.objectbox.config.FlatStoreOptions
-
The maximum number of readers (related to read transactions).
- maxReaders(int) - Method in class io.objectbox.BoxStoreBuilder
-
Sets the maximum number of concurrent readers.
- maxSizeInKByte(long) - Method in class io.objectbox.BoxStoreBuilder
-
Sets the maximum size the database file can grow to.
- metaId - Variable in class io.objectbox.tree.LeafNode
- min() - Method in class io.objectbox.query.PropertyQuery
-
Finds the minimum value for the given property over all Objects matching the query.
- minDouble() - Method in class io.objectbox.query.PropertyQuery
-
Finds the minimum value for the given property over all objects matching the query.
- modelBytes(int) - Method in class io.objectbox.config.FlatStoreOptions
-
Provide a data model, e.g.
- modelBytesAsByteBuffer() - Method in class io.objectbox.config.FlatStoreOptions
- modelBytesInByteBuffer(ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions
- modelBytesLength() - Method in class io.objectbox.config.FlatStoreOptions
- modelBytesVector() - Method in class io.objectbox.config.FlatStoreOptions
- modelBytesVector(ByteVector) - Method in class io.objectbox.config.FlatStoreOptions
N
- name - Variable in class io.objectbox.Property
- name(int) - Static method in class io.objectbox.config.ValidateOnOpenModeKv
- name(int) - Static method in class io.objectbox.config.ValidateOnOpenModePages
- name(String) - Method in class io.objectbox.BoxStoreBuilder
-
Name of the database, which will be used as a directory for database files.
- names - Static variable in class io.objectbox.config.ValidateOnOpenModeKv
- names - Static variable in class io.objectbox.config.ValidateOnOpenModePages
- nativeFindFirst(Query<T>, long) - Static method in class io.objectbox.query.InternalAccess
- NearestNeighborCondition(Property<T>, float[], int) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.NearestNeighborCondition
- nearestNeighbors(float[], int) - Method in class io.objectbox.Property
-
Performs an approximate nearest neighbor (ANN) search to find objects near to the given
queryVector
. - nearestNeighbors(Property<T>, float[], int) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - Nested(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Structures are always stored inline, they need to be created right where they're used.
- newByteBuffer(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder.ByteBufferFactory
-
Create a `ByteBuffer` with a given capacity.
- newByteBuffer(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory
- 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.
- None - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
No additional checks are performed.
- None - Static variable in class io.objectbox.sync.CredentialsType
-
No credentials required; do not use for public/production servers.
- NONE - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- NonUniqueResultException - Exception in io.objectbox.exception
-
Thrown if
Query.findUnique()
orQuery.findUniqueId()
is called, but the query matches more than one object. - NonUniqueResultException(String) - Constructor for exception io.objectbox.exception.NonUniqueResultException
- noReaderThreadLocals() - Method in class io.objectbox.BoxStoreBuilder
-
Disables the usage of thread locals for "readers" related to read transactions.
- noReaderThreadLocals() - Method in class io.objectbox.config.FlatStoreOptions
-
Disables the usage of thread locals for "readers" related to read transactions.
- NOT_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
- NOT_EQUAL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- NOT_IN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
- NOT_IN - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
- NOT_NULL - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
- notEq(Object) - Method in class io.objectbox.Property
-
Deprecated.Use
Property.notEqual(boolean)
instead. - notEqual(boolean) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(int) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(long) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(short) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(Property<T>, boolean) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notEqual(String) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property using
StringOrder#CASE_SENSITIVE
. - notEqual(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates a "not equal ('<>')" condition for this property.
- notEqual(Date) - Method in class io.objectbox.Property
-
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>, int[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notIn(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notNested() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Should not be creating any other object, string or vector while an object is being constructed.
- notNull() - Method in class io.objectbox.Property
-
Creates an "IS NOT NULL" condition for this property.
- notNull(Property<T>) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - notOneOf(int[]) - Method in class io.objectbox.Property
-
Creates a "NOT IN (..., ..., ...)" condition for this property.
- notOneOf(long[]) - Method in class io.objectbox.Property
-
Creates a "NOT IN (..., ..., ...)" condition for this property.
- notOneOf(Date[]) - Method in class io.objectbox.Property
-
Creates a "NOT IN (..., ..., ...)" condition for this property.
- NullCondition(Property<T>, PropertyQueryConditionImpl.NullCondition.Operation) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.NullCondition
- 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
O
- ObjectsMessageBuilder - Interface in io.objectbox.sync
- objectValue - Variable in class io.objectbox.tree.LeafNode
-
One of String, byte[], String[]
- ObjectWithScore<T> - Class in io.objectbox.query
-
Wraps a matching object and a score when using
Query.findWithScores(long, long)
. - ObjectWithScore(T, double) - Constructor for class io.objectbox.query.ObjectWithScore
- observer(DataObserver<T>) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
Sets the observer for this subscription and requests the latest data to be delivered immediately.
- OBX_ADMIN_USER - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- obxAdminUser(String, String) - Static method in class io.objectbox.sync.SyncCredentials
-
ObjectBox Admin user (username and password).
- ObxAdminUser - Static variable in class io.objectbox.sync.CredentialsType
-
Use ObjectBox Admin users for Sync authentication.
- offset() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Offset relative to the end of the buffer.
- OK - Static variable in class io.objectbox.sync.SyncLoginCodes
- on(Scheduler) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
Changes the thread in which the
DataObserver
(and potentially @ErrorObserver
) is called. - 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.
- oneOf(int[]) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- oneOf(long[]) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- oneOf(String[]) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property using
StringOrder#CASE_SENSITIVE
. - oneOf(String[], QueryBuilder.StringOrder) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- oneOf(Date[]) - Method in class io.objectbox.Property
-
Creates an "IN (..., ..., ...)" condition for this property.
- onError(ErrorObserver) - Method in class io.objectbox.reactive.SubscriptionBuilder
-
The given
ErrorObserver
is notified when theDataTransformer
(SubscriptionBuilder.transform(DataTransformer)
) orDataObserver
(SubscriptionBuilder.observer(DataObserver)
) threw an exception. - onError(Throwable) - Method in interface io.objectbox.reactive.ErrorObserver
-
Called when an exception was thrown.
- 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
-
Upon subscribing do not deliver the latest data, only once there are changes.
- 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.
- onServerTimeUpdate(long) - Method in class io.objectbox.sync.listener.AbstractSyncListener
- onServerTimeUpdate(long) - Method in interface io.objectbox.sync.listener.SyncTimeListener
-
Called when server time information is received on the client.
- 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.
- or(QueryCondition<T>) - Method in interface io.objectbox.query.QueryCondition
-
Combines this condition using OR with the given condition.
- or(QueryCondition<T>) - Method in class io.objectbox.query.PropertyQueryConditionImpl
- 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
P
- pad(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add zero valued bytes to prepare a new entry to be added.
- PagesCorruptException - Exception in io.objectbox.exception
-
Errors related to pages were detected in a database file, e.g.
- PagesCorruptException(String) - Constructor for exception io.objectbox.exception.PagesCorruptException
- PagesCorruptException(String, int) - Constructor for exception io.objectbox.exception.PagesCorruptException
- panicModeRemoveAll() - Method in class io.objectbox.Box
-
WARNING: this method should generally be avoided as it is not transactional and thus may leave the DB in an inconsistent state.
- parameterAlias(String) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - peek(int) - Method in class io.objectbox.query.LazyList
-
Like get but does not load the entity if it was not loaded before.
- peer(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Deprecated.Use
clusterPeer(url, SyncCredentials.none())
instead. - peer(String, SyncCredentials) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Deprecated.
- Platform - Class in io.objectbox.sync.internal
-
Provides access to platform-specific features.
- Platform() - Constructor for class io.objectbox.sync.internal.Platform
- prep(int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Prepare to write an element of `size` after `additional_bytes` have been written, e.g.
- previous() - Method in class io.objectbox.query.LazyList.LazyIterator
-
FIXME: before previous(), next() must be called.
- previousIndex() - Method in class io.objectbox.query.LazyList.LazyIterator
- property - Variable in class io.objectbox.query.PropertyQueryConditionImpl
- property(Property<T>) - Method in class io.objectbox.query.Query
-
Creates a
PropertyQuery
for the given property. - Property<ENTITY> - Class in io.objectbox
-
Meta data describing a Property of an ObjectBox Entity.
- Property(EntityInfo<ENTITY>, int, int, Class<?>, String) - Constructor for class io.objectbox.Property
- Property(EntityInfo<ENTITY>, int, int, Class<?>, String, boolean) - Constructor for class io.objectbox.Property
- Property(EntityInfo<ENTITY>, int, int, Class<?>, String, boolean, boolean, String, Class<? extends PropertyConverter>, Class<?>) - Constructor for class io.objectbox.Property
- Property(EntityInfo<ENTITY>, int, int, Class<?>, String, boolean, String) - Constructor for class io.objectbox.Property
- Property(EntityInfo<ENTITY>, int, int, Class<?>, String, boolean, String, Class<? extends PropertyConverter>, Class<?>) - Constructor for class io.objectbox.Property
- PropertyQuery - Class in io.objectbox.query
-
Query for a specific property; create using
Query.property(Property)
. - PropertyQueryCondition<T> - Interface in io.objectbox.query
-
A condition on a
Property
, which can have an alias to allow referring to it later. - PropertyQueryConditionImpl<T> - Class in io.objectbox.query
-
Property
based query conditions with implementations split by number and type of values, such asLongCondition
,LongLongCondition
,LongArrayCondition
and the generalNullCondition
. - PropertyQueryConditionImpl.ByteArrayCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.ByteArrayCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.DoubleCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.DoubleCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.DoubleDoubleCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.DoubleDoubleCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.IntArrayCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.IntArrayCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.LongArrayCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.LongArrayCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.LongCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.LongCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.LongLongCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.LongLongCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.NearestNeighborCondition<T> - Class in io.objectbox.query
-
Conditions for properties with an
HnswIndex
. - PropertyQueryConditionImpl.NullCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.NullCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.StringArrayCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.StringArrayCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.StringCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.StringCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.StringDoubleCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.StringDoubleCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.StringLongCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.StringLongCondition.Operation - Enum Class in io.objectbox.query
- PropertyQueryConditionImpl.StringStringCondition<T> - Class in io.objectbox.query
- PropertyQueryConditionImpl.StringStringCondition.Operation - Enum Class in io.objectbox.query
- provide() - Method in interface io.objectbox.Factory
- publicKey() - Method in class io.objectbox.sync.server.JwtConfig
-
Fixed public key used to sign JWT tokens; e.g.
- publicKeyAsByteBuffer() - Method in class io.objectbox.sync.server.JwtConfig
- publicKeyCacheExpirationSeconds() - Method in class io.objectbox.sync.server.JwtConfig
-
Cache expiration time in seconds for the public key(s) fetched from publicKeyUrl.
- publicKeyInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- publicKeyUrl() - Method in class io.objectbox.sync.server.JwtConfig
-
URL to fetch the current public key used to verify JWT signatures.
- publicKeyUrlAsByteBuffer() - Method in class io.objectbox.sync.server.JwtConfig
- publicKeyUrlInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- publish() - Method in class io.objectbox.query.Query
-
Publishes the current data to all subscribed @
DataObserver
s. - publishSingle(DataObserver<T>, Object) - Method in interface io.objectbox.reactive.DataPublisher
- put(byte) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- put(byte) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- put(byte) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a byte into the buffer at
writePosition()
. - put(byte[], int, int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- put(byte[], int, int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- put(byte[], int, int) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Put an array of bytes into the buffer at
writePosition()
. - put(Leaf) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data leaf (containing a data value).
- put(Collection<T>) - Method in class io.objectbox.Box
-
Puts the given entities in a box using a single transaction.
- put(T) - Method in class io.objectbox.Box
-
Puts the given object and returns its (new) ID.
- put(T...) - Method in class io.objectbox.Box
-
Puts the given entities in a box using a single transaction.
- putBatched(Collection<T>, int) - Method in class io.objectbox.Box
-
Puts the given entities in a box in batches using a separate transaction for each batch.
- putBlob(byte[]) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a byte array into the message
- putBlob(String, byte[]) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a byte array into the message
- putBoolean(boolean) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putBoolean(boolean) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putBoolean(boolean) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `boolean` to the buffer, backwards from the current location.
- putBoolean(boolean) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Insert a single boolean into the buffer
- putBoolean(boolean) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Put a boolean into the buffer at
writePosition()
. - putBoolean(String, boolean) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Insert a single boolean into the buffer
- putBranch(long, long) - Method in class io.objectbox.tree.Tree
-
Put a new (inserts) data branch
- putBranch(long, long, long, String) - Method in class io.objectbox.tree.Tree
-
Put a new or existing data branch
- putBranch(long, long, String) - Method in class io.objectbox.tree.Tree
-
Put a new (inserts) data branch
- putByte(byte) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `byte` to the buffer, backwards from the current location.
- putDouble(double) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putDouble(double) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putDouble(double) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `double` to the buffer, backwards from the current location.
- putDouble(double) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a 64-bit float into the buffer at
writePosition()
. - putFloat(double) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 64-bit float into the buff.
- putFloat(float) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putFloat(float) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putFloat(float) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `float` to the buffer, backwards from the current location.
- putFloat(float) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 32-bit float into the buff.
- putFloat(float) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a 32-bit float into the buffer at
writePosition()
. - putFloat(String, double) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 64-bit float into the buff.
- putFloat(String, float) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 32-bit float into the buff.
- putInt(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putInt(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putInt(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add an `int` to the buffer, backwards from the current location.
- putInt(int) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a integer into the buff
- putInt(int) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a 32-bit into in the buffer at
writePosition()
. - putInt(long) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 64-bit integer into the buff
- putInt(String, int) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a integer into the buff
- putInt(String, long) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a integer into the buff
- putLong(long) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putLong(long) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putLong(long) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `long` to the buffer, backwards from the current location.
- putLong(long) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a 64-bit into in the buffer at
writePosition()
. - putMetaBranch(long, long, String) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a branch in the metamodel.
- putMetaBranch(long, long, String, String) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a branch in the metamodel with an optional description.
- putMetaBranches(long, String[]) - Method in class io.objectbox.tree.Tree
-
Puts (persists) several branches in the metamodel from the given parent ID (must be a meta branch).
- putMetaBranches(String[]) - Method in class io.objectbox.tree.Tree
-
Puts (persists) several branches in the metamodel to create the given path from the root.
- putMetaLeaf(long, long, String, short) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data leaf in the metamodel (describes values).
- putMetaLeaf(long, long, String, short, boolean) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data leaf in the metamodel (describes values).
- putMetaLeaf(long, long, String, short, boolean, String) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data leaf in the metamodel (describes values).
- putNull() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Insert a null value into the buffer
- putNull(String) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Insert a null value into the buffer
- putPaddingMode() - Method in class io.objectbox.config.FlatStoreOptions
-
Don't touch unless you know exactly what you are doing: Advanced setting typically meant for language bindings (not end users).
- putShort(short) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- putShort(short) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- putShort(short) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Add a `short` to the buffer, backwards from the current location.
- putShort(short) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write a 16-bit into in the buffer at
writePosition()
. - putString(String) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a String into the buffer
- putString(String, String) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a String into the buffer
- putUInt(int) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a unsigned integer into the buff.
- putUInt(long) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a unsigned integer (stored in a signed 64-bit integer) into the buff.
- putUInt64(BigInteger) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Adds a 64-bit unsigned integer (stored as
BigInteger
) into the buff. - putValue(long, long, double) - Method in class io.objectbox.tree.Tree
-
Puts (inserts) a new data value (using a data leaf).
- putValue(long, long, long) - Method in class io.objectbox.tree.Tree
-
Puts (inserts) a new data value (using a data leaf).
- putValue(long, long, long, double) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data value (using a data leaf).
- putValue(long, long, long, long) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data value (using a data leaf).
- putValue(long, long, long, String) - Method in class io.objectbox.tree.Tree
-
Puts (persists) a data value (using a data leaf).
- putValue(long, long, String) - Method in class io.objectbox.tree.Tree
-
Puts (inserts) a new data value (using a data leaf).
Q
- query() - Method in class io.objectbox.Box
-
Create a query with no conditions.
- query(QueryCondition<T>) - Method in class io.objectbox.Box
-
Applies the given query conditions and returns the builder for further customization, such as result order.
- Query<T> - Class in io.objectbox.query
-
A repeatable Query returning the latest matching objects.
- queryAttempts(int) - Method in class io.objectbox.BoxStoreBuilder
-
For massive concurrent setups (app is using a lot of threads), you can enable automatic retries for queries.
- QueryBuilder<T> - Class in io.objectbox.query
-
Builds a
Query
using conditions which can then be used to return a list of matching Objects. - QueryBuilder(Box<T>, long, String) - Constructor for class io.objectbox.query.QueryBuilder
- QueryBuilder.StringOrder - Enum Class in io.objectbox.query
- QueryCondition<T> - Interface in io.objectbox.query
-
Allows building queries with a fluent interface.
- QueryConsumer<T> - Interface in io.objectbox.query
- QueryFilter<T> - Interface in io.objectbox.query
-
Decides which entities to keep as a query result.
- QueryThreadLocal<T> - Class in io.objectbox.query
- QueryThreadLocal(Query<T>) - Constructor for class io.objectbox.query.QueryThreadLocal
-
See
QueryThreadLocal
.
R
- ReadBuf - Interface in io.objectbox.flatbuffers
-
Represent a chunk of data, where FlexBuffers will read from.
- readOnly() - Method in class io.objectbox.BoxStoreBuilder
-
Open the store in read-only mode: no schema update, no write transactions are allowed (would throw).
- readOnly() - Method in class io.objectbox.config.FlatStoreOptions
-
Open store in read-only mode: no schema update, no write transactions.
- ReadWriteBuf - Interface in io.objectbox.flatbuffers
-
Interface to represent a read-write buffer.
- Regular - Static variable in class io.objectbox.config.ValidateOnOpenModeKv
-
Performs standard checks.
- Regular - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
Performs a limited number of checks on the most important database structures (e.g.
- relationCount(int) - Method in class io.objectbox.relation.RelationInfo
-
Creates a condition to match objects that have
relationCount
related objects pointing to them. - relationCount(RelationInfo<T, ?>, int) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - RelationCountCondition<T> - Class in io.objectbox.query
- RelationCountCondition(RelationInfo<T, ?>, int) - Constructor for class io.objectbox.query.RelationCountCondition
- 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>, ToManyGetter<SOURCE, TARGET>, int) - Constructor for class io.objectbox.relation.RelationInfo
-
Stand-alone ToMany.
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE, TARGET>, ToManyGetter<TARGET, SOURCE>, int) - Constructor for class io.objectbox.relation.RelationInfo
-
ToMany as a ToMany backlink
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE, TARGET>, Property<TARGET>, ToOneGetter<TARGET, SOURCE>) - Constructor for class io.objectbox.relation.RelationInfo
-
ToMany as a ToOne backlink
- RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, Property<SOURCE>, ToOneGetter<SOURCE, TARGET>) - Constructor for class io.objectbox.relation.RelationInfo
-
ToOne
- releaseByteBuffer(ByteBuffer) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder.ByteBufferFactory
-
Release a ByteBuffer.
- remove() - Method in class io.objectbox.query.LazyList.LazyIterator
- remove() - Method in class io.objectbox.query.Query
-
Removes (deletes) all Objects matching the query
- remove(int) - Method in class io.objectbox.query.LazyList
- remove(int) - Method in class io.objectbox.relation.ToMany
-
Like
ToMany.remove(Object)
, but using the location of the target object. - remove(long) - Method in class io.objectbox.Box
-
Removes (deletes) the object with the given ID.
- remove(long...) - Method in class io.objectbox.Box
-
Like
Box.remove(long)
, but removes multiple objects in a single transaction. - remove(Object) - Method in class io.objectbox.query.LazyList
- remove(Object) - Method in class io.objectbox.relation.ToMany
-
Prepares to remove the target object from this relation.
- remove(Collection<T>) - Method in class io.objectbox.Box
-
Like
Box.remove(Object)
, but removes multiple objects in a single transaction. - remove(T) - Method in class io.objectbox.Box
-
Like
Box.remove(long)
, but obtains the ID from the@Id
property of the given object instead. - remove(T...) - Method in class io.objectbox.Box
-
Like
Box.remove(Object)
, but removes multiple objects in a single transaction. - removeAll() - Method in class io.objectbox.Box
-
Like
Box.remove(long)
, but removes 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
-
Like
ToMany.remove(Object)
, but using just the ID of the target object. - removeByIds(Collection<Long>) - Method in class io.objectbox.Box
-
Like
Box.remove(long)
, but removes multiple objects in a single transaction. - removeByKeys(Collection<Long>) - Method in class io.objectbox.Box
-
Deprecated.use
Box.removeByIds(Collection)
instead. - removeSizePrefix(ByteBuffer) - Static method in class io.objectbox.flatbuffers.ByteBufferUtil
-
Create a duplicate of a size-prefixed `ByteBuffer` that has its position advanced just past the size prefix.
- REQ_REJECTED - Static variable in class io.objectbox.sync.SyncLoginCodes
- requestCapacity(int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- requestCapacity(int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- requestCapacity(int) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Request capacity of the buffer.
- 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
- required(int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Checks that a required field has been set in a given table that has just been constructed.
- requiredCredentials(int) - Method in class io.objectbox.sync.server.SyncServerOptions
-
Credential types that are required for clients logging in.
- requiredCredentialsAsByteBuffer() - Method in class io.objectbox.sync.server.SyncServerOptions
- requiredCredentialsInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- requiredCredentialsLength() - Method in class io.objectbox.sync.server.SyncServerOptions
- requiredCredentialsVector() - Method in class io.objectbox.sync.server.SyncServerOptions
- requiredCredentialsVector(IntVector) - Method in class io.objectbox.sync.server.SyncServerOptions
- reset() - Method in class io.objectbox.flatbuffers.BaseVector
-
Resets the internal state with a null
ByteBuffer
and a zero position. - 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 (cached) objects of this list, so they will be re-loaded when accessing this list again.
- retainAll(Collection<?>) - Method in class io.objectbox.query.LazyList
- retainAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
- run(RunWithParam<T>, T) - Method in interface io.objectbox.reactive.Scheduler
- run(T) - Method in interface io.objectbox.reactive.RunWithParam
- RUN_THREADING_SELF_TEST - Static variable in class io.objectbox.config.DebugFlags
-
Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
- RUN_THREADING_SELF_TEST - Static variable in class io.objectbox.DebugFlags
-
Deprecated.Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
- runInReadTx(Runnable) - Method in class io.objectbox.BoxStore
-
Runs the given runnable inside a read(-only) transaction.
- runInReadTx(Runnable) - Method in class io.objectbox.tree.Tree
-
Similar to
BoxStore.runInReadTx(Runnable)
, but allows Tree functions. - runInTx(Runnable) - Method in class io.objectbox.BoxStore
-
Runs the given runnable inside a transaction.
- runInTx(Runnable) - Method in class io.objectbox.tree.Tree
-
Similar to
BoxStore.runInTx(Runnable)
, but allows Tree functions. - 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
S
- Scheduler - Interface in io.objectbox.reactive
- send() - Method in interface io.objectbox.sync.ObjectsMessageBuilder
-
Sends the message, returns true if successful.
- send() - Method in class io.objectbox.sync.SyncClientImpl.ObjectsMessageBuilderImpl
- server(BoxStore, String, SyncCredentials) - Static method in class io.objectbox.sync.Sync
-
Starts building a
SyncServer
. - server(BoxStore, String, SyncCredentials[]) - Static method in class io.objectbox.sync.Sync
-
Like
Sync.server(BoxStore, String, SyncCredentials)
, but supports passing a set of authentication methods for clients and peers. - serverBuilder() - Method in class io.objectbox.sync.SyncHybridBuilder
-
Returns the builder of the server of the hybrid for additional configuration.
- set(int, byte) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- set(int, byte) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- set(int, byte) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a byte from data.
- set(int, byte[], int, int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- set(int, byte[], int, int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- set(int, byte[], int, int) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write an array of bytes into the buffer.
- set(int, E) - Method in class io.objectbox.query.LazyList
- set(int, TARGET) - Method in class io.objectbox.relation.ToMany
- set(E) - Method in class io.objectbox.query.LazyList.LazyIterator
- 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.
- setBoolean(int, boolean) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setBoolean(int, boolean) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setBoolean(int, boolean) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Write boolean into a given position on the buffer.
- 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.
- setDefault(Utf8) - Static method in class io.objectbox.flatbuffers.Utf8
-
Set the default instance of the UTF-8 processor.
- setDouble(double) - Method in class io.objectbox.tree.Leaf
- setDouble(int, double) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setDouble(int, double) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setDouble(int, double) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a 64-bit float from data.
- setFloat(int, float) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setFloat(int, float) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setFloat(int, float) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a 32-bit float from data.
- setInt(int, int) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setInt(int, int) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setInt(int, int) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a 32-bit int from data.
- setInt(long) - Method in class io.objectbox.tree.Leaf
- 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 credentials used to authenticate with the server.
- setLoginCredentials(SyncCredentials) - Method in class io.objectbox.sync.SyncClientImpl
- setLoginCredentials(SyncCredentials[]) - Method in interface io.objectbox.sync.SyncClient
-
Like
SyncClient.setLoginCredentials(SyncCredentials)
, but allows setting multiple credentials. - setLoginCredentials(SyncCredentials[]) - Method in class io.objectbox.sync.SyncClientImpl
- setLong(int, long) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setLong(int, long) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setLong(int, long) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a 64-bit long from data.
- setParameter(Property<?>, 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(Property<?>, double) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value. - setParameter(Property<?>, float[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition for
property
to a newvalue
. - setParameter(Property<?>, int[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition for
property
to a newvalue
. - setParameter(Property<?>, long) - 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
-
Changes the parameter of the query condition for
property
to a newvalue
. - setParameter(Property<?>, String) - Method in class io.objectbox.query.Query
-
Sets a parameter previously given to the
QueryBuilder
to a new value. - setParameter(Property<?>, String[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition for
property
to a newvalue
. - setParameter(Property<?>, Date) - 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
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, byte[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, double) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, float[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, int[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, long) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, long[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, String) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, String[]) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameter(String, Date) - Method in class io.objectbox.query.Query
-
Changes the parameter of the query condition with the matching
alias
to a newvalue
. - setParameters(Property<?>, double, double) - 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
-
Deprecated.Use
Query.setParameter(Property, int[])
instead. - setParameters(Property<?>, long[]) - Method in class io.objectbox.query.Query
-
Deprecated.Use
Query.setParameter(Property, long[])
instead. - setParameters(Property<?>, long, long) - 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
-
Deprecated.Use
Query.setParameter(Property, String[])
instead. - setParameters(Property<?>, String, String) - 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
-
Changes the parameters of the query condition with the matching
alias
to the new values. - setParameters(String, int[]) - Method in class io.objectbox.query.Query
-
Deprecated.Use
Query.setParameter(String, int[])
instead. - setParameters(String, long[]) - Method in class io.objectbox.query.Query
-
Deprecated.Use
Query.setParameter(String, long[])
instead. - setParameters(String, long, long) - Method in class io.objectbox.query.Query
-
Changes the parameters of the query condition with the matching
alias
to the new values. - setParameters(String, String[]) - Method in class io.objectbox.query.Query
-
Deprecated.Use
Query.setParameter(String, String[])
instead. - setParameters(String, String, String) - Method in class io.objectbox.query.Query
-
Changes the parameters of the query condition with the matching
alias
to the new values. - setPathSeparatorRegex(String) - Method in class io.objectbox.tree.Tree
-
E.g.
- setRemoveFromTargetBox(boolean) - Method in class io.objectbox.relation.ToMany
-
On put, this also deletes removed entities from the target Box.
- setShort(int, short) - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- setShort(int, short) - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- setShort(int, short) - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
-
Read a short from data.
- setString(String) - Method in class io.objectbox.tree.Leaf
- setStringArray(String[]) - Method in class io.objectbox.tree.Leaf
- setSyncChangeListener(SyncChangeListener) - Method in interface io.objectbox.sync.server.SyncServer
-
Sets a
SyncChangeListener
. - setSyncChangeListener(SyncChangeListener) - Method in class io.objectbox.sync.server.SyncServerImpl
- setSyncChangeListener(SyncChangeListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a
SyncChangeListener
. - 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
- setSyncTimeListener(SyncTimeListener) - Method in interface io.objectbox.sync.SyncClient
-
Sets a
SyncTimeListener
. - setSyncTimeListener(SyncTimeListener) - Method in class io.objectbox.sync.SyncClientImpl
- setTarget(TARGET) - Method in class io.objectbox.relation.ToOne
-
Prepares to set the target object of this relation.
- setTargetId(long) - Method in class io.objectbox.relation.ToOne
-
Prepares to set the target of this relation to the object with the given ID.
- SHARED_SECRET_SIPPED - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- sharedSecret(byte[]) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a shared secret.
- sharedSecret(String) - Static method in class io.objectbox.sync.SyncCredentials
-
Authenticate with a shared secret.
- SharedSecret - Static variable in class io.objectbox.sync.CredentialsType
-
Deprecated, replaced by SHARED_SECRET_SIPPED
- SharedSecretSipped - Static variable in class io.objectbox.sync.CredentialsType
-
Use shared secret to create a SipHash and make attacks harder than just copy&paste.
- ShortVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of signed or unsigned 16-bit values.
- ShortVector() - Constructor for class io.objectbox.flatbuffers.ShortVector
- shouldRestoreAsLong(FlexBuffers.Reference) - Method in class io.objectbox.converter.FlexObjectConverter
-
Returns true if the width in bytes stored in the private parentWidth field of FlexBuffers.Reference is 8.
- shouldRestoreAsLong(FlexBuffers.Reference) - Method in class io.objectbox.converter.IntegerLongMapConverter
- shouldRestoreAsLong(FlexBuffers.Reference) - Method in class io.objectbox.converter.LongLongMapConverter
- shouldRestoreAsLong(FlexBuffers.Reference) - Method in class io.objectbox.converter.StringLongMapConverter
- single() - Method in class io.objectbox.reactive.SubscriptionBuilder
-
Only deliver the latest data once, do not subscribe for data changes.
- size - Variable in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
- size() - Method in class io.objectbox.flatbuffers.FlexBuffers.KeyVector
-
Returns size of key vector
- size() - Method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
- size() - Method in class io.objectbox.query.LazyList
- size() - Method in class io.objectbox.relation.ToMany
- SIZE_PREFIX_LENGTH - Static variable in class io.objectbox.flatbuffers.Constants
-
The number of bytes in a size prefix.
- sizedByteArray() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
A utility function to copy and return the ByteBuffer data as a `byte[]`.
- sizedByteArray(int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
A utility function to copy and return the ByteBuffer data from `start` to `start` + `length` as a `byte[]`.
- sizedInputStream() - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
A utility function to return an InputStream to the ByteBuffer data
- sizeOnDisk() - Method in class io.objectbox.BoxStore
-
Deprecated.Use
BoxStore.getDbSize()
orBoxStore.getDbSizeOnDisk()
instead which properly handle in-memory databases. - skipReadSchema() - Method in class io.objectbox.config.FlatStoreOptions
-
Advanced setting meant only for special scenarios: opens the database in a limited, schema-less mode.
- slot(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Set the current vtable at `voffset` to the current location in the buffer.
- 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 object ID).
- sortTables(int[], ByteBuffer) - Method in class io.objectbox.flatbuffers.Table
-
Sort tables by the key.
- 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
- startAuthenticationMethodsVector(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- startBytesVector(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.Credentials
- startClusterPeerConfig(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- startClusterPeersVector(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- startCredentials(FlatBufferBuilder) - Static method in class io.objectbox.sync.Credentials
- STARTED - Enum constant in enum class io.objectbox.sync.SyncState
- startFlatStoreOptions(FlatBufferBuilder) - Static method in class io.objectbox.config.FlatStoreOptions
- startJwtConfig(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.JwtConfig
- startMap() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Start a new map in the buffer.
- startModelBytesVector(FlatBufferBuilder, int) - Static method in class io.objectbox.config.FlatStoreOptions
- startObjectBrowser() - Method in class io.objectbox.BoxStore
- startObjectBrowser(int) - Method in class io.objectbox.BoxStore
- startObjectBrowser(String) - Method in class io.objectbox.BoxStore
- startObjectsMessage(long, String) - Method in interface io.objectbox.sync.SyncClient
-
Experimental.
- startObjectsMessage(long, String) - Method in class io.objectbox.sync.SyncClientImpl
- startRequiredCredentialsVector(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.server.SyncServerOptions
- STARTS_WITH - Enum constant in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
- startStringsVector(FlatBufferBuilder, int) - Static method in class io.objectbox.sync.Credentials
- startsWith(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
-
Note: New code should use the
new query API
. - startsWith(String) - Method in class io.objectbox.Property
-
Creates a starts with condition using
StringOrder#CASE_SENSITIVE
. - startsWith(String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
- startSyncServerOptions(FlatBufferBuilder) - Static method in class io.objectbox.sync.server.SyncServerOptions
- startTable(int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start encoding a new object in the buffer.
- startVector() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
-
Start a new vector in the buffer.
- startVector(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
-
Start a new array/vector of objects.
- 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
- stop() - Method in class io.objectbox.sync.SyncHybrid
-
Stops the client and server.
- stopObjectBrowser() - Method in class io.objectbox.BoxStore
- STOPPED - Enum constant in enum class io.objectbox.sync.SyncState
- StringArrayCondition(Property<T>, PropertyQueryConditionImpl.StringArrayCondition.Operation, String[]) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition
- StringArrayCondition(Property<T>, PropertyQueryConditionImpl.StringArrayCondition.Operation, String[], QueryBuilder.StringOrder) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition
- StringCondition(Property<T>, PropertyQueryConditionImpl.StringCondition.Operation, String) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringCondition
- StringCondition(Property<T>, PropertyQueryConditionImpl.StringCondition.Operation, String, QueryBuilder.StringOrder) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringCondition
- StringDoubleCondition(Property<T>, PropertyQueryConditionImpl.StringDoubleCondition.Operation, String, double) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition
- StringFlexMapConverter - Class in io.objectbox.converter
- StringFlexMapConverter() - Constructor for class io.objectbox.converter.StringFlexMapConverter
- StringLongCondition(Property<T>, PropertyQueryConditionImpl.StringLongCondition.Operation, String, long) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition
- StringLongMapConverter - Class in io.objectbox.converter
-
Like
StringFlexMapConverter
, but always restores integer map values asLong
. - StringLongMapConverter() - Constructor for class io.objectbox.converter.StringLongMapConverter
- StringMapConverter - Class in io.objectbox.converter
-
Converts a String map entity property to a byte array database value using FlexBuffers.
- StringMapConverter() - Constructor for class io.objectbox.converter.StringMapConverter
- strings(int) - Method in class io.objectbox.sync.Credentials
-
Credentials provided by a string array.
- stringsLength() - Method in class io.objectbox.sync.Credentials
- StringStringCondition(Property<T>, PropertyQueryConditionImpl.StringStringCondition.Operation, String, String, QueryBuilder.StringOrder) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition
- stringsVector() - Method in class io.objectbox.sync.Credentials
- stringsVector(StringVector) - Method in class io.objectbox.sync.Credentials
- StringVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of String.
- StringVector() - Constructor for class io.objectbox.flatbuffers.StringVector
- Struct - Class in io.objectbox.flatbuffers
-
All structs in the generated code derive from this class, and add their own accessors.
- Struct() - Constructor for class io.objectbox.flatbuffers.Struct
- 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() - Method in class io.objectbox.query.Query
-
A
DataObserver
can be subscribed to data changes using the returned builder. - subscribe(DataObserver<T>, Object) - Method in interface io.objectbox.reactive.DataPublisher
- subscribe(DataSubscriptionList) - Method in class io.objectbox.query.Query
-
Convenience for
Query.subscribe()
with a subsequent call toSubscriptionBuilder.dataSubscriptionList(DataSubscriptionList)
. - subscribe(Class<T>) - Method in class io.objectbox.BoxStore
-
Like
BoxStore.subscribe()
, but wires the supplied @DataObserver
only to the given object class for notifications. - SubscriptionBuilder<T> - Class in io.objectbox.reactive
- SubscriptionBuilder(DataPublisher<T>, Object) - 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
-
ObjectBox Sync makes data available on other devices.
- SyncBuilder - Class in io.objectbox.sync
-
A builder to create a
SyncClient
; the builder itself should be created viaSync.client(BoxStore, String, SyncCredentials)
. - SyncBuilder(BoxStore, SyncCredentials) - Constructor for class io.objectbox.sync.SyncBuilder
-
When using this constructor, make sure to set the server URL before starting.
- SyncBuilder(BoxStore, String, SyncCredentials) - Constructor for class io.objectbox.sync.SyncBuilder
- SyncBuilder(BoxStore, String, SyncCredentials[]) - Constructor for class io.objectbox.sync.SyncBuilder
- SyncBuilder.RequestUpdatesMode - Enum Class in io.objectbox.sync
- SyncChange - Class in io.objectbox.sync
-
A collection of changes made to one entity type during a sync transaction.
- SyncChange(int, long[], long[]) - Constructor for class io.objectbox.sync.SyncChange
- SyncChange(long, long[], long[]) - Constructor for class io.objectbox.sync.SyncChange
-
Deprecated.
- 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.
- SyncClientImpl.ObjectsMessageBuilderImpl - Class in io.objectbox.sync
- 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
-
Use the static helper methods to build Sync credentials, for example
SyncCredentials.sharedSecret("secret")
. - SyncCredentials.CredentialsType - Enum Class in io.objectbox.sync
- SyncCredentialsToken - Class in io.objectbox.sync
-
Internal credentials implementation.
- SyncCredentialsUserPassword - Class in io.objectbox.sync
-
Internal credentials implementation for user and password authentication.
- syncFlags() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Bit flags to configure the Sync Server that are also shared with Sync clients.
- syncFlags(int) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets bit flags to adjust Sync behavior, like additional logging.
- SyncFlags - Class in io.objectbox.sync
-
Flags to adjust sync behavior like additional logging.
- SyncHybrid - Class in io.objectbox.sync
-
Combines the functionality of a Sync client and a Sync server.
- SyncHybridBuilder - Class in io.objectbox.sync
-
Builder for a Sync client and server hybrid setup, a
SyncHybrid
. - SyncListener - Interface in io.objectbox.sync.listener
-
This listener has callback methods invoked by all fundamental synchronization events.
- SyncLoginCodes - Class in io.objectbox.sync
-
Codes used by
SyncLoginListener.onLoginFailed(long)
. - 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
-
Use
Sync.server(BoxStore, String, SyncCredentials)
instead. - SyncServerBuilder(BoxStore, String, SyncCredentials[]) - Constructor for class io.objectbox.sync.server.SyncServerBuilder
-
Use
Sync.server(BoxStore, String, SyncCredentials)
instead. - syncServerFlags() - Method in class io.objectbox.sync.server.SyncServerOptions
-
Bit flags to configure the Sync Server.
- syncServerFlags(int) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets bit flags to configure the Sync server.
- SyncServerFlags - Class in io.objectbox.sync.server
-
Bit flags to configure the Sync Server.
- SyncServerImpl - Class in io.objectbox.sync.server
-
Internal sync server implementation.
- SyncServerOptions - Class in io.objectbox.sync.server
-
The Sync server configuration used to configure a starting Sync Server.
- SyncServerOptions() - Constructor for class io.objectbox.sync.server.SyncServerOptions
- SyncServerOptions.Vector - Class in io.objectbox.sync.server
- SyncState - Enum Class in io.objectbox.sync
-
Returned by
SyncClientImpl.getSyncState()
. - SyncTimeListener - Interface in io.objectbox.sync.listener
- sysProcMeminfoKb(String) - Static method in class io.objectbox.BoxStore
-
Linux only: extracts a kB value from /proc/meminfo (system wide memory information).
- sysProcStatusKb(String) - Static method in class io.objectbox.BoxStore
-
Linux only: extracts a kB value from /proc/self/status (process specific information).
T
- Table - Class in io.objectbox.flatbuffers
-
All tables in the generated code derive from this class, and add their own accessors.
- Table() - Constructor for class io.objectbox.flatbuffers.Table
- 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).
- timeListener(SyncTimeListener) - Method in class io.objectbox.sync.SyncBuilder
-
Sets a listener to only observe Sync time events.
- toArray() - Method in class io.objectbox.query.LazyList
- toArray() - Method in class io.objectbox.relation.ToMany
- toArray(T[]) - Method in class io.objectbox.query.LazyList
- toArray(T[]) - Method in class io.objectbox.relation.ToMany
- ToMany<TARGET> - Class in io.objectbox.relation
-
A to-many relation of an entity that references multiple objects of a
ToMany
entity. - 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
-
A to-one relation of an entity that references one object of a
ToOne
entity. - 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.flatbuffers.FlexBuffers.Blob
-
Returns a text(JSON) representation of the
FlexBuffers.Blob
- toString() - Method in class io.objectbox.flatbuffers.FlexBuffers.Key
- toString() - Method in class io.objectbox.flatbuffers.FlexBuffers.KeyVector
-
Returns a text(JSON) representation
- toString() - Method in class io.objectbox.flatbuffers.FlexBuffers.TypedVector
- toString() - Method in class io.objectbox.flatbuffers.FlexBuffers.Reference
-
Returns text representation of the element (JSON)
- toString() - Method in class io.objectbox.Property
- toString() - Method in class io.objectbox.relation.RelationInfo
- toString(StringBuilder) - Method in class io.objectbox.flatbuffers.FlexBuffers.Blob
-
Append a text(JSON) representation of the
FlexBuffers.Blob
into a `StringBuilder` - toString(StringBuilder) - Method in class io.objectbox.flatbuffers.FlexBuffers.Key
-
Appends a text(JSON) representation to a `StringBuilder`
- toString(StringBuilder) - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
-
Writes text (json) representation of map in a
StringBuilder
. - toString(StringBuilder) - Method in class io.objectbox.flatbuffers.FlexBuffers.Vector
-
Appends a text(JSON) representation to a `StringBuilder`
- 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 some other type.
- Tree - Class in io.objectbox.tree
-
A higher level tree API operating on branch and leaf nodes.
- Tree(BoxStore, long) - Constructor for class io.objectbox.tree.Tree
-
Create a tree instance for the given data-branch root ID.
- Tree(BoxStore, String) - Constructor for class io.objectbox.tree.Tree
-
Create a tree instance for the given meta-branch root
uid
, or find a singular root if 0 is given. - TreeOptionFlags - Class in io.objectbox.config
-
Options flags for trees.
- 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
-
Callback to be used for
BoxStore.runInTxAsync(Runnable, TxCallback)
andBoxStore.callInTxAsync(Callable, TxCallback)
. - 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.
- type() - Method in class io.objectbox.sync.Credentials
U
- uncommittedAcks() - Method in class io.objectbox.sync.SyncBuilder
-
Turns on sending of uncommitted acks.
- UnionVector - Class in io.objectbox.flatbuffers
-
Helper type for accessing vector of unions.
- UnionVector() - Constructor for class io.objectbox.flatbuffers.UnionVector
- unique() - Method in class io.objectbox.query.PropertyQuery
-
For find methods returning single values, e.g.
- UniqueViolationException - Exception in io.objectbox.exception
-
Thrown when a @
Unique
constraint would be violated during a put operation. - UniqueViolationException(String) - Constructor for exception io.objectbox.exception.UniqueViolationException
- Unknown - Static variable in class io.objectbox.config.ValidateOnOpenModeKv
-
Not a real type, just best practice (e.g.
- Unknown - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
Not a real type, just best practice (e.g.
- UNKNOWN - Enum constant in enum class io.objectbox.sync.SyncState
- UNKNOWN - Static variable in class io.objectbox.sync.SyncLoginCodes
- unregisterTransaction(Transaction) - Method in class io.objectbox.BoxStore
- UNSIGNED - Static variable in class io.objectbox.query.OrderFlags
-
For scalars only: changes the comparison to unsigned (default is signed).
- UNSIGNED - Static variable in class io.objectbox.query.QueryBuilder
-
For scalars only: changes the comparison to unsigned (default is signed).
- unsubscribe(DataObserver<T>, Object) - Method in interface io.objectbox.reactive.DataPublisher
- url() - Method in class io.objectbox.sync.server.ClusterPeerConfig
- url() - Method in class io.objectbox.sync.server.SyncServerOptions
-
URL of this Sync Server on which the Sync protocol is exposed (where the server "binds" to).
- urlAsByteBuffer() - Method in class io.objectbox.sync.server.ClusterPeerConfig
- urlAsByteBuffer() - Method in class io.objectbox.sync.server.SyncServerOptions
- urlInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.ClusterPeerConfig
- urlInByteBuffer(ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- usePreviousCommit() - Method in class io.objectbox.BoxStoreBuilder
-
Ignores the latest data snapshot (committed transaction state) and uses the previous snapshot instead.
- usePreviousCommit() - Method in class io.objectbox.config.FlatStoreOptions
-
Advanced setting recommended to be used together with read-only mode to ensure no data is lost.
- usePreviousCommitOnValidationFailure() - Method in class io.objectbox.config.FlatStoreOptions
-
NOT IMPLEMENTED YET.
- USER_PASSWORD - Enum constant in enum class io.objectbox.sync.SyncCredentials.CredentialsType
- userAndPassword(String, String) - Static method in class io.objectbox.sync.SyncCredentials
-
Generic credentials type suitable for ObjectBox Admin (and possibly others in the future).
- UserPassword - Static variable in class io.objectbox.sync.CredentialsType
-
Generic credential type suitable for ObjectBox admin (and possibly others in the future)
- Utf8 - Class in io.objectbox.flatbuffers
- Utf8() - Constructor for class io.objectbox.flatbuffers.Utf8
- Utf8Old - Class in io.objectbox.flatbuffers
-
This class implements the Utf8 API using the Java Utf8 encoder.
- Utf8Old() - Constructor for class io.objectbox.flatbuffers.Utf8Old
- Utf8Safe - Class in io.objectbox.flatbuffers
-
A set of low-level, high-performance static utility methods related to the UTF-8 character encoding.
- Utf8Safe() - Constructor for class io.objectbox.flatbuffers.Utf8Safe
V
- 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.
- validateOnOpenKv() - Method in class io.objectbox.BoxStoreBuilder
-
When a database is opened, ObjectBox can perform additional consistency checks on its database structure.
- validateOnOpenKv() - Method in class io.objectbox.config.FlatStoreOptions
-
When a database is opened, ObjectBox can perform additional consistency checks on its database structure.
- validateOnOpenKv(short) - Method in class io.objectbox.BoxStoreBuilder
-
When a database is opened, ObjectBox can perform additional consistency checks on its database structure.
- ValidateOnOpenModeKv - Class in io.objectbox.config
-
Defines if and how the database is checked for valid key/value (KV) entries when opening it.
- ValidateOnOpenModePages - Class in io.objectbox.config
-
Defines if and how the database is checked for structural consistency (pages) when opening it.
- validateOnOpenPageLimit() - Method in class io.objectbox.config.FlatStoreOptions
-
To fine-tune database validation, you can specify a limit on how much data is looked at.
- validateOnOpenPageLimit(long) - Method in class io.objectbox.BoxStoreBuilder
-
To fine-tune
BoxStoreBuilder.validateOnOpen(short)
, you can specify a limit on how much data is looked at. - validateOnOpenPages() - Method in class io.objectbox.config.FlatStoreOptions
-
When a database is opened, ObjectBox can perform additional consistency checks on its database structure.
- ValidateVersion() - Static method in class io.objectbox.config.FlatStoreOptions
- ValidateVersion() - Static method in class io.objectbox.sync.Credentials
- ValidateVersion() - Static method in class io.objectbox.sync.server.ClusterPeerConfig
- ValidateVersion() - Static method in class io.objectbox.sync.server.JwtConfig
- ValidateVersion() - Static method in class io.objectbox.sync.server.SyncServerOptions
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.query.QueryBuilder.StringOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.sync.SyncCredentials.CredentialsType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.objectbox.sync.SyncState
-
Returns the enum constant of this class with the specified name.
- values() - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringDoubleCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringLongCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.query.QueryBuilder.StringOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.sync.SyncBuilder.RequestUpdatesMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.sync.SyncCredentials.CredentialsType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.objectbox.sync.SyncState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- valueType - Variable in class io.objectbox.tree.LeafNode
-
See
PropertyType
for values. - Vector() - Constructor for class io.objectbox.config.FlatStoreOptions.Vector
- Vector() - Constructor for class io.objectbox.sync.Credentials.Vector
- Vector() - Constructor for class io.objectbox.sync.server.ClusterPeerConfig.Vector
- Vector() - Constructor for class io.objectbox.sync.server.JwtConfig.Vector
- Vector() - Constructor for class io.objectbox.sync.server.SyncServerOptions.Vector
W
- weak() - Method in class io.objectbox.reactive.SubscriptionBuilder
-
Uses a weak reference for the observer.
- WithLeaves - Static variable in class io.objectbox.config.ValidateOnOpenModePages
-
Performs a limited number of checks on database structures including "data leaves".
- workerThreads() - Method in class io.objectbox.sync.server.SyncServerOptions
-
By default (absent or zero given), this uses a hardware dependent default, e.g.
- workerThreads(int) - Method in class io.objectbox.sync.server.SyncServerBuilder
-
Sets the number of workers for the main task pool.
- writePosition() - Method in class io.objectbox.flatbuffers.ArrayReadWriteBuf
- writePosition() - Method in class io.objectbox.flatbuffers.ByteBufferReadWriteBuf
- writePosition() - Method in interface io.objectbox.flatbuffers.ReadWriteBuf
_
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions.Vector
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.flatbuffers.StringVector
-
Assigns vector access object to vector data.
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.flatbuffers.UnionVector
-
Assigns vector access object to vector data.
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.sync.Credentials.Vector
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.sync.server.ClusterPeerConfig.Vector
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig.Vector
- __assign(int, int, ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions.Vector
- __assign(int, ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.BooleanVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.ByteVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.DoubleVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.FloatVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.IntVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.LongVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.ShortVector
-
Assigns vector access object to vector data.
- __assign(int, ByteBuffer) - Method in class io.objectbox.sync.Credentials
- __assign(int, ByteBuffer) - Method in class io.objectbox.sync.server.ClusterPeerConfig
- __assign(int, ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- __assign(int, ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- __element(int) - Method in class io.objectbox.flatbuffers.BaseVector
-
Gets the element position in vector's ByteBuffer.
- __has_identifier(ByteBuffer, String) - Static method in class io.objectbox.flatbuffers.Table
-
Check if a
ByteBuffer
contains a file identifier. - __indirect(int) - Method in class io.objectbox.flatbuffers.Table
-
Retrieve a relative offset.
- __indirect(int, ByteBuffer) - Static method in class io.objectbox.flatbuffers.Table
-
Retrieve a relative offset.
- __init(int, ByteBuffer) - Method in class io.objectbox.config.FlatStoreOptions
- __init(int, ByteBuffer) - Method in class io.objectbox.sync.Credentials
- __init(int, ByteBuffer) - Method in class io.objectbox.sync.server.ClusterPeerConfig
- __init(int, ByteBuffer) - Method in class io.objectbox.sync.server.JwtConfig
- __init(int, ByteBuffer) - Method in class io.objectbox.sync.server.SyncServerOptions
- __offset(int) - Method in class io.objectbox.flatbuffers.Table
-
Look up a field in the vtable.
- __offset(int, int, ByteBuffer) - Static method in class io.objectbox.flatbuffers.Table
- __reset() - Method in class io.objectbox.flatbuffers.Struct
-
Resets internal state with a null
ByteBuffer
and a zero position. - __reset() - Method in class io.objectbox.flatbuffers.Table
-
Resets the internal state with a null
ByteBuffer
and a zero position. - __reset(int, int, ByteBuffer) - Method in class io.objectbox.flatbuffers.BaseVector
-
Re-init the internal state with an external buffer
ByteBuffer
, an offset within and element size. - __reset(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.Struct
-
Re-init the internal state with an external buffer
ByteBuffer
and an offset within. - __reset(int, ByteBuffer) - Method in class io.objectbox.flatbuffers.Table
-
Re-init the internal state with an external buffer
ByteBuffer
and an offset within. - __string(int) - Method in class io.objectbox.flatbuffers.Table
-
Create a Java `String` from UTF-8 data stored inside the FlatBuffer.
- __string(int, ByteBuffer, Utf8) - Static method in class io.objectbox.flatbuffers.Table
-
Create a Java `String` from UTF-8 data stored inside the FlatBuffer.
- __union(Table, int) - Method in class io.objectbox.flatbuffers.Table
-
Initialize any Table-derived type to point to the union at the given `offset`.
- __union(Table, int, ByteBuffer) - Static method in class io.objectbox.flatbuffers.Table
-
Initialize any Table-derived type to point to the union at the given `offset`.
- __vector() - Method in class io.objectbox.flatbuffers.BaseVector
-
Get the start data of a vector.
- __vector(int) - Method in class io.objectbox.flatbuffers.Table
-
Get the start data of a vector.
- __vector_as_bytebuffer(int, int) - Method in class io.objectbox.flatbuffers.Table
-
Get a whole vector as a ByteBuffer.
- __vector_in_bytebuffer(ByteBuffer, int, int) - Method in class io.objectbox.flatbuffers.Table
-
Initialize vector as a ByteBuffer.
- __vector_len(int) - Method in class io.objectbox.flatbuffers.Table
-
Get the length of a vector.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Property.equalKeyValue(String, String, StringOrder)
with thenew query API
instead.