Package org.apache.iceberg
Class FileMetadata.Builder
java.lang.Object
org.apache.iceberg.FileMetadata.Builder
- Enclosing class:
- FileMetadata
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
clear()
copy
(DeleteFile toCopy) ofEqualityDeletes
(int... fieldIds) withContentOffset
(long newContentOffset) withContentSizeInBytes
(long newContentSizeInBytes) withEncryptedOutputFile
(EncryptedOutputFile newEncryptedFile) withEncryptionKeyMetadata
(ByteBuffer newKeyMetadata) withEncryptionKeyMetadata
(EncryptionKeyMetadata newKeyMetadata) withFileSizeInBytes
(long newFileSizeInBytes) withFormat
(String newFormat) withFormat
(FileFormat newFormat) withInputFile
(InputFile file) withMetrics
(Metrics metrics) withPartition
(StructLike newPartition) withPartitionPath
(String newPartitionPath) withRecordCount
(long newRecordCount) withReferencedDataFile
(CharSequence newReferencedDataFile) withSortOrder
(SortOrder newSortOrder) withSplitOffsets
(List<Long> offsets) withStatus
(org.apache.hadoop.fs.FileStatus stat)
-
Method Details
-
clear
public void clear() -
copy
-
ofPositionDeletes
-
ofEqualityDeletes
-
withStatus
-
withInputFile
-
withEncryptedOutputFile
-
withPath
-
withFormat
-
withFormat
-
withPartition
-
withRecordCount
-
withFileSizeInBytes
-
withPartitionPath
-
withMetrics
-
withSplitOffsets
-
withEncryptionKeyMetadata
-
withEncryptionKeyMetadata
-
withSortOrder
-
withReferencedDataFile
-
withContentOffset
-
withContentSizeInBytes
-
build
-