org.tranql.ql
Class Query

java.lang.Object
  extended by org.tranql.ql.AbstractNode
      extended by org.tranql.ql.Query
All Implemented Interfaces:
java.io.Serializable, Node
Direct Known Subclasses:
NoOpQuery

public class Query
extends AbstractNode

This node represents a select query.

Version:
$Revision: 323 $ $Date: 2006-02-19 07:29:24 +0100 (Sun, 19 Feb 2006) $
See Also:
Serialized Form

Constructor Summary
Query(Query prototype)
           
Query(QueryBinding[] paramTransforms, QueryBinding[] resultTransforms)
           
 
Method Summary
 QueryBinding getParamTransform(int slot)
           
 QueryBinding[] getParamTransforms()
           
 FieldTransform[] getResultAccessors()
           
 QueryBinding[] getResultTransforms()
           
 void setResultAccessors(FieldTransform[] resultAccessors)
           
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(QueryBinding[] paramTransforms,
             QueryBinding[] resultTransforms)

Query

public Query(Query prototype)
Method Detail

getParamTransforms

public QueryBinding[] getParamTransforms()

getParamTransform

public QueryBinding getParamTransform(int slot)
                               throws QueryException
Throws:
QueryException

getResultTransforms

public QueryBinding[] getResultTransforms()

visit

public java.lang.Object visit(QueryVisitor visitor,
                              java.lang.Object param)
                       throws QueryException
Throws:
QueryException

setResultAccessors

public void setResultAccessors(FieldTransform[] resultAccessors)

getResultAccessors

public FieldTransform[] getResultAccessors()


Copyright © -2010 The Codehaus. All Rights Reserved.