Class StatisticsIndex
- java.lang.Object
-
- net.ontopia.topicmaps.impl.utils.AbstractIndex
-
- net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
-
- net.ontopia.topicmaps.impl.rdbms.index.StatisticsIndex
-
- All Implemented Interfaces:
IndexIF
,StatisticsIndexIF
public class StatisticsIndex extends RDBMSIndex implements StatisticsIndexIF
INTERNAL: The RDBMS implementation of the statistics index.
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
imanager, transaction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAssociationCount()
Return the number of associations in the topicmap.int
getAssociationTypeCount()
Returns the number of topics used as association type.int
getItemIdentifierCount()
Returns the number of item identifiers in the topicmap.int
getNoNameTopicCount()
Returns the number of topics without a name.int
getOccurrenceCount()
Returns the number of occurrences in the topicmap.int
getOccurrenceTypeCount()
Returns the number of topics used as occurrence type.int
getRoleCount()
Returns the number of roles in the topicmap.int
getRoleTypeCount()
Returns the number of topics used as association role type.int
getSubjectIdentifierCount()
Returns the number of subject identifiers in the topicmap.int
getSubjectLocatorCount()
Returns the number of subject locators in the topicmap.int
getTopicCount()
Returns the number of topics in the topicmap.int
getTopicNameCount()
Returns the number of topic names in the topicmap.int
getTopicNameTypeCount()
Returns the number of topics used as topic name type.int
getTopicTypeCount()
Returns the number of topics that are used as topic type.int
getTypedTopicCount()
Returns the number of topics in the topicmap that have a type.int
getUntypedTopicCount()
Returns the number of topics without a type.int
getVariantCount()
Returns the number of variant names in the topicmap.-
Methods inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
executeQuery, getIndex, getTopicMap
-
-
-
-
Method Detail
-
getTopicCount
public int getTopicCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics in the topicmap.- Specified by:
getTopicCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics in the topicmap.
-
getTypedTopicCount
public int getTypedTopicCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics in the topicmap that have a type.- Specified by:
getTypedTopicCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics in the topicmap that have a type.
-
getUntypedTopicCount
public int getUntypedTopicCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics without a type.- Specified by:
getUntypedTopicCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics without a type.
-
getTopicTypeCount
public int getTopicTypeCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics that are used as topic type.- Specified by:
getTopicTypeCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics that are used as topic type.
-
getTopicNameCount
public int getTopicNameCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topic names in the topicmap.- Specified by:
getTopicNameCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topic names in the topicmap.
-
getNoNameTopicCount
public int getNoNameTopicCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics without a name.- Specified by:
getNoNameTopicCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics without a name.
-
getTopicNameTypeCount
public int getTopicNameTypeCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics used as topic name type.- Specified by:
getTopicNameTypeCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics used as topic name type.
-
getVariantCount
public int getVariantCount()
Description copied from interface:StatisticsIndexIF
Returns the number of variant names in the topicmap.- Specified by:
getVariantCount
in interfaceStatisticsIndexIF
- Returns:
- the number of variant names in the topicmap.
-
getOccurrenceCount
public int getOccurrenceCount()
Description copied from interface:StatisticsIndexIF
Returns the number of occurrences in the topicmap.- Specified by:
getOccurrenceCount
in interfaceStatisticsIndexIF
- Returns:
- the number of occurrences in the topicmap.
-
getOccurrenceTypeCount
public int getOccurrenceTypeCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics used as occurrence type.- Specified by:
getOccurrenceTypeCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics used as occurrence type.
-
getAssociationCount
public int getAssociationCount()
Description copied from interface:StatisticsIndexIF
Return the number of associations in the topicmap.- Specified by:
getAssociationCount
in interfaceStatisticsIndexIF
- Returns:
- the number of associations in the topicmap.
-
getAssociationTypeCount
public int getAssociationTypeCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics used as association type.- Specified by:
getAssociationTypeCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics used as association type.
-
getRoleCount
public int getRoleCount()
Description copied from interface:StatisticsIndexIF
Returns the number of roles in the topicmap.- Specified by:
getRoleCount
in interfaceStatisticsIndexIF
- Returns:
- the number of roles in the topicmap.
-
getRoleTypeCount
public int getRoleTypeCount()
Description copied from interface:StatisticsIndexIF
Returns the number of topics used as association role type.- Specified by:
getRoleTypeCount
in interfaceStatisticsIndexIF
- Returns:
- the number of topics used as association role type.
-
getSubjectIdentifierCount
public int getSubjectIdentifierCount()
Description copied from interface:StatisticsIndexIF
Returns the number of subject identifiers in the topicmap.- Specified by:
getSubjectIdentifierCount
in interfaceStatisticsIndexIF
- Returns:
- the number of subject identifiers in the topicmap.
-
getSubjectLocatorCount
public int getSubjectLocatorCount()
Description copied from interface:StatisticsIndexIF
Returns the number of subject locators in the topicmap.- Specified by:
getSubjectLocatorCount
in interfaceStatisticsIndexIF
- Returns:
- the number of subject locators in the topicmap.
-
getItemIdentifierCount
public int getItemIdentifierCount()
Description copied from interface:StatisticsIndexIF
Returns the number of item identifiers in the topicmap.- Specified by:
getItemIdentifierCount
in interfaceStatisticsIndexIF
- Returns:
- the number of item identifiers in the topicmap.
-
-