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.query.algebra.Var;
09: import org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelVisitorBase;
10: import org.openrdf.sail.rdbms.algebra.base.ValueColumnBase;
11:
12: /**
13: * Represents a variable's internal id value in an SQL expression.
14: *
15: * @author James Leigh
16: *
17: */
18: public class RefIdColumn extends ValueColumnBase {
19:
20: public RefIdColumn(ColumnVar var) {
21: super (var);
22: }
23:
24: public RefIdColumn(Var var) {
25: super (var);
26: }
27:
28: @Override
29: public <X extends Exception> void visit(
30: RdbmsQueryModelVisitorBase<X> visitor) throws X {
31: visitor.meet(this );
32: }
33:
34: @Override
35: public RefIdColumn clone() {
36: return (RefIdColumn) super.clone();
37: }
38: }
|