class DeleteAnnotationPatches extends Job

Traits

Queueable
Dispatchable

Properties

protected array $trainingProposals

The training proposals to delete, grouped by image ID.

protected array $annotationCandidates

The annotation candidates to delete, grouped by image ID.

Methods

__construct(MaiaJob $job)

Create a new isntance.

void
handle()

Handle the event.

deleteAnnotations(array $annotations, string $disk)

Delete MAIA annotations form the specified storage disk.

array
getAnnotationsArray(QueryBuilder $query)

Get the array of annotation IDs and their image ids.

Details

at line 33
__construct(MaiaJob $job)

Create a new isntance.

Parameters

MaiaJob $job

at line 46
void handle()

Handle the event.

Return Value

void

at line 61
protected deleteAnnotations(array $annotations, string $disk)

Delete MAIA annotations form the specified storage disk.

Parameters

array $annotations
string $disk

at line 85
protected array getAnnotationsArray(QueryBuilder $query)

Get the array of annotation IDs and their image ids.

Parameters

QueryBuilder $query

Return Value

array