public static class DataFiles.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(PartitionSpec spec) |
public Builder(PartitionSpec spec)
public void clear()
public DataFiles.Builder copy(DataFile toCopy)
public DataFiles.Builder withStatus(org.apache.hadoop.fs.FileStatus stat)
public DataFiles.Builder withInputFile(InputFile file)
public DataFiles.Builder withEncryptedOutputFile(EncryptedOutputFile newEncryptedFile)
public DataFiles.Builder withPath(java.lang.String newFilePath)
public DataFiles.Builder withFormat(java.lang.String newFormat)
public DataFiles.Builder withFormat(FileFormat newFormat)
public DataFiles.Builder withPartition(StructLike newPartition)
public DataFiles.Builder withRecordCount(long newRecordCount)
public DataFiles.Builder withFileSizeInBytes(long newFileSizeInBytes)
public DataFiles.Builder withPartitionPath(java.lang.String newPartitionPath)
public DataFiles.Builder withMetrics(Metrics metrics)
public DataFiles.Builder withSplitOffsets(java.util.List<java.lang.Long> offsets)
public DataFiles.Builder withEncryptionKeyMetadata(java.nio.ByteBuffer newKeyMetadata)
public DataFiles.Builder withEncryptionKeyMetadata(EncryptionKeyMetadata newKeyMetadata)
public DataFiles.Builder withSortOrder(SortOrder newSortOrder)
public DataFile build()