Class SemanticIndexURIMap

    • Constructor Detail

      • SemanticIndexURIMap

        public SemanticIndexURIMap()
    • Method Detail

      • getId

        public int getId​(String uri)
        We look for the ID in the list of IDs, if its not there, we return -2, which we know will never appear on the DB. This is correct because if a constant appears in a query, and that constant was never inserted in the DB, the query must be empty (that atom), by putting -2 as id, we will enforce that.
        Specified by:
        getId in interface IRIDictionary
        Parameters:
        uri -
        Returns: