Interface IRIDictionary
-
- All Known Implementing Classes:
SemanticIndexURIMap
public interface IRIDictionary
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetId(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.StringgetURI(Integer id)
-
-
-
Method Detail
-
getId
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.- Parameters:
uri-- Returns:
-
-