Class StatisticsIndex
- java.lang.Object
-
- net.ontopia.topicmaps.impl.utils.AbstractIndex
-
- net.ontopia.topicmaps.impl.utils.BasicIndex
-
- net.ontopia.topicmaps.impl.basic.index.StatisticsIndex
-
- All Implemented Interfaces:
IndexIF,StatisticsIndexIF,EventListenerIF
public class StatisticsIndex extends BasicIndex implements StatisticsIndexIF
INTERNAL: The basic implementation of the statistics index.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
BasicIndex.EventHandler<K,V>, BasicIndex.TypedPredicate
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
handlers
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAssociationCount()Return the number of associations in the topicmap.intgetAssociationTypeCount()Returns the number of topics used as association type.intgetItemIdentifierCount()Returns the number of item identifiers in the topicmap.intgetNoNameTopicCount()Returns the number of topics without a name.intgetOccurrenceCount()Returns the number of occurrences in the topicmap.intgetOccurrenceTypeCount()Returns the number of topics used as occurrence type.intgetRoleCount()Returns the number of roles in the topicmap.intgetRoleTypeCount()Returns the number of topics used as association role type.intgetSubjectIdentifierCount()Returns the number of subject identifiers in the topicmap.intgetSubjectLocatorCount()Returns the number of subject locators in the topicmap.intgetTopicCount()Returns the number of topics in the topicmap.intgetTopicNameCount()Returns the number of topic names in the topicmap.intgetTopicNameTypeCount()Returns the number of topics used as topic name type.intgetTopicTypeCount()Returns the number of topics that are used as topic type.intgetTypedTopicCount()Returns the number of topics in the topicmap that have a type.intgetUntypedTopicCount()Returns the number of topics without a type.intgetVariantCount()Returns the number of variant names in the topicmap.-
Methods inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
getIndex, processEvent
-
-
-
-
Method Detail
-
getTopicCount
public int getTopicCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics in the topicmap.- Specified by:
getTopicCountin interfaceStatisticsIndexIF- Returns:
- the number of topics in the topicmap.
-
getTypedTopicCount
public int getTypedTopicCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics in the topicmap that have a type.- Specified by:
getTypedTopicCountin interfaceStatisticsIndexIF- Returns:
- the number of topics in the topicmap that have a type.
-
getUntypedTopicCount
public int getUntypedTopicCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics without a type.- Specified by:
getUntypedTopicCountin interfaceStatisticsIndexIF- Returns:
- the number of topics without a type.
-
getTopicTypeCount
public int getTopicTypeCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics that are used as topic type.- Specified by:
getTopicTypeCountin interfaceStatisticsIndexIF- Returns:
- the number of topics that are used as topic type.
-
getAssociationCount
public int getAssociationCount()
Description copied from interface:StatisticsIndexIFReturn the number of associations in the topicmap.- Specified by:
getAssociationCountin interfaceStatisticsIndexIF- Returns:
- the number of associations in the topicmap.
-
getAssociationTypeCount
public int getAssociationTypeCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics used as association type.- Specified by:
getAssociationTypeCountin interfaceStatisticsIndexIF- Returns:
- the number of topics used as association type.
-
getRoleCount
public int getRoleCount()
Description copied from interface:StatisticsIndexIFReturns the number of roles in the topicmap.- Specified by:
getRoleCountin interfaceStatisticsIndexIF- Returns:
- the number of roles in the topicmap.
-
getRoleTypeCount
public int getRoleTypeCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics used as association role type.- Specified by:
getRoleTypeCountin interfaceStatisticsIndexIF- Returns:
- the number of topics used as association role type.
-
getOccurrenceCount
public int getOccurrenceCount()
Description copied from interface:StatisticsIndexIFReturns the number of occurrences in the topicmap.- Specified by:
getOccurrenceCountin interfaceStatisticsIndexIF- Returns:
- the number of occurrences in the topicmap.
-
getOccurrenceTypeCount
public int getOccurrenceTypeCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics used as occurrence type.- Specified by:
getOccurrenceTypeCountin interfaceStatisticsIndexIF- Returns:
- the number of topics used as occurrence type.
-
getTopicNameCount
public int getTopicNameCount()
Description copied from interface:StatisticsIndexIFReturns the number of topic names in the topicmap.- Specified by:
getTopicNameCountin interfaceStatisticsIndexIF- Returns:
- the number of topic names in the topicmap.
-
getNoNameTopicCount
public int getNoNameTopicCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics without a name.- Specified by:
getNoNameTopicCountin interfaceStatisticsIndexIF- Returns:
- the number of topics without a name.
-
getTopicNameTypeCount
public int getTopicNameTypeCount()
Description copied from interface:StatisticsIndexIFReturns the number of topics used as topic name type.- Specified by:
getTopicNameTypeCountin interfaceStatisticsIndexIF- Returns:
- the number of topics used as topic name type.
-
getVariantCount
public int getVariantCount()
Description copied from interface:StatisticsIndexIFReturns the number of variant names in the topicmap.- Specified by:
getVariantCountin interfaceStatisticsIndexIF- Returns:
- the number of variant names in the topicmap.
-
getSubjectIdentifierCount
public int getSubjectIdentifierCount()
Description copied from interface:StatisticsIndexIFReturns the number of subject identifiers in the topicmap.- Specified by:
getSubjectIdentifierCountin interfaceStatisticsIndexIF- Returns:
- the number of subject identifiers in the topicmap.
-
getSubjectLocatorCount
public int getSubjectLocatorCount()
Description copied from interface:StatisticsIndexIFReturns the number of subject locators in the topicmap.- Specified by:
getSubjectLocatorCountin interfaceStatisticsIndexIF- Returns:
- the number of subject locators in the topicmap.
-
getItemIdentifierCount
public int getItemIdentifierCount()
Description copied from interface:StatisticsIndexIFReturns the number of item identifiers in the topicmap.- Specified by:
getItemIdentifierCountin interfaceStatisticsIndexIF- Returns:
- the number of item identifiers in the topicmap.
-
-