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: * A static long value in an SQL expression.
13: *
14: * @author James Leigh
15: *
16: */
17: public class NumberValue extends SqlConstant<Number> {
18:
19: public NumberValue(Number value) {
20: super (value);
21: }
22:
23: @Override
24: public <X extends Exception> void visit(
25: RdbmsQueryModelVisitorBase<X> visitor) throws X {
26: visitor.meet(this);
27: }
28: }
|