Class ObjectPartitionStatisticsImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.stat.ObjectStatisticsImpl
-
- org.apache.ignite.internal.processors.query.stat.ObjectPartitionStatisticsImpl
-
- All Implemented Interfaces:
Cloneable,ObjectStatistics
public class ObjectPartitionStatisticsImpl extends ObjectStatisticsImpl
Statistic for some partition of data object.
-
-
Constructor Summary
Constructors Constructor Description ObjectPartitionStatisticsImpl(int partId, long rowsCnt, long updCnt, Map<String,ColumnStatistics> colNameToStat)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectPartitionStatisticsImplclone()booleanequals(Object o)inthashCode()intpartId()StringtoString()longupdCnt()-
Methods inherited from class org.apache.ignite.internal.processors.query.stat.ObjectStatisticsImpl
columnsStatistics, columnStatistics, rowCount, subtract
-
-
-
-
Constructor Detail
-
ObjectPartitionStatisticsImpl
public ObjectPartitionStatisticsImpl(int partId, long rowsCnt, long updCnt, Map<String,ColumnStatistics> colNameToStat)Constructor.- Parameters:
partId- Partition id.rowsCnt- Total count of rows in partition.updCnt- Update counter of partition.colNameToStat- Column key to column statistics map.
-
-
Method Detail
-
partId
public int partId()
- Returns:
- Partition id.
-
updCnt
public long updCnt()
- Returns:
- Partition update counter.
-
clone
public ObjectPartitionStatisticsImpl clone()
- Overrides:
clonein classObjectStatisticsImpl
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classObjectStatisticsImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObjectStatisticsImpl
-
toString
public String toString()
- Overrides:
toStringin classObjectStatisticsImpl
-
-