|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLParameterTransformer
Generates the SQL query to be executed against the DBMS, together with the transformed query parameters. Implementations of this interface also take care of makumba-specific concerns regarding query parameters:
Method Summary | |
---|---|
int |
getArgumentCount()
The number of arguments of the query |
String |
getSQLQuery(NameResolver nr)
Provides the SQL query to be executed on the DBMS, with expanded and transformed parameters |
DataDefinition |
getSQLQueryArgumentTypes()
Gets the types of the arguments |
void |
init(Map<String,Object> arguments)
Initialises the SQLQueryGenerator. |
Object[] |
toArgumentArray(Map<String,Object> arguments)
Provides the arguments necessary in order to execute the query on the DBMS, in the order following the one of the query returned by #getSQLQuery(NameResolver, Object) |
Method Detail |
---|
void init(Map<String,Object> arguments)
String getSQLQuery(NameResolver nr)
nr
- the NameResolver
used to resolve database-level table and field names
Object[] toArgumentArray(Map<String,Object> arguments)
#getSQLQuery(NameResolver, Object)
DataDefinition getSQLQueryArgumentTypes()
int getArgumentCount()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |