it.agilelab.bigdata.wasp.consumers.spark.batch
Creates an instance of the specified model.
Creates an instance of the specified model.
The model to instantiate
A Try containing the instance model or an exception
Retrieves BatchJobModels with specified name from the db.
Retrieves BatchJobModels with specified name from the db.
if no batch job exist with name failure is returned
A Try containing the BatchJobModels or an exception
Retrieves BatchJobInstanceModels of BatchJobModel with specified statuses
Retrieves BatchJobInstanceModels of BatchJobModel with specified statuses
The parent BatchJobModel whose instances should be retrieved
the status of the BatchJobInstanceModel that should be retrieved
A Try containing the BatchJobInstanceModels or an exception
Retrieves BatchJobInstanceModels with specified statuses
Retrieves BatchJobInstanceModels with specified statuses
the status of the BatchJobInstanceModel that should be retrieved
A Try containing the BatchJobInstanceModels or an exception
Retrieves BatchJobModels from the db.
Retrieves BatchJobModels from the db.
A Try containing the BatchJobModels or an exception
Retrieves the schedulers from the db
Retrieves the schedulers from the db
A Try containing the scheduler models or an exception
Updates the status of the supplied instance to the target status.
Updates the status of the supplied instance to the target status.
The instance to update
The target status
Maybe an error to persist on the database
A try containing the updated BatchJobInstanceModel or an exception.
Updates the status of the supplied instances to the target status.
Updates the status of the supplied instances to the target status.
The instances to update
The target status
A try containing the updated BatchJobInstanceModel or an exception.