org.objectweb.speedo.query.ejb
Class EJBQueryDefinitionImpl
java.lang.Object
org.objectweb.speedo.query.ejb.EJBQueryDefinitionImpl
- All Implemented Interfaces:
- QueryDefinition
public class EJBQueryDefinitionImpl
- extends java.lang.Object
- implements QueryDefinition
Method Summary |
void |
defineWith(EJBQueryDefinitionImpl qd)
|
boolean |
fetchIdentifierOnly()
|
long |
getIndexFirst()
The application may want to skip some number of results that may have
been previously returned, and additionally may want to limit the number
of instances returned from a query. |
long |
getIndexLast()
The application may want to skip some number of results that may have
been previously returned, and additionally may want to limit the number
of instances returned from a query. |
short |
getQueryType()
|
java.lang.String |
qdToString(boolean oneLine)
|
boolean |
withPrefetch()
|
void |
withPrefetch(boolean withprefetch)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBQueryDefinitionImpl
public EJBQueryDefinitionImpl()
EJBQueryDefinitionImpl
public EJBQueryDefinitionImpl(EJBQueryDefinitionImpl qd)
defineWith
public void defineWith(EJBQueryDefinitionImpl qd)
fetchIdentifierOnly
public boolean fetchIdentifierOnly()
- Specified by:
fetchIdentifierOnly
in interface QueryDefinition
getQueryType
public short getQueryType()
- Specified by:
getQueryType
in interface QueryDefinition
withPrefetch
public boolean withPrefetch()
- Specified by:
withPrefetch
in interface QueryDefinition
withPrefetch
public void withPrefetch(boolean withprefetch)
- Specified by:
withPrefetch
in interface QueryDefinition
getIndexFirst
public long getIndexFirst()
- Description copied from interface:
QueryDefinition
- The application may want to skip some number of results that may have
been previously returned, and additionally may want to limit the number
of instances returned from a query. The default range for query execution
if this method is not called are (0, Long.MAX_VALUE).
- Specified by:
getIndexFirst
in interface QueryDefinition
getIndexLast
public long getIndexLast()
- Description copied from interface:
QueryDefinition
- The application may want to skip some number of results that may have
been previously returned, and additionally may want to limit the number
of instances returned from a query. The default range for query execution
if this method is not called are (0, Long.MAX_VALUE).
- Specified by:
getIndexLast
in interface QueryDefinition
qdToString
public java.lang.String qdToString(boolean oneLine)
- Specified by:
qdToString
in interface QueryDefinition