Package org.apache.openjpa.jdbc.kernel
Class FinderQueryImpl
java.lang.Object
org.apache.openjpa.jdbc.kernel.FinderQueryImpl
- All Implemented Interfaces:
FinderQuery<ClassMapping,
SelectExecutor, Result>
public class FinderQueryImpl
extends Object
implements FinderQuery<ClassMapping,SelectExecutor,Result>
Implements Finder Query identified by ClassMappping for SelectExecutor that
can be executed to generate Result.
- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) Execute the query for a given instance.Gets the value to which this receiver delegates its execution.Gets the identifier of this receiver.Column[]
Gets the query string.toString()
-
Method Details
-
getIdentifier
Description copied from interface:FinderQuery
Gets the identifier of this receiver.- Specified by:
getIdentifier
in interfaceFinderQuery<ClassMapping,
SelectExecutor, Result>
-
getDelegate
Description copied from interface:FinderQuery
Gets the value to which this receiver delegates its execution.- Specified by:
getDelegate
in interfaceFinderQuery<ClassMapping,
SelectExecutor, Result>
-
getQueryString
Description copied from interface:FinderQuery
Gets the query string.- Specified by:
getQueryString
in interfaceFinderQuery<ClassMapping,
SelectExecutor, Result>
-
getPKColumns
-
execute
Description copied from interface:FinderQuery
Execute the query for a given instance.- Specified by:
execute
in interfaceFinderQuery<ClassMapping,
SelectExecutor, Result> - Parameters:
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- Returns:
- the result of execution.
-
toString
-