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 Details

    • estimateBytes

      long estimateBytes(PreparedExportDocument document)
      Estimates the number of bytes that would be appended for one prepared document.
    • appendDocument

      long appendDocument(PreparedExportDocument document)
      Appends one prepared document to disk.
    • appendBatch

      default long appendBatch(List<PreparedExportDocument> documents)
      Appends a batch of prepared documents to disk.