public class Statistics extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Statistics.State |
Constructor and Description |
---|
Statistics() |
Statistics(long nr,
long ds,
long fs,
long numEcFiles) |
public Statistics()
public Statistics(long nr, long ds, long fs, long numEcFiles)
public void setTotalFileSize(long totalFileSize)
public long getTotalFileSize()
public long getNumRows()
public void setNumRows(long numRows)
public long getDataSize()
public void setDataSize(long dataSize)
public Statistics.State getBasicStatsState()
public void setBasicStatsState(Statistics.State basicStatsState)
public Statistics.State getColumnStatsState()
public void setColumnStatsState(Statistics.State columnStatsState)
public String toUserLevelExplainString()
public String extendedToString()
public Statistics clone()
public void addBasicStats(Statistics stats)
@Deprecated public void addToDataSize(long rds)
public void setColumnStats(Map<String,ColStatistics> colStats)
public void setColumnStats(List<ColStatistics> colStats)
public void addToColumnStats(List<ColStatistics> colStats)
public void updateColumnStatsState(Statistics.State newState)
public static Statistics.State inferColumnStatsState(Statistics.State prevState, Statistics.State newState)
public long getAvgRowSize()
public ColStatistics getColumnStatisticsFromColName(String colName)
public List<ColStatistics> getColumnStats()
public long getRunTimeNumRows()
public void setRunTimeNumRows(long runTimeNumRows)
public Statistics scaleToRowCount(long newRowCount, boolean downScaleOnly)
public boolean isRuntimeStats()
public void setRuntimeStats(boolean runtimeStats)
Copyright © 2023 The Apache Software Foundation. All rights reserved.