Class QueryUpdateService


  • public class QueryUpdateService
    extends QueryUploadService
    Same in all respects as the upload service, but this class overwrites queries with the provided names.
    Author:
    Alex Kalderimis
    • Constructor Detail

      • QueryUpdateService

        public QueryUpdateService​(InterMineAPI im)
        Parameters:
        im - The InterMine state object
    • Method Detail

      • saveQueries

        protected java.util.Map<java.lang.String,​java.lang.String> saveQueries​(java.util.Map<java.lang.String,​PathQuery> toSave)
        Description copied from class: QueryUploadService
        Save the given queries.
        Overrides:
        saveQueries in class QueryUploadService
        Parameters:
        toSave - The queries to save.
        Returns:
        A mapping from given name to the name they were actually saved under.