Package io.objectbox.model
Class PropertyType
- java.lang.Object
-
- io.objectbox.model.PropertyType
-
public final class PropertyType extends java.lang.ObjectBasic type of a property
-
-
Field Summary
Fields Modifier and Type Field Description static shortBoolA boolean (flag)static shortBoolVectorVariable sized vector of Bool values (boolean; note: each value is represented as one byte)static shortByte8-bit integerstatic shortByteVectorVariable sized vector of Byte values (8-bit integers)static shortChar16-bit characterstatic shortCharVectorVariable sized vector of Char values (16-bit characters)static shortDateDate/time stored as a 64-bit (integer) timestamp representing milliseconds since 1970-01-01 (unix epoch)static shortDateNanoHigh precision date/time stored as a 64-bit timestamp representing nanoseconds since 1970-01-01 (unix epoch)static shortDateNanoVectorVariable sized vector of Date values (high precision 64-bit timestamp).static shortDateVectorVariable sized vector of Date values (64-bit timestamp).static shortDouble64-bit floating point numberstatic shortDoubleVectorVariable sized vector of Double values (64-bit floating point numbers)static shortFlex"Flexible" type, which may contain scalars (integers, floating points), strings or containers (lists and maps).static shortFloat32-bit floating point numberstatic shortFloatVectorVariable sized vector of Float values (32-bit floating point numbers)static shortInt32-bit integerstatic shortIntVectorVariable sized vector of Int values (32-bit integers)static shortLong64-bit integerstatic shortLongVectorVariable sized vector of Long values (64-bit integers)static java.lang.String[]namesstatic shortRelationRelation to another entitystatic shortReserved10static shortReserved3static shortReserved4static shortReserved5static shortReserved6static shortReserved7static shortReserved8static shortReserved9static shortShort16-bit integerstatic shortShortVectorVariable sized vector of Short values (16-bit integers)static shortStringUTF-8 encoded string (variable length)static shortStringVectorVariable sized vector of String values (UTF-8 encoded strings).static shortUnknownNot a real type, just best practice (e.g.
-
Constructor Summary
Constructors Modifier Constructor Description privatePropertyType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringname(int e)
-
-
-
Field Detail
-
Unknown
public static final short Unknown
Not a real type, just best practice (e.g. forward compatibility)- See Also:
- Constant Field Values
-
Bool
public static final short Bool
A boolean (flag)- See Also:
- Constant Field Values
-
Byte
public static final short Byte
8-bit integer- See Also:
- Constant Field Values
-
Short
public static final short Short
16-bit integer- See Also:
- Constant Field Values
-
Char
public static final short Char
16-bit character- See Also:
- Constant Field Values
-
Int
public static final short Int
32-bit integer- See Also:
- Constant Field Values
-
Long
public static final short Long
64-bit integer- See Also:
- Constant Field Values
-
Float
public static final short Float
32-bit floating point number- See Also:
- Constant Field Values
-
Double
public static final short Double
64-bit floating point number- See Also:
- Constant Field Values
-
String
public static final short String
UTF-8 encoded string (variable length)- See Also:
- Constant Field Values
-
Date
public static final short Date
Date/time stored as a 64-bit (integer) timestamp representing milliseconds since 1970-01-01 (unix epoch)- See Also:
- Constant Field Values
-
Relation
public static final short Relation
Relation to another entity- See Also:
- Constant Field Values
-
DateNano
public static final short DateNano
High precision date/time stored as a 64-bit timestamp representing nanoseconds since 1970-01-01 (unix epoch)- See Also:
- Constant Field Values
-
Flex
public static final short Flex
"Flexible" type, which may contain scalars (integers, floating points), strings or containers (lists and maps). Note: a flex map must use string keys.- See Also:
- Constant Field Values
-
Reserved3
public static final short Reserved3
- See Also:
- Constant Field Values
-
Reserved4
public static final short Reserved4
- See Also:
- Constant Field Values
-
Reserved5
public static final short Reserved5
- See Also:
- Constant Field Values
-
Reserved6
public static final short Reserved6
- See Also:
- Constant Field Values
-
Reserved7
public static final short Reserved7
- See Also:
- Constant Field Values
-
Reserved8
public static final short Reserved8
- See Also:
- Constant Field Values
-
Reserved9
public static final short Reserved9
- See Also:
- Constant Field Values
-
Reserved10
public static final short Reserved10
- See Also:
- Constant Field Values
-
BoolVector
public static final short BoolVector
Variable sized vector of Bool values (boolean; note: each value is represented as one byte)- See Also:
- Constant Field Values
-
ByteVector
public static final short ByteVector
Variable sized vector of Byte values (8-bit integers)- See Also:
- Constant Field Values
-
ShortVector
public static final short ShortVector
Variable sized vector of Short values (16-bit integers)- See Also:
- Constant Field Values
-
CharVector
public static final short CharVector
Variable sized vector of Char values (16-bit characters)- See Also:
- Constant Field Values
-
IntVector
public static final short IntVector
Variable sized vector of Int values (32-bit integers)- See Also:
- Constant Field Values
-
LongVector
public static final short LongVector
Variable sized vector of Long values (64-bit integers)- See Also:
- Constant Field Values
-
FloatVector
public static final short FloatVector
Variable sized vector of Float values (32-bit floating point numbers)- See Also:
- Constant Field Values
-
DoubleVector
public static final short DoubleVector
Variable sized vector of Double values (64-bit floating point numbers)- See Also:
- Constant Field Values
-
StringVector
public static final short StringVector
Variable sized vector of String values (UTF-8 encoded strings).- See Also:
- Constant Field Values
-
DateVector
public static final short DateVector
Variable sized vector of Date values (64-bit timestamp).- See Also:
- Constant Field Values
-
DateNanoVector
public static final short DateNanoVector
Variable sized vector of Date values (high precision 64-bit timestamp).- See Also:
- Constant Field Values
-
names
public static final java.lang.String[] names
-
-