Class DatasetExportQuery

java.lang.Object
io.gdcc.spi.export.DatasetExportQuery

public final class DatasetExportQuery extends Object
Defines what dataset metadata to retrieve and at what level of detail for dataset-oriented export operations.

This is a pure data-shape specification: it answers which aspects of a dataset should be included in an export, and optionally how file metadata nested within that dataset should be shaped. It deliberately does not address which datasets to operate on (that is a selection concern at a higher level), nor how much data to retrieve per call — pagination is a separate, orthogonal concern expressed via a PageRequest at the method level.

File metadata shaping is optional: if no FileExportQuery is provided at build time, FileExportQuery.none() is included, resulting in file metadata addition being skipped.

Instances are immutable and must be constructed via builder(). Use defaults() for the standard query with no special filtering and skipping files.

See Also: