Uses of Class
io.objectbox.Cursor
Packages that use Cursor
Package
Description
ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.
-
Uses of Cursor in io.objectbox
Fields in io.objectbox with type parameters of type CursorModifier and TypeFieldDescription(package private) final ThreadLocal<Cursor<T>> Box.activeTxCursorSet when running inside TXprivate final ThreadLocal<Cursor<T>> Methods in io.objectbox that return CursorModifier and TypeMethodDescription<T> Cursor<T> Transaction.createCursor(Class<T> entityClass) Box.getActiveTxCursor()static <T> Cursor<T> InternalAccess.getActiveTxCursor(Box<T> box) Box.getReader()protected <TARGET> Cursor<TARGET> Cursor.getRelationTargetCursor(Class<TARGET> targetClass) Note: this returns a secondary cursor, which does not survive standalone.Box.getWriter()static <T> Cursor<T> Methods in io.objectbox with parameters of type CursorModifier and TypeMethodDescription(package private) voidBox.commitWriter(Cursor<T> cursor) static <T> voidInternalAccess.commitWriter(Box<T> box, Cursor<T> writer) (package private) voidBox.releaseReader(Cursor<T> cursor) (package private) voidBox.releaseWriter(Cursor<T> cursor) -
Uses of Cursor in io.objectbox.internal
Methods in io.objectbox.internal that return CursorModifier and TypeMethodDescriptionCursorFactory.createCursor(Transaction tx, long cursorHandle, BoxStore boxStore) -
Uses of Cursor in io.objectbox.relation
Methods in io.objectbox.relation with parameters of type CursorModifier and TypeMethodDescriptionprivate voidToMany.addStandaloneRelations(Cursor<?> cursor, long sourceEntityId, TARGET[] added, IdGetter<TARGET> targetIdGetter) The target array may not contain non-persisted entities.voidToMany.internalApplyToDb(Cursor<?> sourceCursor, Cursor<TARGET> targetCursor) For internal use only; do not use in your app.voidToOne.internalPutTarget(Cursor<TARGET> targetCursor) private voidToMany.removeStandaloneRelations(Cursor<?> cursor, long sourceEntityId, List<TARGET> removed, IdGetter<TARGET> targetIdGetter) The list of removed entities may contain non-persisted entities, which will be ignored (removed from the list).