01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.parser;
07:
08: import org.openrdf.query.algebra.TupleExpr;
09:
10: /**
11: * A query formulated in the OpenRDF query algebra that produces a set of tuples
12: * as its result.
13: *
14: * @author Arjohn Kampman
15: */
16: public class ParsedTupleQuery extends ParsedQuery {
17:
18: /*--------------*
19: * Constructors *
20: *--------------*/
21:
22: /**
23: * Creates a new tuple query. To complete this query, a tuple expression
24: * needs to be supplied to it using {@link #setTupleExpr(TupleExpr)}.
25: */
26: public ParsedTupleQuery() {
27: super ();
28: }
29:
30: /**
31: * Creates a new tuple query for the supplied tuple expression.
32: *
33: * @param tupleExpr
34: * A tuple expression representing the query, formulated in OpenRDF
35: * Query Algebra objects.
36: */
37: public ParsedTupleQuery(TupleExpr tupleExpr) {
38: super(tupleExpr);
39: }
40: }
|