Interface FileSink
public interface FileSink
Contract for file-based export sinks.
Implementations append prepared exporter documents to disk in a sink-specific format such as JSONL or bulk-compatible NDJSON.
-
Method Summary
Modifier and TypeMethodDescriptiondefault longappendBatch(List<PreparedExportDocument> documents) Appends a batch of prepared documents to disk.longappendDocument(PreparedExportDocument document) Appends one prepared document to disk.longestimateBytes(PreparedExportDocument document) Estimates the number of bytes that would be appended for one prepared document.
-
Method Details
-
estimateBytes
Estimates the number of bytes that would be appended for one prepared document. -
appendDocument
Appends one prepared document to disk. -
appendBatch
Appends a batch of prepared documents to disk.
-