net.ontopia.persistence.query.sql
Class RDBMSQuery

java.lang.Object
  extended by net.ontopia.persistence.query.sql.RDBMSQuery
All Implemented Interfaces:
QueryIF

public class RDBMSQuery
extends java.lang.Object
implements QueryIF

INTERNAL:


Field Summary
protected  RDBMSAccess access
           
protected  DetachedQueryIF query
           
 
Constructor Summary
RDBMSQuery(RDBMSAccess access, DetachedQueryIF query)
           
 
Method Summary
 java.lang.Object executeQuery()
          INTERNAL: Executes the query without any parameters.
 java.lang.Object executeQuery(java.util.Map params)
          INTERNAL: Executes the query with the given named parameters.
 java.lang.Object executeQuery(java.lang.Object[] params)
          INTERNAL: Executes the query with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

access

protected RDBMSAccess access

query

protected DetachedQueryIF query
Constructor Detail

RDBMSQuery

public RDBMSQuery(RDBMSAccess access,
                  DetachedQueryIF query)
Method Detail

executeQuery

public java.lang.Object executeQuery()
                              throws java.lang.Exception
Description copied from interface: QueryIF
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 interface QueryIF
Throws:
java.lang.Exception

executeQuery

public java.lang.Object executeQuery(java.lang.Object[] params)
                              throws java.lang.Exception
Description copied from interface: QueryIF
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 interface QueryIF
Throws:
java.lang.Exception

executeQuery

public java.lang.Object executeQuery(java.util.Map params)
                              throws java.lang.Exception
Description copied from interface: QueryIF
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 interface QueryIF
Throws:
java.lang.Exception


Copyright © 2000-2012 Ontopia.