Class SchemaIndexCacheStat
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.schema.SchemaIndexCacheStat
-
public class SchemaIndexCacheStat extends Object
Class for accumulation of record types and number of indexed records in index tree.
-
-
Constructor Summary
Constructors Constructor Description SchemaIndexCacheStat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccumulate(SchemaIndexCacheStat stat)Adds statistics fromstatto the current statistics.voidadd(int scanned)Adds to number of scanned keys givenscanned.voidaddType(QueryTypeDescriptorImpl type)Adds type to indexed types.intscannedKeys()Collection<String>typeNames()Collection<QueryTypeDescriptorImpl>types()
-
-
-
Method Detail
-
accumulate
public void accumulate(SchemaIndexCacheStat stat)
Adds statistics fromstatto the current statistics.- Parameters:
stat- Statistics.
-
addType
public void addType(QueryTypeDescriptorImpl type)
Adds type to indexed types.- Parameters:
type- Type.
-
add
public void add(int scanned)
Adds to number of scanned keys givenscanned.- Parameters:
scanned- Number of scanned keys during partition processing. Must be positive or zero.
-
scannedKeys
public int scannedKeys()
- Returns:
- Number of scanned keys.
-
typeNames
public Collection<String> typeNames()
- Returns:
- Unmodifiable collection of processed type names.
-
types
public Collection<QueryTypeDescriptorImpl> types()
- Returns:
- Unmodifiable collection of processed types.
-
-