Package org.apache.beam.sdk.io.iceberg
Class SerializableDeleteFile
java.lang.Object
org.apache.beam.sdk.io.iceberg.SerializableDeleteFile
@DefaultSchema(AutoValueSchema.class)
@Internal
public abstract class SerializableDeleteFile
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.beam.sdk.io.iceberg.SerializableDeleteFile.Builderbuilder()org.apache.iceberg.DeleteFilecreateDeleteFile(Map<Integer, org.apache.iceberg.PartitionSpec> partitionSpecs, @Nullable Map<Integer, org.apache.iceberg.SortOrder> sortOrders) final booleanstatic SerializableDeleteFilestatic SerializableDeleteFilefrom(org.apache.iceberg.DeleteFile deleteFile, Map<Integer, org.apache.iceberg.PartitionSpec> specs, boolean includeMetrics) Creates aSerializableDeleteFile, resolving the file'sPartitionSpecby its own spec id.static SerializableDeleteFilefrom(org.apache.iceberg.DeleteFile deleteFile, org.apache.iceberg.PartitionSpec spec) static SerializableDeleteFilefrom(org.apache.iceberg.DeleteFile deleteFile, org.apache.iceberg.PartitionSpec spec, boolean includeMetrics) abstract org.apache.iceberg.FileContentabstract Stringabstract longabstract @Nullable ByteBufferabstract Stringabstract StringDeprecated.abstract intabstract longfinal inthashCode()
-
Constructor Details
-
SerializableDeleteFile
public SerializableDeleteFile()
-
-
Method Details
-
builder
public static org.apache.beam.sdk.io.iceberg.SerializableDeleteFile.Builder builder() -
getContentType
-
getLocation
-
getFileFormat
-
getRecordCount
-
getFileSizeInBytes
-
getPartitionPath
Deprecated.UsegetJsonPartition()instead. -
getPartitionSpecId
-
getSortOrderId
-
getEqualityFieldIds
-
getKeyMetadata
-
getSplitOffsets
-
getColumnSizes
-
getValueCounts
-
getNullValueCounts
-
getNanValueCounts
-
getLowerBounds
-
getUpperBounds
-
getContentOffset
-
getContentSizeInBytes
-
getReferencedDataFile
-
getDataSequenceNumber
-
getFileSequenceNumber
-
from
public static SerializableDeleteFile from(org.apache.iceberg.DeleteFile deleteFile, Map<Integer, org.apache.iceberg.PartitionSpec> specs) -
from
public static SerializableDeleteFile from(org.apache.iceberg.DeleteFile deleteFile, Map<Integer, org.apache.iceberg.PartitionSpec> specs, boolean includeMetrics) Creates aSerializableDeleteFile, resolving the file'sPartitionSpecby its own spec id.Delete files reached from a scan task may carry a spec id that differs from the spec of the data file they apply to, so the lookup has to be per delete file rather than against a single "current" spec.
-
from
public static SerializableDeleteFile from(org.apache.iceberg.DeleteFile deleteFile, org.apache.iceberg.PartitionSpec spec) -
from
public static SerializableDeleteFile from(org.apache.iceberg.DeleteFile deleteFile, org.apache.iceberg.PartitionSpec spec, boolean includeMetrics) -
createDeleteFile
-
equals
-
hashCode
public final int hashCode()
-
getJsonPartition()instead.