Package org.apache.iceberg
Class BasePartitionStatisticsScan
java.lang.Object
org.apache.iceberg.BasePartitionStatisticsScan
- All Implemented Interfaces:
PartitionStatisticsScan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter(Expression newFilter) Create a new scan from the results of this, where partitions are filtered by theExpression.Create a new scan from this with the schema as its projection.scan()Scans a partition statistics file belonging to a particular snapshotuseSnapshot(long newSnapshotId) Create a new scan from this scan's configuration that will use the given snapshot by ID.
-
Constructor Details
-
BasePartitionStatisticsScan
-
-
Method Details
-
useSnapshot
Description copied from interface:PartitionStatisticsScanCreate a new scan from this scan's configuration that will use the given snapshot by ID.- Specified by:
useSnapshotin interfacePartitionStatisticsScan- Parameters:
newSnapshotId- a snapshot ID- Returns:
- a new scan based on this with the given snapshot ID
-
filter
Description copied from interface:PartitionStatisticsScanCreate a new scan from the results of this, where partitions are filtered by theExpression.- Specified by:
filterin interfacePartitionStatisticsScan- Parameters:
newFilter- a filter expression- Returns:
- a new scan based on this with results filtered by the expression
-
project
Description copied from interface:PartitionStatisticsScanCreate a new scan from this with the schema as its projection.- Specified by:
projectin interfacePartitionStatisticsScan- Parameters:
newSchema- a projection schema- Returns:
- a new scan based on this with the given projection
-
scan
Description copied from interface:PartitionStatisticsScanScans a partition statistics file belonging to a particular snapshot- Specified by:
scanin interfacePartitionStatisticsScan- Returns:
- an Iterable of partition statistics
-