01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.algebra;
07:
08: import org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelVisitorBase;
09: import org.openrdf.sail.rdbms.algebra.base.SqlConstant;
10:
11: /**
12: * An SQL VARCHAR expression.
13: *
14: * @author James Leigh
15: *
16: */
17: public class StringValue extends SqlConstant<String> {
18:
19: public StringValue(String value) {
20: super (value);
21: assert value != null;
22: }
23:
24: @Override
25: public <X extends Exception> void visit(
26: RdbmsQueryModelVisitorBase<X> visitor) throws X {
27: visitor.meet(this);
28: }
29: }
|