net.ontopia.persistence.query.sql
Class CollectionParameterProcessor
java.lang.Object
net.ontopia.persistence.query.sql.CollectionParameterProcessor
- All Implemented Interfaces:
- ParameterProcessorIF
public class CollectionParameterProcessor
- extends java.lang.Object
- implements ParameterProcessorIF
INTERNAL: Parameter processor that embeds collection parameters
inside SQL statements.
Method Summary |
java.sql.ResultSet |
executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.util.Map params)
|
java.sql.ResultSet |
executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.lang.Object[] params)
|
java.lang.String |
process(java.lang.String sql,
java.lang.Object[] params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
param_fields
protected FieldHandlerIF[] param_fields
param_names
protected java.lang.String[] param_names
coll_indexes
protected int[] coll_indexes
param_offsets
protected int[] param_offsets
CollectionParameterProcessor
public CollectionParameterProcessor(FieldHandlerIF[] param_fields,
java.lang.String[] param_names,
int[] coll_indexes,
int[] param_offsets)
process
public java.lang.String process(java.lang.String sql,
java.lang.Object[] params)
executeQuery
public java.sql.ResultSet executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.util.Map params)
throws java.sql.SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
java.sql.SQLException
executeQuery
public java.sql.ResultSet executeQuery(java.sql.Connection conn,
java.lang.String sql,
java.lang.Object[] params)
throws java.sql.SQLException
- Specified by:
executeQuery
in interface ParameterProcessorIF
- Throws:
java.sql.SQLException
Copyright © 2000-2012 Ontopia.