|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.kernel.FinderQueryImpl
public class FinderQueryImpl
Implements Finder Query identified by ClassMappping for SelectExecutor that can be executed to generate Result.
Method Summary | |
---|---|
Result |
execute(OpenJPAStateManager sm,
StoreManager store,
FetchConfiguration fetch)
Execute the query for a given instance. |
SelectExecutor |
getDelegate()
Gets the value to which this receiver delegates its execution. |
ClassMapping |
getIdentifier()
Gets the identifier of this receiver. |
Column[] |
getPKColumns()
|
String |
getQueryString()
Gets the query string. |
(package private) static FinderQueryImpl |
newFinder(ClassMapping mapping,
SelectExecutor select)
Attempts to construct a FinderQuery from the given Select for the given mapping. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
static FinderQueryImpl newFinder(ClassMapping mapping, SelectExecutor select)
public ClassMapping getIdentifier()
FinderQuery
getIdentifier
in interface FinderQuery<ClassMapping,SelectExecutor,Result>
public SelectExecutor getDelegate()
FinderQuery
getDelegate
in interface FinderQuery<ClassMapping,SelectExecutor,Result>
public String getQueryString()
FinderQuery
getQueryString
in interface FinderQuery<ClassMapping,SelectExecutor,Result>
public Column[] getPKColumns()
public Result execute(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch)
FinderQuery
execute
in interface FinderQuery<ClassMapping,SelectExecutor,Result>
sm
- the StateManager for a given instance carrying the primary key
values.store
- the data store against which the query is to be executed.fetch
- fetch parameters
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |