Package org.apache.iceberg.formats
Interface BaseFormatModel.WriterFunction<W,S,F>
- Type Parameters:
W- the file format specific writer type to be createdS- the engine-specific schema type describing the input dataF- the file schema type used by the underlying file format
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for creating writers that can write data in a specific format.
-
Method Summary
-
Method Details
-
write
Creates a writer for the given schemas.- Parameters:
icebergSchema- the Iceberg schema defining the table structurefileSchema- the file format specific target schema for the output filesengineSchema- the engine-specific schema for the input data (optional)- Returns:
- a writer configured for the given schemas
-