public interface SQLActionVisitor
Query.createSQLAction(SQLActionVisitor)
, allowing
query to choose the action type and convert itself to a "standard" query if needed.
Individual DbAdapters would provide special visitors, thus allowing for DB-dependent
execution algorithms.Query.createSQLAction(SQLActionVisitor)
Modifier and Type | Method and Description |
---|---|
SQLAction |
batchAction(BatchQuery query)
Creates an action to execute a batch update query.
|
SQLAction |
ejbqlAction(EJBQLQuery query)
Creates an action to execute EJBQL query.
|
<T> SQLAction |
objectSelectAction(SelectQuery<T> query)
Creates an action to execute a SelectQuery.
|
SQLAction |
procedureAction(ProcedureQuery query)
Creates an action to execute a ProcedureQuery.
|
SQLAction |
sqlAction(SQLTemplate query)
Creates an action to execute a SQLTemplate.
|
SQLAction batchAction(BatchQuery query)
<T> SQLAction objectSelectAction(SelectQuery<T> query)
SQLAction sqlAction(SQLTemplate query)
SQLAction procedureAction(ProcedureQuery query)
SQLAction ejbqlAction(EJBQLQuery query)
Copyright © 2001–2017 Apache Cayenne. All rights reserved.