Struct FieldR1
Persisted schema descriptor for a single field of a component (revision-1 layout). Stored inside the owning component's Fields collection to make the database self-describing.
public struct FieldR1
- Inherited Members
Fields
ArrayLength
Element count when the field is a fixed-length array; 0 for scalar fields (see IsArray).
public int ArrayLength
Field Value
FieldId
Stable numeric id of the field within its component.
public int FieldId
Field Value
HasIndex
true when the field is indexed.
public bool HasIndex
Field Value
IndexAllowMultiple
true when the field's index permits multiple entries per key (multi-value index).
public bool IndexAllowMultiple
Field Value
IndexSPI
Root page index (SPI) of this field's dedicated index segment; 0 when the field has no such segment.
public uint IndexSPI
Field Value
IsStatic
true when the field is declared static — not stored per entity, and excluded from FieldCount.
public bool IsStatic
Field Value
Name
Field name as declared on the component POCO.
public String64 Name
Field Value
OffsetInComponentStorage
Byte offset of the field within the component's per-entity storage.
public int OffsetInComponentStorage
Field Value
SchemaName
Fully-qualified schema name of this field-descriptor record ("Typhon.Schema.Field").
public const string SchemaName = "Typhon.Schema.Field"
Field Value
SizeInComponentStorage
Byte size of the field within the component's per-entity storage.
public int SizeInComponentStorage
Field Value
Type
Logical field type.
public FieldType Type
Field Value
UnderlyingType
For an enum field, the primitive type backing the enum; equal to Type for non-enum fields.
public FieldType UnderlyingType
Field Value
Properties
IsArray
true when ArrayLength > 0, i.e. the field is a fixed-length array.
public bool IsArray { get; }