01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.algebra;
07:
08: /**
09: * Checks whether a certain value is contained in a set of results produced by a
10: * query.
11: */
12: public class In extends CompareSubQueryValueOperator {
13:
14: /*--------------*
15: * Constructors *
16: *--------------*/
17:
18: public In() {
19: }
20:
21: public In(ValueExpr valueExpr, TupleExpr subQuery) {
22: super (valueExpr, subQuery);
23: }
24:
25: /*---------*
26: * Methods *
27: *---------*/
28:
29: public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
30: throws X {
31: visitor.meet(this );
32: }
33:
34: @Override
35: public In clone() {
36: return (In) super.clone();
37: }
38: }
|