Class RDBMSMatrixQuery
- java.lang.Object
-
- net.ontopia.persistence.query.sql.RDBMSMatrixQuery
-
- All Implemented Interfaces:
DetachedQueryIF
public class RDBMSMatrixQuery extends Object implements DetachedQueryIF
INTERNAL: RDBMS query implementation that performs queries that return an instance of QueryResultIF.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
lookup_identities
protected SQLStatementIF
stm
-
Constructor Summary
Constructors Constructor Description RDBMSMatrixQuery(SQLStatementIF stm, boolean lookup_identities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
executeQuery(Connection conn)
INTERNAL: Executes the query without any parameters.Object
executeQuery(Connection conn, Object[] params)
INTERNAL: Executes the query with the given parameters.Object
executeQuery(Connection conn, Map params)
INTERNAL: Executes the query with the given named parameters.String
toString()
-
-
-
Field Detail
-
stm
protected SQLStatementIF stm
-
lookup_identities
protected boolean lookup_identities
-
-
Constructor Detail
-
RDBMSMatrixQuery
public RDBMSMatrixQuery(SQLStatementIF stm, boolean lookup_identities)
-
-
Method Detail
-
executeQuery
public Object executeQuery(Connection conn) throws Exception
Description copied from interface:DetachedQueryIF
INTERNAL: Executes the query without any parameters. The query result is returned. The actual type of the query result is specific to the query implementation.- Specified by:
executeQuery
in interfaceDetachedQueryIF
- Throws:
Exception
-
executeQuery
public Object executeQuery(Connection conn, Object[] params) throws Exception
Description copied from interface:DetachedQueryIF
INTERNAL: Executes the query with the given parameters. The query result is returned. The actual type of the query result is specific to the query implementation.- Specified by:
executeQuery
in interfaceDetachedQueryIF
- Throws:
Exception
-
executeQuery
public Object executeQuery(Connection conn, Map params) throws Exception
Description copied from interface:DetachedQueryIF
INTERNAL: Executes the query with the given named parameters. The query result is returned. The actual type of the query result is specific to the query implementation.- Specified by:
executeQuery
in interfaceDetachedQueryIF
- Throws:
Exception
-
-