public class FinderQueryImpl extends Object implements FinderQuery<ClassMapping,SelectExecutor,Result>
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString() |
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 parametersCopyright © 2006–2018 Apache Software Foundation. All rights reserved.