Package org.apache.iceberg
Class ScanSummary.Builder
- java.lang.Object
-
- org.apache.iceberg.ScanSummary.Builder
-
- Enclosing class:
- ScanSummary
public static class ScanSummary.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScanSummary.Builder
after(long timestampMillis)
ScanSummary.Builder
after(java.lang.String timestamp)
ScanSummary.Builder
before(long timestampMillis)
ScanSummary.Builder
before(java.lang.String timestamp)
java.util.Map<java.lang.String,ScanSummary.PartitionMetrics>
build()
Summarizes a table scan as a map of partition key to metrics for that partition.ScanSummary.Builder
limit(int numPartitions)
ScanSummary.Builder
throwIfLimited()
-
-
-
Constructor Detail
-
Builder
public Builder(TableScan scan)
-
-
Method Detail
-
after
public ScanSummary.Builder after(java.lang.String timestamp)
-
after
public ScanSummary.Builder after(long timestampMillis)
-
before
public ScanSummary.Builder before(java.lang.String timestamp)
-
before
public ScanSummary.Builder before(long timestampMillis)
-
throwIfLimited
public ScanSummary.Builder throwIfLimited()
-
limit
public ScanSummary.Builder limit(int numPartitions)
-
build
public java.util.Map<java.lang.String,ScanSummary.PartitionMetrics> build()
Summarizes a table scan as a map of partition key to metrics for that partition.- Returns:
- a map from partition key to metrics for that partition.
-
-