Package org.apache.cayenne.query
Interface SQLActionVisitor
- All Known Implementing Classes:
- DB2ActionBuilder,- IngresActionBuilder,- JdbcActionBuilder,- SQLServerActionBuilder
public interface SQLActionVisitor
A factory interface to create standard SQLActions for a set of standard queries.
 Instances of SQLActionVisitor are passed by Cayenne to a Query in
 
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.- Since:
- 1.2
- See Also:
- Query.createSQLAction(SQLActionVisitor)
- 
Method SummaryModifier and Type Method Description SQLActionbatchAction(BatchQuery query)Creates an action to execute a batch update query.SQLActionejbqlAction(EJBQLQuery query)Creates an action to execute EJBQL query.<T> SQLActionobjectSelectAction(SelectQuery<T> query)Creates an action to execute a SelectQuery.SQLActionprocedureAction(ProcedureQuery query)Creates an action to execute a ProcedureQuery.SQLActionsqlAction(SQLTemplate query)Creates an action to execute a SQLTemplate.
- 
Method Details- 
batchActionCreates an action to execute a batch update query.
- 
objectSelectActionCreates an action to execute a SelectQuery.
- 
sqlActionCreates an action to execute a SQLTemplate.
- 
procedureActionCreates an action to execute a ProcedureQuery.
- 
ejbqlActionCreates an action to execute EJBQL query.
 
-