Uses of Class
io.objectbox.annotation.apihint.Internal
-
Packages that use Internal Package Description io.objectbox ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.io.objectbox.annotation.apihint Annotations to mark APIs as for example@Internalor@Experimental.io.objectbox.internal io.objectbox.query io.objectbox.reactive Classes toconfigureaDataSubscriptionfor observing Box or Query changes.io.objectbox.relation io.objectbox.sync ObjectBox Sync allows to automatically synchronize local data with a sync destination (e.g.io.objectbox.sync.server -
-
Uses of Internal in io.objectbox
Classes in io.objectbox with annotations of type Internal Modifier and Type Class Description classCursor<T>interfaceEntityInfo<T>classInternalAccessExposes internal APIs to tests and code in other packages.classModelBuilder(package private) classObjectClassPublisherADataPublisherthat notifiesDataObservers about changes in an entity box.classTransactionFields in io.objectbox with annotations of type Internal Modifier and Type Field Description (package private) static booleanCursor. LOG_READ_NOT_CLOSED(package private) static booleanCursor. TRACK_CREATION_STACKMay be set by tests(package private) static booleanTransaction. TRACK_CREATION_STACKMay be set by testsMethods in io.objectbox with annotations of type Internal Modifier and Type Method Description TransactionBoxStore. beginReadTx()Internal, low level method: useBoxStore.runInReadTx(Runnable)instead.TransactionBoxStore. beginTx()Internal, low level method: useBoxStore.runInTx(Runnable)instead.static BoxStoreBuilderInternalAccess. clone(BoxStoreBuilder original, java.lang.String namePostfix)static <T> voidInternalAccess. commitWriter(Box<T> box, Cursor<T> writer)(package private) BoxStoreBuilderBoxStoreBuilder. createClone(java.lang.String namePostfix)static BoxStoreBuilderBoxStoreBuilder. createDebugWithoutModel()Not for application use, for DebugCursor.static voidInternalAccess. enableCreationStackTracking()Makes creation more expensive, but lets Finalizers show the creation stack for dangling resources.voidBoxStoreBuilder. entity(EntityInfo<?> entityInfo)static TransactionInternalAccess. getActiveTx(BoxStore boxStore)static <T> Cursor<T>InternalAccess. getActiveTxCursor(Box<T> box)static <T> longInternalAccess. getActiveTxCursorHandle(Box<T> box)(package private) int[]BoxStore. getAllEntityTypeIds()(package private) java.util.List<T>Cursor. getBacklinkEntities(int entityId, Property<?> relationIdProperty, long key)(package private) long[]Cursor. getBacklinkIds(int entityId, Property<?> relationIdProperty, long key)static java.lang.ObjectBoxStore. getContext()(package private) java.lang.Class<?>BoxStore. getEntityClassOrThrow(int entityTypeId)intProperty. getEntityId()(package private) <T> EntityInfo<T>BoxStore. getEntityInfo(java.lang.Class<T> entityClass)intBoxStore. getEntityTypeIdOrThrow(java.lang.Class<?> entityClass)static longInternalAccess. getHandle(Transaction tx)longBox. getId(T entity)intProperty. getId()java.util.List<T>Cursor. getRelationEntities(int sourceEntityId, int relationId, long key, boolean backlink)long[]Cursor. getRelationIds(int sourceEntityId, int relationId, long key, boolean backlink)static java.lang.ObjectBoxStore. getRelinker()static <T> Cursor<T>InternalAccess. getWriter(Box<T> box)<RESULT> RESULTBox. internalCallWithReaderHandle(CallWithHandle<RESULT> task)<RESULT> RESULTBox. internalCallWithWriterHandle(CallWithHandle<RESULT> task)TxCallback<?>BoxStore. internalFailedReadTxAttemptCallback()java.util.List<T>Box. internalGetBacklinkEntities(int entityId, Property<?> relationIdProperty, long key)java.util.List<T>Box. internalGetRelationEntities(int sourceEntityId, int relationId, long key, boolean backlink)long[]Box. internalGetRelationIds(int sourceEntityId, int relationId, long key, boolean backlink)(package private) longCursor. internalHandle()(package private) longTransaction. internalHandle()intBoxStore. internalQueryAttempts()java.util.concurrent.Future<?>BoxStore. internalScheduleThread(java.lang.Runnable runnable)java.util.concurrent.ExecutorServiceBoxStore. internalThreadPool()booleanBoxStore. isDebugRelations()booleanBoxStore. isNativeStoreClosed()For internal use only.voidCursor. modifyRelations(int relationId, long key, long[] targetKeys, boolean remove)voidCursor. modifyRelationsSingle(int relationId, long key, long targetKey, boolean remove)(package private) static longBoxStore. nativeGloballyActiveEntityTypes()A static counter for the alive entity types (entity schema instances); this can be useful to test against leaks.static voidInternalAccess. setSyncClient(BoxStore boxStore, SyncClient syncClient)voidBoxStore. unregisterTransaction(Transaction transaction)Constructors in io.objectbox with annotations of type Internal Constructor Description BoxStoreBuilder(byte[] model)Called internally from the generated class "MyObjectBox". -
Uses of Internal in io.objectbox.annotation.apihint
Classes in io.objectbox.annotation.apihint with annotations of type Internal Modifier and Type Class Description interfaceInternalAPIs annotated with @Internal must NOT be used. -
Uses of Internal in io.objectbox.internal
Classes in io.objectbox.internal with annotations of type Internal Modifier and Type Interface Description interfaceCallWithHandle<RESULT>interfaceCursorFactory<T>classObjectBoxThreadPoolCustom thread pool similar toExecutors.newCachedThreadPool()with the following adjustments: Release thread local resources (BoxStore.closeThreadResources()) Reduce keep-alive time for threads to 20 seconds Uses a ThreadFactory to name threads like "ObjectBox-1-Thread-1"classReflectionCacheinterfaceToManyGetter<SOURCE,TARGET>interfaceToOneGetter<SOURCE,TARGET> -
Uses of Internal in io.objectbox.query
Classes in io.objectbox.query with annotations of type Internal Modifier and Type Class Description classInternalAccessExposes internal APIs to tests and code in other packages.(package private) classQueryPublisher<T>ADataPublisherthat subscribes to an ObjectClassPublisher if there is at least one observer.Methods in io.objectbox.query with annotations of type Internal Modifier and Type Method Description (package private) voidQueryBuilder. internalAnd(long leftCondition, long rightCondition)(package private) longQueryBuilder. internalGetLastCondition()(package private) voidQueryBuilder. internalOr(long leftCondition, long rightCondition)static <T> voidInternalAccess. nativeFindFirst(Query<T> query, long cursorHandle)Constructors in io.objectbox.query with annotations of type Internal Constructor Description QueryBuilder(Box<T> box, long storeHandle, java.lang.String entityName) -
Uses of Internal in io.objectbox.reactive
Classes in io.objectbox.reactive with annotations of type Internal Modifier and Type Interface Description interfaceDataPublisher<T>classDataPublisherUtilsinterfaceDelegatingObserver<T>interfaceRunWithParam<T>classWeakDataObserver<T>Constructors in io.objectbox.reactive with annotations of type Internal Constructor Description SubscriptionBuilder(DataPublisher<T> publisher, java.lang.Object param) -
Uses of Internal in io.objectbox.relation
Classes in io.objectbox.relation with annotations of type Internal Modifier and Type Class Description classRelationInfo<SOURCE,TARGET>Meta info describing a relation including source and target entity.Methods in io.objectbox.relation with annotations of type Internal Modifier and Type Method Description TARGETToOne. getTarget(long targetId)If property backed, entities can pass the target ID to avoid reflection.voidToMany. internalApplyToDb(Cursor<?> sourceCursor, Cursor<TARGET> targetCursor)For internal use only; do not use in your app.booleanToMany. internalCheckApplyToDbRequired()For internal use only; do not use in your app.voidToOne. internalPutTarget(Cursor<TARGET> targetCursor)booleanToOne. internalRequiresPutTarget() -
Uses of Internal in io.objectbox.sync
Classes in io.objectbox.sync with annotations of type Internal Modifier and Type Class Description classSyncClientImplInternal sync client implementation.classSyncCredentialsTokenInternal credentials implementation.classSyncCredentialsUserPasswordInternal credentials implementation for user and password authentication.Methods in io.objectbox.sync with annotations of type Internal Modifier and Type Method Description (package private) SyncBuilderSyncBuilder. serverUrl(java.lang.String url)Allows internal code to set the Sync server URL after creating this builder.Constructors in io.objectbox.sync with annotations of type Internal Constructor Description SyncBuilder(BoxStore boxStore, SyncCredentials credentials)SyncBuilder(BoxStore boxStore, SyncCredentials[] multipleCredentials)SyncBuilder(BoxStore boxStore, java.lang.String url, SyncCredentials credentials)SyncBuilder(BoxStore boxStore, java.lang.String url, SyncCredentials[] multipleCredentials)SyncHybridBuilder(BoxStoreBuilder storeBuilder, java.lang.String url, SyncCredentials authenticatorCredentials)Internal API; useSync.hybrid(BoxStoreBuilder, String, SyncCredentials)instead. -
Uses of Internal in io.objectbox.sync.server
Classes in io.objectbox.sync.server with annotations of type Internal Modifier and Type Class Description (package private) classClusterPeerInfoInternal class to keep configuration for a cluster peer.classSyncServerImplInternal sync server implementation.Constructors in io.objectbox.sync.server with annotations of type Internal Constructor Description SyncServerBuilder(BoxStore boxStore, java.lang.String url, SyncCredentials authenticatorCredentials)UseSync.server(BoxStore, String, SyncCredentials)instead.SyncServerBuilder(BoxStore boxStore, java.lang.String url, SyncCredentials[] multipleAuthenticatorCredentials)UseSync.server(BoxStore, String, SyncCredentials)instead.
-