Package org.apache.iceberg.io
Interface FileAppender<D>
- 
- All Superinterfaces:
- java.lang.AutoCloseable,- java.io.Closeable
 - All Known Implementing Classes:
- ManifestWriter,- ParquetWriteAdapter
 
 public interface FileAppender<D> extends java.io.Closeable
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidadd(D datum)default voidaddAll(java.lang.Iterable<D> values)default voidaddAll(java.util.Iterator<D> values)longlength()Returns the length of this file.Metricsmetrics()ReturnsMetricsfor this file.default java.util.List<java.lang.Long>splitOffsets()Returns a list of recommended split locations, if applicable, null otherwise.
 
- 
- 
- 
Method Detail- 
addvoid add(D datum) 
 - 
addAlldefault void addAll(java.util.Iterator<D> values) 
 - 
addAlldefault void addAll(java.lang.Iterable<D> values) 
 - 
lengthlong length() Returns the length of this file.
 - 
splitOffsetsdefault java.util.List<java.lang.Long> splitOffsets() Returns a list of recommended split locations, if applicable, null otherwise.When available, this information is used for planning scan tasks whose boundaries are determined by these offsets. The returned list must be sorted in ascending order. Only valid after the file is closed. 
 
- 
 
-