OBXPropertyFlags class abstract
Bit-flags defining the behavior of properties. Note: Numbers indicate the bit position
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- 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.
1
- ID_COMPANION → const int
-
By defining an ID companion property, a special ID encoding scheme is activated involving this property.
16384
- ID_MONOTONIC_SEQUENCE → const int
-
Unused yet: Use a persisted sequence to enforce ID to rise monotonic (no ID reuse)
64
- ID_SELF_ASSIGNABLE → const int
-
Allow IDs to be assigned by the developer
128
- 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
2048
- 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
4096
- INDEX_PARTIAL_SKIP_NULL → const int
-
Unused yet
256
- 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)
512
- INDEXED → const int
-
8
- NON_PRIMITIVE_TYPE → const int
-
On languages like Java, a non-primitive type is used (aka wrapper types, allowing null)
2
- NOT_NULL → const int
-
Unused yet
4
- RESERVED → const int
-
Unused yet
16
- UNIQUE → const int
-
Unique index
32
- UNIQUE_ON_CONFLICT_REPLACE → const int
-
Unique on-conflict strategy: the object being put replaces any existing conflicting object (deletes it).
32768
- 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).
8192
- VIRTUAL → const int
-
Virtual properties may not have a dedicated field in their entity class, e.g. target IDs of to-one relations
1024