CompactionEngine enum

Which compaction engine a compaction run uses.

Inheritance
Available extensions

Values

classic → const CompactionEngine

The classic lossy prefix summary — the legacy 1.0 engine, kept as the supported in-settings rollback (issue #287).

const CompactionEngine('classic')
structured → const CompactionEngine

The structured engine: judge-hide pass, checkpoint pass, expand API. The DEFAULT everywhere since issue #287.

const CompactionEngine('structured')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The compaction.engine config value.
final

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

Static Methods

fromSection(Object? node, {required String label}) → CompactionEngine?
Parses a raw compaction: section node ({engine: structured}).
tryParse(Object? value, {required String label}) → CompactionEngine?
Parses a compaction.engine value; null when value is absent.

Constants

values → const List<CompactionEngine>
A constant List of the values in this enum, in order of their declaration.