Class NameIndex

All Implemented Interfaces:
IndexIF, NameIndexIF

public class NameIndex extends RDBMSIndex implements NameIndexIF
INTERNAL: The rdbms name index implementation.
  • Method Details

    • getTopicNames

      public Collection<TopicNameIF> getTopicNames(String value)
      Description copied from interface: NameIndexIF
      PUBLIC: Gets all topic names that have the given name value (in any scope).
      Specified by:
      getTopicNames in interface NameIndexIF
      Parameters:
      value - A string; the value of a topic name.
      Returns:
      A collection of TopicNameIF objects with the given name value.
    • getTopicNames

      public Collection<TopicNameIF> getTopicNames(String value, TopicIF topicNameType)
      Description copied from interface: NameIndexIF
      PUBLIC: Gets all topic names that have the given name value (in any scope) and topicNameType.
      Specified by:
      getTopicNames in interface NameIndexIF
      Parameters:
      value - A string; the value of a topic name
      topicNameType - A TopicIF; the type of a topic name
      Returns:
      A collection of TopicNameIF objects with the given name value and type.
    • getVariants

      public Collection<VariantNameIF> getVariants(String value)
      Description copied from interface: NameIndexIF
      INTERNAL: Gets all variants that have the specified value independent of datatype.
      Specified by:
      getVariants in interface NameIndexIF
      Returns:
      A collection of VariantNameIF objects.
    • getVariants

      public Collection<VariantNameIF> getVariants(String value, LocatorIF datatype)
      Description copied from interface: NameIndexIF
      INTERNAL: Gets all variants that have the specified value and datatype.
      Specified by:
      getVariants in interface NameIndexIF
      Returns:
      A collection of VariantNameIF objects.