Package io.objectbox.model
Class IdUid
- java.lang.Object
-
- io.objectbox.flatbuffers.Struct
-
- io.objectbox.model.IdUid
-
public final class IdUid extends Struct
ID tuple: besides the main ID there is also a UID for verification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdUid.Vector
-
Constructor Summary
Constructors Constructor Description IdUid()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdUid__assign(int _i, java.nio.ByteBuffer _bb)void__init(int _i, java.nio.ByteBuffer _bb)static intcreateIdUid(FlatBufferBuilder builder, long id, long uid)longid()longuid()Unique ID (within the model) used to verify external managed IDs.
-
-
-
Method Detail
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public IdUid __assign(int _i, java.nio.ByteBuffer _bb)
-
id
public long id()
-
uid
public long uid()
Unique ID (within the model) used to verify external managed IDs. UIDs are also used within the model to make stable references (IDs might conflict during code merges).
-
createIdUid
public static int createIdUid(FlatBufferBuilder builder, long id, long uid)
-
-