public class TableStatistics extends Object
Usually each table will have two types of statistics information: 1. Meta info (tableId, count, modifyCount, version) 2. Column/Index histogram info (columnsHistMap, indexHistMap)
Constructor and Description |
---|
TableStatistics(long tableId) |
Modifier and Type | Method and Description |
---|---|
Map<Long,ColumnStatistics> |
getColumnsHistMap() |
long |
getCount() |
Map<Long,IndexStatistics> |
getIndexHistMap() |
long |
getModifyCount() |
long |
getTableId() |
long |
getVersion() |
void |
setCount(long count) |
void |
setModifyCount(long modifyCount) |
void |
setVersion(long version) |
public long getTableId()
public Map<Long,ColumnStatistics> getColumnsHistMap()
public Map<Long,IndexStatistics> getIndexHistMap()
public long getCount()
public void setCount(long count)
public long getModifyCount()
public void setModifyCount(long modifyCount)
public long getVersion()
public void setVersion(long version)
Copyright © 2024 PingCAP. All rights reserved.