/*******************************************************************************
- * 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
import java.lang.reflect.Array;
+import org.simantics.db.exception.DatabaseException;
import org.simantics.db.impl.graph.ReadGraphImpl;
protected final UnaryQuery<Procedure> REMOVED = new UnaryQuery<Procedure>(-1) {
@Override
- public Object computeForEach(ReadGraphImpl graph, QueryProcessor provider, Object procedure, boolean store) {
- throw new Error("Not possible.");
- }
-
- @Override
- public UnaryQuery<Procedure> getEntry(QueryProcessor provider) {
- throw new Error("Not possible.");
- }
-
- @Override
- public void putEntry(QueryProcessor provider) {
+ public void removeEntry(QueryProcessor provider) {
throw new Error("Not possible.");
}
@Override
- public Object performFromCache(ReadGraphImpl graph, QueryProcessor provider, Procedure procedure) {
+ public int type() {
throw new Error("Not possible.");
}
@Override
- public void recompute(ReadGraphImpl graph, QueryProcessor provider) {
+ public void recompute(ReadGraphImpl graph) throws DatabaseException {
throw new Error("Not possible.");
}
@Override
- public void removeEntry(QueryProcessor provider) {
+ Object performFromCache(ReadGraphImpl graph, Procedure procedure) throws DatabaseException {
throw new Error("Not possible.");
}
- @Override
- public int type() {
- throw new Error("Not possible.");
- }
-
};
/**