A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes All Packages

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
Adds the given entity to the list and tracks the addition so it can be later applied to the database (e.g.
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.
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
 
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`.
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`.
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`.
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).
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`.
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).
addString(long, String) - Method in interface io.objectbox.sync.ObjectsMessageBuilder
 
addString(long, String) - Method in class io.objectbox.sync.SyncClientImpl.ObjectsMessageBuilderImpl
 
addStruct(int, int, int) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder
Add a struct to the table.
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
 
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.
androidContext(Object) - Method in class io.objectbox.BoxStoreBuilder
On Android, you can pass a Context to set the base directory using this method.
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
Experimental.
applyChangesToDb() - Method in class io.objectbox.relation.ToMany
Applies (persists) tracked changes (added and removed entities) to the target box and/or updates standalone relations.
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
assignable() - Method in annotation type io.objectbox.annotation.Id
Allows IDs of new entities to be assigned manually.
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
 
AUTH_UNREACHABLE - Static variable in class io.objectbox.sync.SyncLoginCodes
 
authenticatorCredentials(SyncCredentials) - Method in class io.objectbox.sync.server.SyncServerBuilder
Adds additional authenticator credentials to authenticate clients with.
AUTO - io.objectbox.sync.SyncBuilder.RequestUpdatesMode
Once logged in, requests sync updates automatically including subsequent pushes for data changes.
AUTO_NO_PUSHES - io.objectbox.sync.SyncBuilder.RequestUpdatesMode
Once logged in, requests updates automatically once without subsequent pushes for data changes.
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.
Backlink - Annotation Type in io.objectbox.annotation
Defines a backlink relation, which is based on another relation reversing the direction.
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).
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.
BaseEntity - Annotation Type in io.objectbox.annotation
Marks a class as an ObjectBox Entity super class.
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.
Beta - Annotation Type in io.objectbox.annotation.apihint
APIs annotated with @Beta may change and may be even removed in a future release (but is somewhat less likely compared to Experimental).
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
Finds objects with property value between and including the first and second value.
between(Property<T>, long, long) - Method in class io.objectbox.query.QueryBuilder
Finds objects with property value between and including the first and second value.
between(Property<T>, Date, Date) - Method in class io.objectbox.query.QueryBuilder
Finds objects with property value between and including the first and second value.
between(Date, Date) - Method in class io.objectbox.Property
Creates a "BETWEEN ...
BETWEEN - io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
 
BETWEEN - 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 (see BoxStore.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 signal Query.forEach(QueryConsumer) should "break".
BreakForEach() - Constructor for exception io.objectbox.query.BreakForEach
 
build() - Method in class io.objectbox.BoxStoreBuilder
Builds a BoxStore using any given configuration.
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.
buildDefault() - Method in class io.objectbox.BoxStoreBuilder
Builds the default BoxStore instance, which can be acquired using BoxStore.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
 
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 - io.objectbox.query.QueryBuilder.StringOrder
Ignores case of ASCII characters when matching results, e.g.
CASE_SENSITIVE - 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(String) - Method in class io.objectbox.sync.server.SyncServerBuilder
 
changeListener(SyncChangeListener) - Method in class io.objectbox.sync.server.SyncServerBuilder
Sets a listener to observe fine granular changes happening during sync.
changeListener(SyncChangeListener) - Method in class io.objectbox.sync.SyncBuilder
Sets a listener to observe fine granular changes happening during sync.
checkCached() - Method in class io.objectbox.query.LazyList
 
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
 
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
Start building a sync client.
CLIENT_ID_TAKEN - Static variable in class io.objectbox.sync.SyncLoginCodes
 
close() - Method in class io.objectbox.BoxStore
Closes the BoxStore and frees associated resources.
close() - Method in class io.objectbox.query.Query
If possible, try to close the query once you are done with it to reclaim resources immediately.
close() - Method in class io.objectbox.query.QueryBuilder
 
close() - Method in interface io.objectbox.sync.server.SyncServer
Closes and cleans up all resources used by this sync server.
close() - Method in class io.objectbox.sync.server.SyncServerImpl
 
close() - Method in interface io.objectbox.sync.SyncClient
Closes and cleans up all resources used by this sync client.
close() - Method in class io.objectbox.sync.SyncClientImpl
 
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
Call this method from a thread that is about to be shutdown or likely not to use ObjectBox anymore: it frees any cached resources tied to the calling thread (e.g.
commitWriter(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
 
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.
ConflictStrategy - Enum in io.objectbox.annotation
Used with Unique to specify the conflict resolution strategy.
CONNECTED - 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
Creates an contains condition.
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 - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
CONTAINS_ELEMENT - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
CONTAINS_KEY_VALUE - io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.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
For a String array, list or String-key map property, matches if at least one element equals the given value.
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
For a String-key map property, matches if at least one key and value combination equals the given values.
containsKeyValue(String, String) - Method in class io.objectbox.Property
For a String-key map property, matches if at least one key and value combination equals the given values using StringOrder#CASE_SENSITIVE.
containsKeyValue(String, String, QueryBuilder.StringOrder) - Method in class io.objectbox.Property
 
Convert - Annotation Type in io.objectbox.annotation
Supplies a converter to store custom Property types as a supported Convert.dbType().
converter() - Method in annotation type io.objectbox.annotation.Convert
The converter class that ObjectBox should use.
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
 
convertToDatabaseValue(P) - Method in interface io.objectbox.converter.PropertyConverter
 
convertToEntityProperty(byte[]) - Method in class io.objectbox.converter.FlexObjectConverter
 
convertToEntityProperty(byte[]) - Method in class io.objectbox.converter.StringMapConverter
 
convertToEntityProperty(D) - Method in interface io.objectbox.converter.PropertyConverter
 
convertToEntityProperty(String) - Method in class io.objectbox.converter.NullToEmptyStringConverter
 
CopyOnWriteArrayListFactory() - Constructor for class io.objectbox.relation.ListFactory.CopyOnWriteArrayListFactory
 
count() - Method in class io.objectbox.Box
Returns the count of all stored objects in this box.
count() - 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.
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.
CREATED - io.objectbox.sync.SyncState
 
createDebugWithoutModel() - Static method in class io.objectbox.BoxStoreBuilder
Not for application use, for DebugCursor.
createList() - Method in class io.objectbox.relation.ListFactory.ArrayListFactory
 
createList() - Method in class io.objectbox.relation.ListFactory.CopyOnWriteArrayListFactory
 
createList() - Method in interface io.objectbox.relation.ListFactory
 
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.
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_REJECTED - Static variable in class io.objectbox.sync.SyncLoginCodes
 
customType - Variable in class io.objectbox.Property
Type, which is converted to a type supported by the DB.

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.
DatabaseType - Enum in io.objectbox.annotation
Use with @Type to override how a property value is stored and interpreted in the database.
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 single DataSubscriptionList.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 DataObservers.
DateNano - io.objectbox.annotation.DatabaseType
Use with 64-bit long properties to store them as high precision time representing nanoseconds since 1970-01-01 (unix epoch).
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
 
DbFullException(String) - Constructor for exception io.objectbox.exception.DbFullException
 
DbFullException(String, int) - Constructor for exception io.objectbox.exception.DbFullException
 
DbMaxReadersExceededException - Exception in io.objectbox.exception
Thrown when the maximum of readers (read transactions) was exceeded.
DbMaxReadersExceededException(String) - Constructor for exception io.objectbox.exception.DbMaxReadersExceededException
 
DbMaxReadersExceededException(String, int) - Constructor for exception io.objectbox.exception.DbMaxReadersExceededException
 
dbName - Variable in class io.objectbox.Property
 
DbSchemaException - Exception in io.objectbox.exception
 
DbSchemaException(String) - Constructor for exception io.objectbox.exception.DbSchemaException
 
DbShutdownException - Exception in io.objectbox.exception
Thrown when an error occurred that requires the DB to shutdown.
DbShutdownException(String) - Constructor for exception io.objectbox.exception.DbShutdownException
 
DbShutdownException(String, int) - Constructor for exception io.objectbox.exception.DbShutdownException
 
dbType() - Method in annotation type io.objectbox.annotation.Convert
The Property type the Java field value is converted to/from.
DEAD - io.objectbox.sync.SyncState
 
debugFlags(int) - Method in class io.objectbox.BoxStoreBuilder
Debug flags typically enable additional logging, see DebugFlags for valid values.
DebugFlags - Class in io.objectbox
Flags to enable debug behavior like additional logging.
debugRelations() - Method in class io.objectbox.BoxStoreBuilder
Enables some debug logging for relations.
debugTransactions() - Method in class io.objectbox.BoxStoreBuilder
Deprecated.
decodeUtf8(ByteBuffer, int, int) - Method in class io.objectbox.flatbuffers.Utf8
Decodes the given UTF-8 portion of the ByteBuffer into a String.
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 a String.
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 - io.objectbox.annotation.IndexType
Use the default index type depending on the property type: IndexType.VALUE for scalars and IndexType.HASH for Strings.
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).
DefaultValue - Annotation Type in io.objectbox.annotation
Defines the Java code of the default value to use for a property, when getting an existing entity and the database value for the property is null.
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)".
diagnose() - Method in class io.objectbox.BoxStore
Gives info that can be useful for debugging.
directory(File) - Method in class io.objectbox.BoxStoreBuilder
The directory where all DB files should be placed in.
DISCONNECTED - 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.
endMap(String, int) - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
Finishes a map, but writing the information in the buffer
ENDS_WITH - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
endsWith(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
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
 
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
entity - Variable in class io.objectbox.Property
 
entity(EntityInfo<?>) - Method in class io.objectbox.BoxStoreBuilder
 
Entity - Annotation Type in io.objectbox.annotation
Marks a class as an ObjectBox Entity.
EntityInfo<T> - Interface in io.objectbox
 
eq(Object) - Method in class io.objectbox.Property
Deprecated.
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) with value - tolerance as lower bound and value + 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
 
equal(Property<T>, byte[]) - Method in class io.objectbox.query.QueryBuilder
 
equal(Property<T>, double, double) - Method in class io.objectbox.query.QueryBuilder
Floating point equality is non-trivial; this is just a convenience for QueryBuilder.between(Property, double, double) with parameters(property, value - tolerance, value + tolerance).
equal(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
equal(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
Creates an "equal ('=')" condition for this property.
equal(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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 - io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
 
EQUAL - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
EQUAL - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
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 via SubscriptionBuilder.onError(ErrorObserver).
Experimental - Annotation Type in io.objectbox.annotation.apihint
APIs annotated with @Experimental are likely to change and may be even removed in a future release.

F

Factory<T> - Interface in io.objectbox
Generic Factory that provides a resource on demand (if and when it is required).
FAIL - io.objectbox.annotation.ConflictStrategy
Throws UniqueViolationException if any property violates a Unique constraint.
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
 
FileCorruptException - Exception in io.objectbox.exception
Errors were detected in a file, e.g.
FileCorruptException(String) - Constructor for exception io.objectbox.exception.FileCorruptException
 
FileCorruptException(String, int) - Constructor for exception io.objectbox.exception.FileCorruptException
 
fileMode(int) - Method in class io.objectbox.BoxStoreBuilder
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
Explicitly call BoxStore.close() instead to avoid expensive finalization.
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
Explicitly call QueryBuilder.close() instead to avoid expensive finalization.
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.
find() - Method in class io.objectbox.query.Query
Find all Objects matching the query.
find(long, long) - Method in class io.objectbox.query.Query
Find all Objects matching the query, skipping the first offset results and returning at most limit results.
findBoolean() - Method in class io.objectbox.query.PropertyQuery
 
findByte() - Method in class io.objectbox.query.PropertyQuery
 
findBytes() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given byte property for objects matching the query.
findChar() - Method in class io.objectbox.query.PropertyQuery
 
findChars() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given int property for objects matching the query.
findDouble() - Method in class io.objectbox.query.PropertyQuery
 
findDoubles() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given int property for objects matching the query.
findFirst() - Method in class io.objectbox.query.Query
Find the first Object matching the query.
findFloat() - Method in class io.objectbox.query.PropertyQuery
 
findFloats() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given int property for objects matching the query.
findIds() - Method in class io.objectbox.query.Query
Very efficient way to get just the IDs without creating any objects.
findIds(long, long) - Method in class io.objectbox.query.Query
Like Query.findIds() but with a offset/limit param, e.g.
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 unmodifiable LazyList 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, caching LazyList so Objects can be retrieved on demand.
findLong() - Method in class io.objectbox.query.PropertyQuery
 
findLongs() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given long property for objects matching the query.
findPlatform() - Static method in class io.objectbox.sync.internal.Platform
 
findShort() - Method in class io.objectbox.query.PropertyQuery
 
findShorts() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given int property for objects matching the query.
findString() - Method in class io.objectbox.query.PropertyQuery
 
findStrings() - Method in class io.objectbox.query.PropertyQuery
Find the values for the given string property for objects matching the query.
findUnique() - Method in class io.objectbox.query.Query
Find the unique Object matching the query.
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.
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.
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 ByteBuffers.
FlatBufferBuilder(ByteBuffer, FlatBufferBuilder.ByteBufferFactory) - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder
Alternative constructor allowing reuse of ByteBuffers.
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_2_0_0() - 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.
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 with FlexBuffersBuilder.BUILDER_FLAG_SHARE_KEYS set.
FlexBuffersBuilder(int) - Constructor for class io.objectbox.flatbuffers.FlexBuffersBuilder
Constructs a newly allocated FlexBuffersBuilder with FlexBuffersBuilder.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 io.objectbox.sync.SyncState
 

G

get(byte[]) - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
 
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
 
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(Table, int) - Method in class io.objectbox.flatbuffers.UnionVector
Initialize any Table-derived type to point to the union at the given `index`.
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 entity 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.
getConnectivityMonitor() - Method in class io.objectbox.sync.internal.Platform
 
getContext() - Static method in class io.objectbox.BoxStore
 
getCursorFactory() - Method in interface io.objectbox.EntityInfo
 
getDbName() - Method in interface io.objectbox.EntityInfo
 
getDefault() - Static method in class io.objectbox.BoxStore
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(BoxStore) - Static method in class io.objectbox.InternalAccess
 
getHandle(Cursor) - Static method in class io.objectbox.InternalAccess
 
getHandle(Transaction) - Static method in class io.objectbox.InternalAccess
 
getId() - Method in class io.objectbox.Property
 
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
If you want to use the same ObjectBox store using the C API, e.g.
getObjectBrowserPort() - Method in class io.objectbox.BoxStore
 
getObserverDelegate() - Method in interface io.objectbox.reactive.DelegatingObserver
 
getParentBranchId() - Method in class io.objectbox.tree.Leaf
 
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
Gets the port the server has bound to.
getPort() - Method in class io.objectbox.sync.server.SyncServerImpl
 
getReader(Box<T>) - Static method in class io.objectbox.InternalAccess
 
getReaderDebugInfo() - Method in class io.objectbox.Box
 
getRelationBacklinkEntities(RelationInfo<T, ?>, long) - Method in class io.objectbox.Box
Given a ToMany relation and the ID of a target entity gets all source entities pointing to this target entity, for example customerBox.getRelationEntities(Customer_.orders, order.getId()).
getRelationBacklinkIds(RelationInfo<T, ?>, long) - Method in class io.objectbox.Box
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.
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
 
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.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
 
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
getTypeId() - Method in class io.objectbox.sync.SyncCredentialsToken
 
getUrl() - Method in interface io.objectbox.sync.server.SyncServer
Gets the URL the server is running at.
getUrl() - Method in class io.objectbox.sync.server.SyncServerImpl
 
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 - io.objectbox.sync.SyncCredentials.CredentialsType
 
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
 
greater(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
 
greater(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
greater(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
greater(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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 - io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
 
GREATER - io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
 
GREATER - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
GREATER - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
GREATER_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
 
GREATER_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
 
GREATER_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
GREATER_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
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
 
greaterOrEqual(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
 
greaterOrEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
greaterOrEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
greaterOrEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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.
gt(Object) - Method in class io.objectbox.Property
Deprecated.

H

hasA(QueryFilter<TARGET>) - Method in class io.objectbox.relation.ToMany
Returns true if at least one of the entities matches the given filter.
hasAll(QueryFilter<TARGET>) - Method in class io.objectbox.relation.ToMany
Returns true if all of the entities match the given filter.
hasFeature(Feature) - Static method in class io.objectbox.BoxStore
 
HASH - io.objectbox.annotation.IndexType
Use a (fast non-cryptographic) hash of the property value to build the index.
HASH64 - io.objectbox.annotation.IndexType
Use a long (fast non-cryptographic) hash of the property value to build the index.
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.
HeapByteBufferFactory() - Constructor for class io.objectbox.flatbuffers.FlatBufferBuilder.HeapByteBufferFactory
 

I

id - Variable in class io.objectbox.Property
 
id - Variable in enum io.objectbox.sync.SyncCredentials.CredentialsType
 
id - Variable in enum io.objectbox.sync.SyncState
 
id - Variable in class io.objectbox.tree.LeafNode
 
Id - Annotation Type in io.objectbox.annotation
Marks the ID property of an @Entity.
IdCompanion - Annotation Type in io.objectbox.annotation
Marks a property as a companion to an @Id property.
in(Property<T>, int[]) - Method in class io.objectbox.query.QueryBuilder
 
in(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
 
in(Property<T>, String[], QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
in(Object...) - Method in class io.objectbox.Property
Deprecated.
in(Collection<?>) - Method in class io.objectbox.Property
Deprecated.
IN - io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
 
IN - io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
 
IN - io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
 
Index - Annotation Type in io.objectbox.annotation
Specifies that the property should be indexed.
indexOf(Object) - Method in class io.objectbox.query.LazyList
 
indexOf(Object) - Method in class io.objectbox.relation.ToMany
 
indexOfId(long) - Method in class io.objectbox.relation.ToMany
Gets the index of the object with the given entity ID.
IndexType - Enum in io.objectbox.annotation
ObjectBox offers a value and two hash index types, from which it chooses a reasonable default (see IndexType.DEFAULT).
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).
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
Used to automatically convert Map&lt;Integer, V&gt;.
IntegerFlexMapConverter() - Constructor for class io.objectbox.converter.IntegerFlexMapConverter
 
IntegerLongMapConverter - Class in io.objectbox.converter
Used to automatically convert Map&lt;Integer, Long&gt;.
IntegerLongMapConverter() - Constructor for class io.objectbox.converter.IntegerLongMapConverter
 
integerValue - Variable in class io.objectbox.tree.LeafNode
 
Internal - Annotation Type in io.objectbox.annotation.apihint
APIs annotated with @Internal must NOT be used.
InternalAccess - Class in io.objectbox
 
InternalAccess() - Constructor for class io.objectbox.InternalAccess
 
internalApplyToDb(Cursor<?>, Cursor<TARGET>) - Method in class io.objectbox.relation.ToMany
For internal use only; do not use in your app.
internalCallWithReaderHandle(CallWithHandle<RESULT>) - Method in class io.objectbox.Box
 
internalCallWithWriterHandle(CallWithHandle<RESULT>) - Method in class io.objectbox.Box
 
internalCheckApplyToDbRequired() - Method in class io.objectbox.relation.ToMany
For internal use only; do not use in your app.
internalFailedReadTxAttemptCallback() - Method in class io.objectbox.BoxStore
 
internalGetBacklinkEntities(int, Property<?>, long) - Method in class io.objectbox.Box
 
internalGetRelationEntities(int, int, long, boolean) - Method in class io.objectbox.Box
 
internalGetRelationIds(int, int, long, boolean) - Method in class io.objectbox.Box
 
internalPutTarget(Cursor<TARGET>) - Method in class io.objectbox.relation.ToOne
 
internalQueryAttempts() - Method in class io.objectbox.BoxStore
 
internalRequiresPutTarget() - Method in class io.objectbox.relation.ToOne
 
internalScheduleThread(Runnable) - Method in class io.objectbox.BoxStore
 
internalThreadPool() - Method in class io.objectbox.BoxStore
 
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
 
io.objectbox - package io.objectbox
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
io.objectbox.annotation - package io.objectbox.annotation
Annotations to mark a class as an @Entity, to specify the @Id Property, to create an @Index or a @Transient Property.
io.objectbox.annotation.apihint - package io.objectbox.annotation.apihint
Annotations to mark APIs as for example @Internal or @Experimental.
io.objectbox.converter - package io.objectbox.converter
For use with @Convert: PropertyConverter to convert custom Property types.
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
Classes related to building a Query or PropertyQuery.
io.objectbox.reactive - package io.objectbox.reactive
Classes to configure a DataSubscription for observing Box or Query changes.
io.objectbox.relation - package io.objectbox.relation
Classes to manage ToOne and ToMany relations between Entities.
io.objectbox.sync - package io.objectbox.sync
ObjectBox Sync allows to automatically synchronize local data with a sync destination (e.g.
io.objectbox.sync.internal - package io.objectbox.sync.internal
 
io.objectbox.sync.listener - package io.objectbox.sync.listener
 
io.objectbox.sync.server - package io.objectbox.sync.server
 
io.objectbox.tree - package io.objectbox.tree
APIs to interact with tree structures stored in ObjectBox.
IS_NULL - 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 to DataSubscriptionList.add(DataSubscription).
isClosed() - Method in class io.objectbox.BoxStore
 
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 with BoxStoreBuilder.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
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
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
 
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
Change so ReLinker will update native library when using workaround loading.

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
A data leaf represents a data value in a Tree as a child of a Branch.
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
 
less(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
 
less(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
less(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
less(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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 - io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
 
LESS - io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
 
LESS - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
LESS - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
LESS_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
 
LESS_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
 
LESS_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
LESS_OR_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
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
 
lessOrEqual(Property<T>, double) - Method in class io.objectbox.query.QueryBuilder
 
lessOrEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
lessOrEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
lessOrEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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.
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.DebugFlags
 
LOG_CACHE_ALL - Static variable in class io.objectbox.DebugFlags
 
LOG_CACHE_HITS - Static variable in class io.objectbox.DebugFlags
 
LOG_QUERIES - Static variable in class io.objectbox.DebugFlags
 
LOG_QUERY_PARAMETERS - Static variable in class io.objectbox.DebugFlags
 
LOG_TRANSACTIONS_READ - Static variable in class io.objectbox.DebugFlags
 
LOG_TRANSACTIONS_WRITE - Static variable in class io.objectbox.DebugFlags
 
LOGGED_IN - io.objectbox.sync.SyncState
 
loginListener(SyncLoginListener) - Method in class io.objectbox.sync.SyncBuilder
Sets a listener to only observe Sync login events.
LongArrayCondition(Property<T>, PropertyQueryConditionImpl.LongArrayCondition.Operation, long[]) - 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
Used to automatically convert Map<Long, V>.
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
Used to automatically convert Map&lt;Long, Long&gt;.
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.

M

MANUAL - 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.
maxDouble() - Method in class io.objectbox.query.PropertyQuery
Finds the maximum value for the given property over all Objects matching the query.
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.

N

name - Variable in class io.objectbox.Property
 
name(int) - Static method in class io.objectbox.query.OrderFlags
 
name(String) - Method in class io.objectbox.BoxStoreBuilder
Name of the database, which will be used as a directory for DB files.
NameInDb - Annotation Type in io.objectbox.annotation
Allows to specify a simple name mapping for entities and properties.
names - Static variable in class io.objectbox.query.OrderFlags
 
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 - io.objectbox.sync.SyncCredentials.CredentialsType
 
NonUniqueResultException - Exception in io.objectbox.exception
Throw if Query.findUnique() returns more than one result.
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.
NOT_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
 
NOT_EQUAL - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
NOT_IN - io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
 
NOT_IN - io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
 
NOT_NULL - io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
 
notEq(Object) - Method in class io.objectbox.Property
Deprecated.
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
 
notEqual(Property<T>, long) - Method in class io.objectbox.query.QueryBuilder
 
notEqual(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
Creates a "not equal ('<>')" condition for this property.
notEqual(Property<T>, Date) - Method in class io.objectbox.query.QueryBuilder
 
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
 
notIn(Property<T>, long[]) - Method in class io.objectbox.query.QueryBuilder
 
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
 
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.
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[]
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.
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.
onConflict() - Method in annotation type io.objectbox.annotation.Unique
The strategy to use when a conflict is detected when an object is put.
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.
onError(ErrorObserver) - Method in class io.objectbox.reactive.SubscriptionBuilder
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.
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 were detected in a file related to pages, 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
Assigns the given alias to the previous condition.
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
Adds a server peer, to which this server should connect to as a client using SyncCredentials.none().
peer(String, SyncCredentials) - Method in class io.objectbox.sync.server.SyncServerBuilder
Adds a server peer, to which this server should connect to as a client using the given credentials.
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
 
PropertyConverter<P,​D> - Interface in io.objectbox.converter
To use custom types in your entity, implement this to convert db values to entity values and back.
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 as LongCondition, LongLongCondition, LongArrayCondition and the general NullCondition.
PropertyQueryConditionImpl.ByteArrayCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.ByteArrayCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.DoubleCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.DoubleCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.DoubleDoubleCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.DoubleDoubleCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.IntArrayCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.IntArrayCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.LongArrayCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.LongArrayCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.LongCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.LongCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.LongLongCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.LongLongCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.NullCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.NullCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.StringArrayCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.StringArrayCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.StringCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.StringCondition.Operation - Enum in io.objectbox.query
 
PropertyQueryConditionImpl.StringStringCondition<T> - Class in io.objectbox.query
 
PropertyQueryConditionImpl.StringStringCondition.Operation - Enum in io.objectbox.query
 
provide() - Method in interface io.objectbox.Factory
 
publish() - Method in class io.objectbox.query.Query
Publishes the current data to all subscribed @DataObservers.
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 in the box (aka persisting it).
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).
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
Returns a builder to create queries for Object matching supplied criteria.
query(QueryCondition<T>) - Method in class io.objectbox.Box
Experimental.
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 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.

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).
ReadWriteBuf - Interface in io.objectbox.flatbuffers
Interface to represent a read-write buffer.
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>, int) - Constructor for class io.objectbox.relation.RelationInfo
Stand-alone ToMany.
RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE>, ToManyGetter<TARGET>, int) - Constructor for class io.objectbox.relation.RelationInfo
ToMany as a ToMany backlink
RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, ToManyGetter<SOURCE>, Property<TARGET>, ToOneGetter<TARGET>) - Constructor for class io.objectbox.relation.RelationInfo
ToMany as a ToOne backlink
RelationInfo(EntityInfo<SOURCE>, EntityInfo<TARGET>, Property<SOURCE>, ToOneGetter<SOURCE>) - Constructor for class io.objectbox.relation.RelationInfo
ToOne
releaseByteBuffer(ByteBuffer) - Method in class io.objectbox.flatbuffers.FlatBufferBuilder.ByteBufferFactory
Release a ByteBuffer.
releaseReader(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
 
releaseWriter(Box<T>, Cursor<T>) - Static method in class io.objectbox.InternalAccess
 
remove() - 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
 
remove(long) - Method in class io.objectbox.Box
Removes (deletes) the Object by its ID.
remove(long...) - Method in class io.objectbox.Box
Removes (deletes) Objects by their ID in a single transaction.
remove(Object) - Method in class io.objectbox.query.LazyList
 
remove(Object) - Method in class io.objectbox.relation.ToMany
 
remove(Collection<T>) - Method in class io.objectbox.Box
Removes (deletes) the given Objects in a single transaction.
remove(T) - Method in class io.objectbox.Box
Removes (deletes) the given Object.
remove(T...) - Method in class io.objectbox.Box
Removes (deletes) the given Objects in a single transaction.
removeAll() - Method in class io.objectbox.Box
Removes (deletes) ALL Objects in a single transaction.
removeAll(Collection<?>) - Method in class io.objectbox.query.LazyList
 
removeAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
 
removeAllObjects() - Method in class io.objectbox.BoxStore
Removes all objects from all types ("boxes"), e.g.
removeById(long) - Method in class io.objectbox.relation.ToMany
Removes an object by its entity ID.
removeByIds(Collection<Long>) - Method in class io.objectbox.Box
Due to type erasure collision, we cannot simply use "remove" as a method name here.
removeByKeys(Collection<Long>) - Method in class io.objectbox.Box
Deprecated.
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.
REPLACE - io.objectbox.annotation.ConflictStrategy
Any conflicting objects are deleted before the object is inserted.
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.
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 entities so they will be re-loaded on their next access.
retainAll(Collection<?>) - Method in class io.objectbox.query.LazyList
 
retainAll(Collection<?>) - Method in class io.objectbox.relation.ToMany
 
run(RunWithParam<T>, T) - Method in interface io.objectbox.reactive.Scheduler
 
run(T) - Method in interface io.objectbox.reactive.RunWithParam
 
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
Start building a sync server.
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 login 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<?>, long) - 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
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(Property<?>, Date) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(String, boolean) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(String, byte[]) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameter(String, double) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(String, long) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(String, String) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
setParameter(String, Date) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to a new value.
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
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(Property<?>, long[]) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(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
Sets a parameter previously given to the QueryBuilder to new values.
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
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(String, int[]) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(String, long[]) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(String, long, long) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(String, String[]) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to new values.
setParameters(String, String, String) - Method in class io.objectbox.query.Query
Sets a parameter previously given to the QueryBuilder to 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
setSyncChangeListener(SyncChangeListener) - Method in class io.objectbox.sync.server.SyncServerImpl
 
setSyncChangeListener(SyncChangeListener) - Method in interface io.objectbox.sync.SyncClient
setSyncChangeListener(SyncChangeListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setSyncClient(BoxStore, SyncClient) - Static method in class io.objectbox.InternalAccess
 
setSyncCompletedListener(SyncCompletedListener) - Method in interface io.objectbox.sync.SyncClient
Sets a listener to observe Sync completed events.
setSyncCompletedListener(SyncCompletedListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setSyncConnectionListener(SyncConnectionListener) - Method in interface io.objectbox.sync.SyncClient
Sets a listener to observe Sync connection events.
setSyncConnectionListener(SyncConnectionListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setSyncListener(SyncListener) - Method in interface io.objectbox.sync.SyncClient
Sets a listener to observe all Sync events.
setSyncListener(SyncListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setSyncLoginListener(SyncLoginListener) - Method in interface io.objectbox.sync.SyncClient
Sets a listener to observe login events.
setSyncLoginListener(SyncLoginListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setSyncTimeListener(SyncTimeListener) - Method in interface io.objectbox.sync.SyncClient
setSyncTimeListener(SyncTimeListener) - Method in class io.objectbox.sync.SyncClientImpl
 
setTarget(TARGET) - Method in class io.objectbox.relation.ToOne
Sets or clears the target entity and ID in the source entity.
setTargetId(long) - Method in class io.objectbox.relation.ToOne
Sets or clears the target ID in the source entity.
SHARED_SECRET - io.objectbox.sync.SyncCredentials.CredentialsType
 
sharedGlobalIds() - Method in annotation type io.objectbox.annotation.Sync
Set to true to enable shared global IDs for a Sync-enabled Entity class.
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.
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() - Method in class io.objectbox.flatbuffers.FlexBuffers.KeyVector
Returns size of key vector
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
The size in bytes occupied by the data file on disk.
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 entity 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
 
STARTED - io.objectbox.sync.SyncState
 
startMap() - Method in class io.objectbox.flatbuffers.FlexBuffersBuilder
Start a new map in the buffer.
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
 
STARTS_WITH - io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
 
startsWith(Property<T>, String, QueryBuilder.StringOrder) - Method in class io.objectbox.query.QueryBuilder
 
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
 
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
 
stopObjectBrowser() - Method in class io.objectbox.BoxStore
 
STOPPED - 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
 
StringFlexMapConverter - Class in io.objectbox.converter
Used to automatically convert Map&lt;String, V&gt;.
StringFlexMapConverter() - Constructor for class io.objectbox.converter.StringFlexMapConverter
 
StringLongMapConverter - Class in io.objectbox.converter
Used to automatically convert Map&lt;String, Long&gt;.
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
 
StringStringCondition(Property<T>, PropertyQueryConditionImpl.StringStringCondition.Operation, String, String, QueryBuilder.StringOrder) - Constructor for class io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition
 
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
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.
Sync - Annotation Type in io.objectbox.annotation
Enables sync for an Entity class.
SyncBuilder - Class in io.objectbox.sync
A builder to create a SyncClient; the builder itself should be created via Sync.client(BoxStore, String, SyncCredentials).
SyncBuilder(BoxStore, String, SyncCredentials) - Constructor for class io.objectbox.sync.SyncBuilder
 
SyncBuilder.RequestUpdatesMode - Enum in io.objectbox.sync
 
SyncChange - Class in io.objectbox.sync
A collection of changes made to one entity type during a sync transaction.
SyncChange(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 in io.objectbox.sync
 
SyncCredentialsToken - Class in io.objectbox.sync
Internal credentials implementation.
SyncListener - Interface in io.objectbox.sync.listener
This listener has callback methods invoked by all fundamental synchronization events.
SyncLoginCodes - Class in io.objectbox.sync
SyncLoginListener - Interface in io.objectbox.sync.listener
Listens to login events.
SyncServer - Interface in io.objectbox.sync.server
ObjectBox sync server.
SyncServerBuilder - Class in io.objectbox.sync.server
Creates a SyncServer and allows to set additional configuration.
SyncServerBuilder(BoxStore, String, SyncCredentials) - Constructor for class io.objectbox.sync.server.SyncServerBuilder
 
SyncServerImpl - Class in io.objectbox.sync.server
Internal sync server implementation.
SyncState - Enum in io.objectbox.sync
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).
TargetIdProperty - Annotation Type in io.objectbox.annotation
Defines the property serving as the target ID of a ToOne.
targetInfo - Variable in class io.objectbox.relation.RelationInfo
 
targetRelationId - Variable in class io.objectbox.relation.RelationInfo
For ToMany relations based on ToMany backlinks (0 otherwise).
testUnalignedMemoryAccess() - Static method in class io.objectbox.BoxStore
Diagnostics: If this method crashes on a device, please send us the logcat output.
timeListener(SyncTimeListener) - Method in class io.objectbox.sync.SyncBuilder
Sets a listener to only observe Sync time events.
to() - Method in annotation type io.objectbox.annotation.Backlink
Name of the relation the backlink should be based on (e.g.
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 List representing a to-many relation.
ToMany(Object, RelationInfo<?, TARGET>) - Constructor for class io.objectbox.relation.ToMany
 
toManyGetter - Variable in class io.objectbox.relation.RelationInfo
Only set for ToMany relations
ToOne<TARGET> - Class in io.objectbox.relation
Manages a to-one relation: resolves the target object, keeps the target Id in sync, etc.
ToOne(Object, RelationInfo<?, TARGET>) - Constructor for class io.objectbox.relation.ToOne
In Java, the constructor call is generated by the ObjectBox plugin.
toOneGetter - Variable in class io.objectbox.relation.RelationInfo
Only set for ToOne relations
toString() - Method in exception io.objectbox.exception.DbException
 
toString() - Method in class io.objectbox.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.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.
Transient - Annotation Type in io.objectbox.annotation
Transient fields are not persisted in the database.
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.
trustedCertificates(String[]) - Method in class io.objectbox.sync.SyncBuilder
Configures a custom set of directory or file paths to search for trusted certificates in.
TX_VIOLATED_UNIQUE - Static variable in class io.objectbox.sync.SyncLoginCodes
 
TxCallback<T> - Interface in io.objectbox
txFinished(T, Throwable) - Method in interface io.objectbox.TxCallback
Called when an asynchronous transaction finished.
type - Variable in class io.objectbox.Property
One of the supported types to be mapped to the DB.
type() - Method in annotation type io.objectbox.annotation.Index
Sets the IndexType, defaults to IndexType.DEFAULT.
Type - Annotation Type in io.objectbox.annotation
Use on a property to override how its value is stored and interpreted in the database.

U

Uid - Annotation Type in io.objectbox.annotation
UIDs identify entities (and properties) uniquely in the meta object model file (objectbox-model/default.json).
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.
Unique - Annotation Type in io.objectbox.annotation
Enforces that the value of a property is unique among all objects in a box before an object can be put.
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 - io.objectbox.sync.SyncState
 
UNKNOWN - Static variable in class io.objectbox.sync.SyncLoginCodes
 
unregisterTransaction(Transaction) - Method in class io.objectbox.BoxStore
 
Unsigned - Annotation Type in io.objectbox.annotation
Indicates that values of an integer property (e.g.
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
 
useNoArgConstructor() - Method in annotation type io.objectbox.annotation.Entity
Use a no-arg constructor instead of an all properties constructor (generated).
usePreviousCommit() - Method in class io.objectbox.BoxStoreBuilder
Ignores the latest data snapshot (committed transaction state) and uses the previous snapshot instead.
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.
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.
value() - Method in annotation type io.objectbox.annotation.DefaultValue
 
value() - Method in annotation type io.objectbox.annotation.NameInDb
Name used in the database.
value() - Method in annotation type io.objectbox.annotation.TargetIdProperty
Name used in the database.
value() - Method in annotation type io.objectbox.annotation.Type
 
value() - Method in annotation type io.objectbox.annotation.Uid
The UID associated with an entity/property.
VALUE - io.objectbox.annotation.IndexType
Use the property value to build the index.
valueOf(String) - Static method in enum io.objectbox.annotation.ConflictStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.annotation.DatabaseType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.annotation.IndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.query.QueryBuilder.StringOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.sync.SyncBuilder.RequestUpdatesMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.sync.SyncCredentials.CredentialsType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.objectbox.sync.SyncState
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.objectbox.annotation.ConflictStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.annotation.DatabaseType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.annotation.IndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class io.objectbox.flatbuffers.FlexBuffers.Map
 
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.ByteArrayCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.DoubleCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.DoubleDoubleCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.IntArrayCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongArrayCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.LongLongCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.NullCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringArrayCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.PropertyQueryConditionImpl.StringStringCondition.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.query.QueryBuilder.StringOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.sync.SyncBuilder.RequestUpdatesMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.sync.SyncCredentials.CredentialsType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.objectbox.sync.SyncState
Returns an array containing the constants of this enum type, in the order they are declared.
valueType - Variable in class io.objectbox.tree.LeafNode
See PropertyType for values.

W

weak() - Method in class io.objectbox.reactive.SubscriptionBuilder
Uses a weak reference for the observer.
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.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, 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.
__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.
__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.
A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes All Packages