DsBuild class
Build a transformation pipeline from a DatasetDescriptor
Provides transparent dispatching to a WorkerPool
Constructors
- DsBuild(DatasetDescriptor descriptor, ProgressBloc? progress, {Registry? registry, WorkerPool? workerPool})
-
A map of available builtin transformers. Additional transformers should be registered via the
Registry
A DatasetDescriptor is required.
Properties
- build → BuildConfig
-
Convenience getter for the build configuration.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- progress → ProgressBloc
-
Progress events.
final
- registry → Registry
-
Allows registering additional transformers.
final
- repository → Repository
-
Stores data during the build process.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerPool → WorkerPool
-
Manage the WorkerPool
final
Methods
-
buildPipeline(
List< StepDescriptor> steps, {List<Conversation> initialElements = const [], bool enableProgress = true}) → Stream<List< Conversation> > -
A convenience function to build a new pipeline from a
Repository.descriptor
Remote worker groups should be previously registered with the workerPool -
fetchRequirements(
) → Stream< RequirementDescriptor> - Fetch all requirements. yields an InputDescriptor for each newly satisfied dependency.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyDescriptor(
) → List< String> - Verify the descriptor is valid and all required transformers are registered.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited