java.lang.Object
org.eclipse.persistence.internal.xr.QueryHandler
- Direct Known Subclasses:
JPQLQueryHandler
,NamedQueryHandler
,SQLQueryHandler
,StoredProcedureQueryHandler
INTERNAL: QueryHandler
sets out the basic rules for how Operations can
use different types of queries (DataRead, ValueRead, etc.)
- Since:
- EclipseLink 1.x
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(XRServiceAdapter xrService, QueryOperation queryOperation) void
initializeArguments
(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) void
initializeCall
(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) void
initializeDatabaseQuery
(XRServiceAdapter xrService, QueryOperation queryOperation) INTERNAL: Initialize thisQueryHandler
'sDatabaseQuery
void
setDatabaseQuery
(DatabaseQuery databaseQuery) void
validate
(XRServiceAdapter xrService, QueryOperation queryOperation)
-
Field Details
-
databaseQuery
-
-
Constructor Details
-
QueryHandler
public QueryHandler()
-
-
Method Details
-
getDatabaseQuery
-
setDatabaseQuery
-
validate
-
initialize
-
initializeDatabaseQuery
INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
-
initializeCall
public void initializeCall(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
'sCall
. Typically no work is required, but for someQueryHandlers
(JPQLQueryHandler
,StoredProcedureQueryHandler
, etc.) special handling may be required.- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
databaseQuery
- the givenDatabaseQuery
-
initializeArguments
public void initializeArguments(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery) INTERNAL: Initialize this
QueryHandler
'sDatabaseQuery
's arguments from theOperation
'sParameters
- Parameters:
xrService
- the givenDBWSService
queryOperation
- the givenQueryOperation
databaseQuery
- the givenDatabaseQuery
-