]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/BinaryQuery.java
DB query swapping to file system
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / BinaryQuery.java
index d699ea825d9823cfb8c1f3454f13115ff4518455..04df0d00c5c8f1ea1222eee6000788e8e2a43bde 100644 (file)
@@ -66,4 +66,15 @@ public abstract class BinaryQuery<Procedure> extends CacheEntryBase<Procedure> i
 
     abstract public void removeEntry(QueryProcessor provider);
 
+    @Override
+    public long cluster(QueryProcessor processor) {
+        return processor.cluster(r1());
+    }
+
+    @Override
+    public void serializeKey(QuerySerializer serializer) {
+        serializer.addResource(r1());
+        serializer.addResource(r2());
+    }
+
 }