]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/UnaryQueryPIntSet.java
DB query swapping to file system
[simantics/platform.git] / bundles / org.simantics.db.impl / src / org / simantics / db / impl / query / UnaryQueryPIntSet.java
diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/UnaryQueryPIntSet.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/UnaryQueryPIntSet.java
new file mode 100644 (file)
index 0000000..cf82479
--- /dev/null
@@ -0,0 +1,15 @@
+package org.simantics.db.impl.query;
+
+abstract public class UnaryQueryPIntSet extends UnaryQueryP<IntSet> {
+
+    public UnaryQueryPIntSet(int r) {
+        super(r);
+    }
+    
+    @Override
+    public void serializeValue(QuerySerializer serializer) {
+        IntSet is = getResult();
+        is.serialize(serializer);
+    }
+
+}