Uses of Class
io.objectbox.Cursor
-
Packages that use Cursor Package Description io.objectbox ObjectBox is an an easy to use, object-oriented lightweight database and a full alternative to SQLite.io.objectbox.internal io.objectbox.relation -
-
Uses of Cursor in io.objectbox
Fields in io.objectbox with type parameters of type Cursor Modifier and Type Field Description (package private) java.lang.ThreadLocal<Cursor<T>>Box. activeTxCursorSet when running inside TXprivate java.lang.ThreadLocal<Cursor<T>>Box. threadLocalReaderMethods in io.objectbox that return Cursor Modifier and Type Method Description <T> Cursor<T>Transaction. createCursor(java.lang.Class<T> entityClass)(package private) Cursor<T>Box. getActiveTxCursor()static <T> Cursor<T>InternalAccess. getActiveTxCursor(Box<T> box)(package private) Cursor<T>Box. getReader()protected <TARGET> Cursor<TARGET>Cursor. getRelationTargetCursor(java.lang.Class<TARGET> targetClass)Note: this returns a secondary cursor, which does not survive standalone.(package private) Cursor<T>Box. getWriter()static <T> Cursor<T>InternalAccess. getWriter(Box<T> box)Methods in io.objectbox with parameters of type Cursor Modifier and Type Method Description (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 Cursor Modifier and Type Method Description Cursor<T>CursorFactory. createCursor(Transaction tx, long cursorHandle, BoxStore boxStore) -
Uses of Cursor in io.objectbox.relation
Methods in io.objectbox.relation with parameters of type Cursor Modifier and Type Method Description private 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, java.util.List<TARGET> removed, IdGetter<TARGET> targetIdGetter)The list of removed entities may contain non-persisted entities, which will be ignored (removed from the list).
-