public static class ScanSummary.Builder
extends java.lang.Object
Modifier and Type | Method and 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() |
public Builder(TableScan scan)
public ScanSummary.Builder after(java.lang.String timestamp)
public ScanSummary.Builder after(long timestampMillis)
public ScanSummary.Builder before(java.lang.String timestamp)
public ScanSummary.Builder before(long timestampMillis)
public ScanSummary.Builder throwIfLimited()
public ScanSummary.Builder limit(int numPartitions)
public java.util.Map<java.lang.String,ScanSummary.PartitionMetrics> build()