org.openrdf.sail.rdbms.algebra
Class SqlCast

java.lang.Object
  extended by org.openrdf.query.algebra.QueryModelNodeBase
      extended by org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelNodeBase
          extended by org.openrdf.sail.rdbms.algebra.base.UnarySqlOperator
              extended by org.openrdf.sail.rdbms.algebra.SqlCast
All Implemented Interfaces:
Cloneable, QueryModelNode, SqlExpr

public class SqlCast
extends UnarySqlOperator

The SQL IS CAST expression.

Author:
James Leigh

Constructor Summary
SqlCast(SqlExpr arg, int type)
           
 
Method Summary
 String getSignature()
          Default implementation of QueryModelNode.getSignature() that prints the name of the node's class.
 int getType()
           
<X extends Exception>
void
visit(RdbmsQueryModelVisitorBase<X> visitor)
           
 
Methods inherited from class org.openrdf.sail.rdbms.algebra.base.UnarySqlOperator
clone, equals, getArg, hashCode, replaceChildNode, setArg, toString, visitChildren
 
Methods inherited from class org.openrdf.sail.rdbms.algebra.base.RdbmsQueryModelNodeBase
visit
 
Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase
getParentNode, replaceWith, setParentNode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openrdf.query.algebra.QueryModelNode
getParentNode, replaceWith, setParentNode, visit
 

Constructor Detail

SqlCast

public SqlCast(SqlExpr arg,
               int type)
Method Detail

visit

public <X extends Exception> void visit(RdbmsQueryModelVisitorBase<X> visitor)
           throws X extends Exception
Specified by:
visit in class RdbmsQueryModelNodeBase
Throws:
X extends Exception

getType

public int getType()

getSignature

public String getSignature()
Description copied from class: QueryModelNodeBase
Default implementation of QueryModelNode.getSignature() that prints the name of the node's class.

Specified by:
getSignature in interface QueryModelNode
Overrides:
getSignature in class QueryModelNodeBase
Returns:
The node's signature, e.g. SLICE (offset=10, limit=10).


Copyright © 2001-2008 Aduna. All Rights Reserved.