X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FQuery.java;h=22c970f31c326f202bc98b0dfe2171d5f1b4a676;hp=29ba90e11cd250fc0aa2b02376faa804e208669a;hb=0d9b90834ce56b292c00b1a39850ed842c3e4d42;hpb=e5db6157fd8722c946613d4e46d7aaf6bfa92609 diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/Query.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/Query.java index 29ba90e11..22c970f31 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/Query.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/Query.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * Copyright (c) 2007, 2018 Association for Decentralized Information Management * in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -11,20 +11,18 @@ *******************************************************************************/ package org.simantics.db.impl.query; +import org.simantics.db.exception.DatabaseException; import org.simantics.db.impl.graph.ReadGraphImpl; - - /* * The following methods need to be properly implemented * - equals() - * - hashCode() + * - hashCode() */ public interface Query { - - void recompute(ReadGraphImpl graph, Object provider, CacheEntry entry); + void recompute(ReadGraphImpl graph) throws DatabaseException; void removeEntry(QueryProcessor processor); int type(); - + }