package at.procon.eventhub.importing;

import java.time.OffsetDateTime;
import java.util.Map;

public interface ExtractionBatchResult {

    int eventsInserted();

    boolean executed();

    OffsetDateTime lastSourcePackageImportedAt();

    String lastSourcePackageId();

    OffsetDateTime lastSourceRowUpdatedAt();

    OffsetDateTime lastOccurredTo();

    default Map<String, Integer> eventTypeCounts() {
        return Map.of();
    }
}
