Class CollectionParameterProcessor
java.lang.Object
net.ontopia.persistence.query.sql.CollectionParameterProcessor
- All Implemented Interfaces:
ParameterProcessorIF
INTERNAL: Parameter processor that embeds collection parameters
inside SQL statements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected FieldHandlerIF[]protected String[]protected int[] -
Constructor Summary
ConstructorsConstructorDescriptionCollectionParameterProcessor(FieldHandlerIF[] param_fields, String[] param_names, int[] coll_indexes, int[] param_offsets) -
Method Summary
Modifier and TypeMethodDescriptionexecuteQuery(Connection conn, String sql, Object[] params) executeQuery(Connection conn, String sql, Map params)
-
Field Details
-
param_fields
-
param_names
-
coll_indexes
protected int[] coll_indexes -
param_offsets
protected int[] param_offsets
-
-
Constructor Details
-
CollectionParameterProcessor
public CollectionParameterProcessor(FieldHandlerIF[] param_fields, String[] param_names, int[] coll_indexes, int[] param_offsets)
-
-
Method Details
-
process
-
executeQuery
- Specified by:
executeQueryin interfaceParameterProcessorIF- Throws:
SQLException
-
executeQuery
- Specified by:
executeQueryin interfaceParameterProcessorIF- Throws:
SQLException
-