Package com.pkgrove.pkgrovekit.storage
Class ObjectDataset.ExportOptions
-
- All Implemented Interfaces:
public final class ObjectDataset.ExportOptions
-
-
Field Summary
Fields Modifier and Type Field Description private final RowPartFormatformatprivate final IntegermaxPartBytesprivate final StringmanifestNameprivate final CancelTokencancelTokenprivate final Function2<Integer, Long, Unit>onProgressprivate final Clockclock
-
Constructor Summary
Constructors Constructor Description ObjectDataset.ExportOptions(RowPartFormat format, Integer maxPartBytes, String manifestName, CancelToken cancelToken, Function2<Integer, Long, Unit> onProgress, Clock clock)
-
Method Summary
Modifier and Type Method Description final RowPartFormatgetFormat()final IntegergetMaxPartBytes()Bound of ONE encoded part buffer — the export's peak memory. final StringgetManifestName()final CancelTokengetCancelToken()final Function2<Integer, Long, Unit>getOnProgress()(partsWritten, rowsWritten) — log-safe progress, no keys/values. final ClockgetClock()-
-
Method Detail
-
getFormat
final RowPartFormat getFormat()
-
getMaxPartBytes
final Integer getMaxPartBytes()
Bound of ONE encoded part buffer — the export's peak memory.
-
getManifestName
final String getManifestName()
-
getCancelToken
final CancelToken getCancelToken()
-
getOnProgress
final Function2<Integer, Long, Unit> getOnProgress()
(partsWritten, rowsWritten) — log-safe progress, no keys/values.
-
-
-
-