summaryrefslogtreecommitdiffstats
path: root/java/rasj/test/TestQuery.sh
diff options
context:
space:
mode:
Diffstat (limited to 'java/rasj/test/TestQuery.sh')
-rw-r--r--java/rasj/test/TestQuery.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/rasj/test/TestQuery.sh b/java/rasj/test/TestQuery.sh
new file mode 100644
index 0000000..ca3b2fe
--- /dev/null
+++ b/java/rasj/test/TestQuery.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# TestQuery.sh: test rasj query interface
+# where rasj.jar is expected:
+export RASJ=$RMANBASE/java/rasj.jar
+#export RASJ=~rasdaman/jlib/rasj.jar
+
+java -DRMANPROTOCOL=RNP -cp .:$RASJ:$CLASSPATH TestQuery --query "SELECT jpeg(( marray x in [0:599,0:599] values {255c,255c,0c} ) overlay scale(img0[2011:2315,2543:2847],[1:600,1:600]) * { 1c, 1c, 1c}) FROM vat_rgbdop2_8 AS img0" $* 2>&1
+