Class OccurrenceIndex
java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
net.ontopia.topicmaps.impl.rdbms.index.OccurrenceIndex
- All Implemented Interfaces:
IndexIF,OccurrenceIndexIF
INTERNAL: The rdbms occurrence index implementation.
-
Field Summary
Fields inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
imanager, transaction -
Method Summary
Modifier and TypeMethodDescriptiongetOccurrences(String value) INTERNAL: Gets all occurrences that have the specified value independent of datatype.getOccurrences(String value, LocatorIF datatype) INTERNAL: Gets all occurrences that have the specified value and datatype.getOccurrences(String value, LocatorIF datatype, TopicIF occurrenceType) INTERNAL: Gets all occurrences that have the specified value, datatype and occurrenceType.getOccurrences(String value, TopicIF occurrenceType) INTERNAL: Gets all occurrences that have the specified value and occurrenceType independent of datatype.getOccurrencesByPrefix(String prefix) INTERNAL: Gets all occurrences of any datatype that have a value starting with the specified prefix.getOccurrencesByPrefix(String prefix, LocatorIF datatype) INTERNAL: Gets all occurrences that have the specifed datatype and a value starting with the specified prefix.INTERNAL: Gets all occurrence values that are greather than or equal to the given value.INTERNAL: Gets all occurrence values that are smaller than or equal to the given value.Methods inherited from class net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex
executeQuery, getIndex, getTopicMap
-
Method Details
-
getOccurrences
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences that have the specified value independent of datatype.- Specified by:
getOccurrencesin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getOccurrences
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences that have the specified value and occurrenceType independent of datatype.- Specified by:
getOccurrencesin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getOccurrences
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences that have the specified value and datatype.- Specified by:
getOccurrencesin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getOccurrences
public Collection<OccurrenceIF> getOccurrences(String value, LocatorIF datatype, TopicIF occurrenceType) Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences that have the specified value, datatype and occurrenceType.- Specified by:
getOccurrencesin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getOccurrencesByPrefix
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences of any datatype that have a value starting with the specified prefix.- Specified by:
getOccurrencesByPrefixin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getOccurrencesByPrefix
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrences that have the specifed datatype and a value starting with the specified prefix.- Specified by:
getOccurrencesByPrefixin interfaceOccurrenceIndexIF- Returns:
- A collection of OccurrenceIF objects.
-
getValuesGreaterThanOrEqual
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrence values that are greather than or equal to the given value.- Specified by:
getValuesGreaterThanOrEqualin interfaceOccurrenceIndexIF
-
getValuesSmallerThanOrEqual
Description copied from interface:OccurrenceIndexIFINTERNAL: Gets all occurrence values that are smaller than or equal to the given value.- Specified by:
getValuesSmallerThanOrEqualin interfaceOccurrenceIndexIF
-