[Mulgara-svn] r597 - branches/mgr-61-sparql/src/jar/sparql/java/org/mulgara/sparql/cst

pag at mulgara.org pag at mulgara.org
Tue Dec 4 21:39:32 UTC 2007


Author: pag
Date: 2007-12-04 15:39:32 -0600 (Tue, 04 Dec 2007)
New Revision: 597

Added:
   branches/mgr-61-sparql/src/jar/sparql/java/org/mulgara/sparql/cst/SparqlQuery.java
Log:
New common interface for each of the SPARQL commands, like SELECT and DESCRIBE

Added: branches/mgr-61-sparql/src/jar/sparql/java/org/mulgara/sparql/cst/SparqlQuery.java
===================================================================
--- branches/mgr-61-sparql/src/jar/sparql/java/org/mulgara/sparql/cst/SparqlQuery.java	2007-12-04 20:06:50 UTC (rev 596)
+++ branches/mgr-61-sparql/src/jar/sparql/java/org/mulgara/sparql/cst/SparqlQuery.java	2007-12-04 21:39:32 UTC (rev 597)
@@ -0,0 +1,29 @@
+/*
+ * The contents of this file are subject to the Open Software License
+ * Version 3.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ * http://www.opensource.org/licenses/osl-3.0.txt
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ */
+
+package org.mulgara.sparql.cst;
+
+import org.mulgara.query.operation.Command;
+import org.mulgara.sparql.SparqlInterpreter;
+
+/**
+ * Interpreter for SPARQL queries.
+ * 
+ * @created December 4, 2007
+ * @author Paul Gearon
+ * @copyright &copy; 2007 <a href="mailto:pgearon at users.sourceforge.net">Paul Gearon</a>
+ * @licence <a href="{@docRoot}/../../LICENCE.txt">Open Software License v3.0</a>
+ */
+public interface SparqlQuery {
+
+  public Command accept(SparqlInterpreter visitor);
+}




More information about the Mulgara-svn mailing list