Package org.apache.iceberg
Class SnapshotSummary.Builder
java.lang.Object
org.apache.iceberg.SnapshotSummary.Builder
- Enclosing class:
- SnapshotSummary
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddedFile(PartitionSpec spec, DataFile file) voidaddedFile(PartitionSpec spec, DeleteFile file) voidaddedManifest(ManifestFile manifest) build()voidclear()voiddeletedFile(PartitionSpec spec, ContentFile<?> file) voiddeletedFile(PartitionSpec spec, DataFile file) voiddeletedFile(PartitionSpec spec, DeleteFile file) voidvoidincrementDuplicateDeletes(int increment) voidmerge(SnapshotSummary.Builder builder) voidvoidsetPartitionSummaryLimit(int max) Sets the maximum number of changed partitions before partition summaries will be excluded.
- 
Method Details- 
clearpublic void clear()
- 
setPartitionSummaryLimitpublic void setPartitionSummaryLimit(int max) Sets the maximum number of changed partitions before partition summaries will be excluded.If the number of changed partitions is over this max, summaries will not be included. If the number of changed partitions is <= this limit, then partition-level summaries will be included in the summary if they are available, and "partition-summaries-included" will be set to "true". - Parameters:
- max- maximum number of changed partitions
 
- 
incrementDuplicateDeletespublic void incrementDuplicateDeletes()
- 
incrementDuplicateDeletespublic void incrementDuplicateDeletes(int increment) 
- 
addedFile
- 
addedFile
- 
deletedFile
- 
deletedFile
- 
deletedFile
- 
addedManifest
- 
set
- 
merge
- 
build
 
-