OBXPropertyFlags class abstract
Bit-flags defining the behavior of properties. Note: Numbers indicate the bit position
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.
- ID → const int
64 bit long property (internally unsigned) representing the ID of the entity.
May be combined with: NON_PRIMITIVE_TYPE, ID_MONOTONIC_SEQUENCE, ID_SELF_ASSIGNABLE.
- ID_COMPANION → const int
By defining an ID companion property, a special ID encoding scheme is activated involving this property.
- ID_MONOTONIC_SEQUENCE → const int
Unused yet: Use a persisted sequence to enforce ID to rise monotonic (no ID reuse)
- ID_SELF_ASSIGNABLE → const int
Allow IDs to be assigned by the developer
- INDEX_HASH → const int
Index uses a 32 bit hash instead of the value
32 bits is shorter on disk, runs well on 32 bit systems, and should be OK even with a few collisions
- INDEX_HASH64 → const int
Index uses a 64 bit hash instead of the value
recommended mostly for 64 bit machines with values longer >200 bytes; small values are faster with a 32 bit hash
- INDEX_PARTIAL_SKIP_NULL → const int
- INDEX_PARTIAL_SKIP_ZERO → const int
Used by References for 1) back-references and 2) to clear references to deleted objects (required for ID reuse)
- INDEXED → const int
- NON_PRIMITIVE_TYPE → const int
On languages like Java, a non-primitive type is used (aka wrapper types, allowing null)
- NOT_NULL → const int
- RESERVED → const int
- UNIQUE → const int
- UNIQUE_ON_CONFLICT_REPLACE → const int
Unique on-conflict strategy: the object being put replaces any existing conflicting object (deletes it).
- UNSIGNED → const int
The actual type of the variable is unsigned (used in combination with numeric OBXPropertyType_*).
While our default are signed ints, queries & indexes need do know signing info.
Note: Don't combine with ID (IDs are always unsigned internally).
- VIRTUAL → const int
Virtual properties may not have a dedicated field in their entity class, e.g. target IDs of to-one relations