Package org.apache.iceberg
Class FileMetadata.Builder
- java.lang.Object
-
- org.apache.iceberg.FileMetadata.Builder
-
- Enclosing class:
- FileMetadata
public static class FileMetadata.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
clear
public void clear()
-
copy
public FileMetadata.Builder copy(DeleteFile toCopy)
-
ofPositionDeletes
public FileMetadata.Builder ofPositionDeletes()
-
ofEqualityDeletes
public FileMetadata.Builder ofEqualityDeletes(int... fieldIds)
-
withStatus
public FileMetadata.Builder withStatus(org.apache.hadoop.fs.FileStatus stat)
-
withInputFile
public FileMetadata.Builder withInputFile(InputFile file)
-
withEncryptedOutputFile
public FileMetadata.Builder withEncryptedOutputFile(EncryptedOutputFile newEncryptedFile)
-
withPath
public FileMetadata.Builder withPath(java.lang.String newFilePath)
-
withFormat
public FileMetadata.Builder withFormat(java.lang.String newFormat)
-
withFormat
public FileMetadata.Builder withFormat(FileFormat newFormat)
-
withPartition
public FileMetadata.Builder withPartition(StructLike newPartition)
-
withRecordCount
public FileMetadata.Builder withRecordCount(long newRecordCount)
-
withFileSizeInBytes
public FileMetadata.Builder withFileSizeInBytes(long newFileSizeInBytes)
-
withPartitionPath
public FileMetadata.Builder withPartitionPath(java.lang.String newPartitionPath)
-
withMetrics
public FileMetadata.Builder withMetrics(Metrics metrics)
-
withEncryptionKeyMetadata
public FileMetadata.Builder withEncryptionKeyMetadata(java.nio.ByteBuffer newKeyMetadata)
-
withEncryptionKeyMetadata
public FileMetadata.Builder withEncryptionKeyMetadata(EncryptionKeyMetadata newKeyMetadata)
-
withSortOrder
public FileMetadata.Builder withSortOrder(SortOrder newSortOrder)
-
build
public DeleteFile build()
-
-