org.apache.yaoql.impl
Class ObjectQueryImpl<T>
java.lang.Object
org.apache.yaoql.impl.ParameterBinding
org.apache.yaoql.impl.ObjectQueryImpl<T>
- All Implemented Interfaces:
- ObjectQuery<T>
public class ObjectQueryImpl<T>
- extends ParameterBinding
- implements ObjectQuery<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectQueryImpl
public ObjectQueryImpl(String query)
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.