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
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
Modifier and TypeMethodDescriptionintReturn the number of associations in the topicmap.intReturns the number of topics used as association type.intReturns the number of item identifiers in the topicmap.intReturns the number of topics without a name.intReturns the number of occurrences in the topicmap.intReturns the number of topics used as occurrence type.intReturns the number of roles in the topicmap.intReturns the number of topics used as association role type.intReturns the number of subject identifiers in the topicmap.intReturns the number of subject locators in the topicmap.intReturns the number of topics in the topicmap.intReturns the number of topic names in the topicmap.intReturns the number of topics used as topic name type.intReturns the number of topics that are used as topic type.intReturns the number of topics in the topicmap that have a type.intReturns the number of topics without a type.intReturns the number of variant names in the topicmap.Methods inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
executeQuery, getIndex, getTopicMap
-
Method Details
-
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.
-
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.
-
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.
-
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.
-
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.
-