Package io.gdcc.spi.export
Class FileExportQuery
java.lang.Object
io.gdcc.spi.export.FileExportQuery
Defines what file metadata to retrieve and at what level of detail
for file-oriented export operations.
This is a pure data-shape specification: it answers which files should be included
and how much detail about them should be fetched. It deliberately does not address
how much data to retrieve per call — pagination is a separate,
orthogonal concern expressed via a PageRequest at the method level.
A FileExportQuery may be used standalone in file-centric export methods,
or composed inside a DatasetExportQuery to specify how file metadata
should be shaped within a dataset export.
Instances are immutable and must be constructed via builder().
Use defaults() for the standard all-files query with no special filtering.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FileExportQuery.Builderbuilder()Returns a builder for creating new queries.static FileExportQuerydefaults()Returns a default query, which includes all files without filtering or detail restrictions.booleanReturns the file metadata predicates that control which files are included and what level of detail is fetched for each.inthashCode()toString()
-
Method Details
-
builder
Returns a builder for creating new queries. -
defaults
Returns a default query, which includes all files without filtering or detail restrictions. -
getFilePredicates
Returns the file metadata predicates that control which files are included and what level of detail is fetched for each.- Returns:
- an unmodifiable set of
FileMetadataPredicates; nevernull
-
equals
-
hashCode
public int hashCode() -
toString
-