Package io.objectbox.tree
Class LeafNode
java.lang.Object
io.objectbox.tree.LeafNode
(Potentially internal) value object created in our JNI layer to represent a leaf with all stored data.
Note that only one of the value properties is actually set for any node.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal long
double
final long
long
final long
One of String, byte[], String[]short
SeePropertyType
for values. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
public final long id -
branchId
public final long branchId -
metaId
public final long metaId -
integerValue
public long integerValue -
floatingValue
public double floatingValue -
objectValue
One of String, byte[], String[] -
valueType
public short valueTypeSeePropertyType
for values. Attention: does not represent the type accurately yet: 1) Strings are Bytes, 2) all integer type are Long, 3) all FPs are Double.
-
-
Constructor Details
-
LeafNode
public LeafNode(long id, long branchId, long metaId, long integerValue, double floatingValue, Object objectValue, short valueType) All-args constructor used by JNI (don't change, it's actually used).
-