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) |
Modifier and Type | Method and Description |
---|---|
void |
addToColumnStats(List<ColStatistics> colStats) |
void |
addToDataSize(long rds) |
void |
addToNumRows(long nr) |
Statistics |
clone() |
String |
extendedToString() |
long |
getAvgRowSize() |
Statistics.State |
getBasicStatsState() |
ColStatistics |
getColumnStatisticsFromColName(String colName) |
List<ColStatistics> |
getColumnStats() |
Statistics.State |
getColumnStatsState() |
long |
getDataSize() |
long |
getNumRows() |
void |
setBasicStatsState(Statistics.State basicStatsState) |
void |
setColumnStats(List<ColStatistics> colStats) |
void |
setColumnStats(Map<String,ColStatistics> colStats) |
void |
setColumnStatsState(Statistics.State columnStatsState) |
void |
setDataSize(long dataSize) |
void |
setNumRows(long numRows) |
String |
toString() |
void |
updateColumnStatsState(Statistics.State newState) |
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 extendedToString()
public Statistics clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void addToNumRows(long nr)
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 long getAvgRowSize()
public ColStatistics getColumnStatisticsFromColName(String colName)
public List<ColStatistics> getColumnStats()
Copyright © 2017 The Apache Software Foundation. All rights reserved.