Package org.apache.iceberg
Class FindFiles.Builder
java.lang.Object
org.apache.iceberg.FindFiles.Builder
- Enclosing class:
- FindFiles
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionasOfTime(long timestampMillis) Base results on files in the snapshot that was current as of a timestamp.caseSensitive(boolean findCaseSensitive) collect()Returns all files in the table that match all of the filters.inPartition(PartitionSpec spec, StructLike partition) Filter results to files in any one of the given partitions.inPartitions(PartitionSpec spec, List<StructLike> partitions) Filter results to files in any one of the given partitions.inPartitions(PartitionSpec spec, StructLike... partitions) Filter results to files in any one of the given partitions.inSnapshot(long findSnapshotId) Base results on the given snapshot.planWith(ExecutorService newExecutorService) Filter results using a metadata filter for the data in aDataFile.Filter results using a record filter.
- 
Constructor Details- 
Builder
 
- 
- 
Method Details- 
caseInsensitive
- 
caseSensitive
- 
includeColumnStats
- 
inSnapshotBase results on the given snapshot.- Parameters:
- findSnapshotId- a snapshot ID
- Returns:
- this for method chaining
 
- 
asOfTimeBase results on files in the snapshot that was current as of a timestamp.- Parameters:
- timestampMillis- a timestamp in milliseconds
- Returns:
- this for method chaining
 
- 
withRecordsMatchingFilter results using a record filter. Files that may contain at least one matching record will be returned bycollect().- Parameters:
- expr- a record filter
- Returns:
- this for method chaining
 
- 
withMetadataMatchingFilter results using a metadata filter for the data in aDataFile.- Parameters:
- expr- a filter for- DataFilemetadata columns
- Returns:
- this for method chaining
 
- 
inPartitionFilter results to files in any one of the given partitions.- Parameters:
- spec- a spec for the partitions
- partition- a StructLike that stores a partition tuple
- Returns:
- this for method chaining
 
- 
inPartitionsFilter results to files in any one of the given partitions.- Parameters:
- spec- a spec for the partitions
- partitions- one or more StructLike that stores a partition tuple
- Returns:
- this for method chaining
 
- 
inPartitionsFilter results to files in any one of the given partitions.- Parameters:
- spec- a spec for the partitions
- partitions- a list of StructLike that stores a partition tuple
- Returns:
- this for method chaining
 
- 
planWith
- 
collectReturns all files in the table that match all of the filters.
 
-