org.openrdf.sail.rdbms.algebra.factories
Class HashExprFactory

java.lang.Object
  extended by org.openrdf.query.algebra.helpers.QueryModelVisitorBase<UnsupportedRdbmsOperatorException>
      extended by org.openrdf.sail.rdbms.algebra.factories.HashExprFactory
All Implemented Interfaces:
QueryModelVisitor<UnsupportedRdbmsOperatorException>

public class HashExprFactory
extends QueryModelVisitorBase<UnsupportedRdbmsOperatorException>

Author:
James Leigh

Field Summary
protected  SqlExpr result
           
 
Constructor Summary
HashExprFactory(RdbmsValueFactory vf)
           
 
Method Summary
 SqlExpr createHashExpr(ValueExpr expr)
           
 void meet(ValueConstant vc)
           
 void meet(Var var)
           
protected  void meetNode(QueryModelNode arg)
          Method called by all of the other meet methods that are not overridden in subclasses.
 SqlExpr valueOf(Value value)
           
 
Methods inherited from class org.openrdf.query.algebra.helpers.QueryModelVisitorBase
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUnaryValueOperator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

protected SqlExpr result
Constructor Detail

HashExprFactory

public HashExprFactory(RdbmsValueFactory vf)
Method Detail

createHashExpr

public SqlExpr createHashExpr(ValueExpr expr)
                       throws UnsupportedRdbmsOperatorException
Throws:
UnsupportedRdbmsOperatorException

meet

public void meet(ValueConstant vc)
Specified by:
meet in interface QueryModelVisitor<UnsupportedRdbmsOperatorException>
Overrides:
meet in class QueryModelVisitorBase<UnsupportedRdbmsOperatorException>

meet

public void meet(Var var)
Specified by:
meet in interface QueryModelVisitor<UnsupportedRdbmsOperatorException>
Overrides:
meet in class QueryModelVisitorBase<UnsupportedRdbmsOperatorException>

meetNode

protected void meetNode(QueryModelNode arg)
                 throws UnsupportedRdbmsOperatorException
Description copied from class: QueryModelVisitorBase
Method called by all of the other meet methods that are not overridden in subclasses. This method can be overridden in subclasses to define default behaviour when visiting nodes. The default behaviour of this method is to visit the node's children.

Overrides:
meetNode in class QueryModelVisitorBase<UnsupportedRdbmsOperatorException>
Parameters:
arg - The node that is being visited.
Throws:
UnsupportedRdbmsOperatorException

valueOf

public SqlExpr valueOf(Value value)


Copyright © 2001-2008 Aduna. All Rights Reserved.