public class PlanNodeStatsEstimate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanNodeStatsEstimate.Builder |
| Constructor and Description |
|---|
PlanNodeStatsEstimate(double outputRowCount,
Map<Symbol,SymbolStatsEstimate> symbolStatistics) |
| Modifier and Type | Method and Description |
|---|---|
static PlanNodeStatsEstimate.Builder |
builder() |
static PlanNodeStatsEstimate.Builder |
buildFrom(PlanNodeStatsEstimate other) |
boolean |
equals(Object o) |
double |
getOutputRowCount()
Returns estimated number of rows.
|
double |
getOutputSizeInBytes(Collection<Symbol> outputSymbols,
TypeProvider types)
Returns estimated data size.
|
Map<Symbol,SymbolStatsEstimate> |
getSymbolStatistics() |
SymbolStatsEstimate |
getSymbolStatistics(Symbol symbol) |
Set<Symbol> |
getSymbolsWithKnownStatistics() |
int |
hashCode() |
boolean |
isOutputRowCountUnknown() |
PlanNodeStatsEstimate |
mapOutputRowCount(Function<Double,Double> mappingFunction) |
PlanNodeStatsEstimate |
mapSymbolColumnStatistics(Symbol symbol,
Function<SymbolStatsEstimate,SymbolStatsEstimate> mappingFunction) |
String |
toString() |
static PlanNodeStatsEstimate |
unknown() |
public PlanNodeStatsEstimate(double outputRowCount,
Map<Symbol,SymbolStatsEstimate> symbolStatistics)
public static PlanNodeStatsEstimate unknown()
public double getOutputRowCount()
Double.NaNpublic double getOutputSizeInBytes(Collection<Symbol> outputSymbols, TypeProvider types)
Double.NaNpublic PlanNodeStatsEstimate mapOutputRowCount(Function<Double,Double> mappingFunction)
public PlanNodeStatsEstimate mapSymbolColumnStatistics(Symbol symbol, Function<SymbolStatsEstimate,SymbolStatsEstimate> mappingFunction)
public SymbolStatsEstimate getSymbolStatistics(Symbol symbol)
public Map<Symbol,SymbolStatsEstimate> getSymbolStatistics()
public boolean isOutputRowCountUnknown()
public static PlanNodeStatsEstimate.Builder builder()
public static PlanNodeStatsEstimate.Builder buildFrom(PlanNodeStatsEstimate other)
Copyright © 2012–2019. All rights reserved.