org.apache.yaoql.impl
Class ObjectQueryImpl<T>

java.lang.Object
  extended by org.apache.yaoql.impl.ParameterBinding
      extended by org.apache.yaoql.impl.ObjectQueryImpl<T>
All Implemented Interfaces:
ObjectQuery<T>

public class ObjectQueryImpl<T>
extends ParameterBinding
implements ObjectQuery<T>


Constructor Summary
ObjectQueryImpl(String query)
           
 
Method Summary
 void addListener(ObjectQueryListener<T> listener)
           
 T callOnEachObject(T val)
           
 void callOnQueryComplete()
           
 void clearListeners()
           
 ExpressionTree getExpressionTree(Collection<T> objects)
           
 String getQuery()
           
 List<T> getResultList(Collection<T> objs)
           
 ObjectResultSet<T> getResults(Collection<T> objs)
           
 
Methods inherited from class org.apache.yaoql.impl.ParameterBinding
applyParameters, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.yaoql.client.ObjectQuery
setParameter
 

Constructor Detail

ObjectQueryImpl

public ObjectQueryImpl(String query)
Method Detail

addListener

public void addListener(ObjectQueryListener<T> listener)
Specified by:
addListener in interface ObjectQuery<T>

clearListeners

public void clearListeners()
Specified by:
clearListeners in interface ObjectQuery<T>

callOnEachObject

public T callOnEachObject(T val)

callOnQueryComplete

public void callOnQueryComplete()

getQuery

public String getQuery()
Specified by:
getQuery in interface ObjectQuery<T>
Specified by:
getQuery in class ParameterBinding

getExpressionTree

public ExpressionTree getExpressionTree(Collection<T> objects)
                                 throws HBqlException
Throws:
HBqlException

getResults

public ObjectResultSet<T> getResults(Collection<T> objs)
                              throws HBqlException
Specified by:
getResults in interface ObjectQuery<T>
Throws:
HBqlException

getResultList

public List<T> getResultList(Collection<T> objs)
                      throws HBqlException
Specified by:
getResultList in interface ObjectQuery<T>
Throws:
HBqlException


Copyright © 2011. All Rights Reserved.