org.exolab.castor.jdo.engine
Class OQLQueryImpl
java.lang.Object
org.exolab.castor.jdo.engine.OQLQueryImpl
- OQLQuery, Query
public class OQLQueryImpl
extends java.lang.Object
Version:
- Assaf Arkin
void | bind(Object value) - Bind a parameter value to the query.
|
void | bind(boolean value) - Bind a parameter value to the query.
|
void | bind(double value) - Bind a parameter value to the query.
|
void | bind(float value) - Bind a parameter value to the query.
|
void | bind(int value) - Bind a parameter value to the query.
|
void | bind(long value) - Bind a parameter value to the query.
|
void | bind(short value) - Bind a parameter value to the query.
|
void | close() - Close the query and release all resources held by the query.
|
void | create(String oql) - Creates an OQL query from the supplied statement.
|
void | createCall(String oql)
|
QueryResults | execute() - Execute the query.
|
QueryResults | execute(boolean scrollable) - Experimental
This is used for cursor support
|
QueryResults | execute(short accessMode) - Experimental
Execute the query.
|
QueryResults | execute(short accessMode, boolean scrollable)
|
String | getSQL() - Get the generated SQL statement for this OQLQuery
|
OQLQueryImpl
(package private) OQLQueryImpl(DatabaseImpl dbImpl)
bind
public void bind(Object value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(boolean value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(double value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(float value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(int value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(long value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
bind
public void bind(short value)
Bind a parameter value to the query. Parameters are set in the
order in which they appear in the query and must match in number
and type of each parameter.
- bind in interface Query
value
- The parameter value
close
public void close()
Close the query and release all resources held by the query.
- close in interface Query
getSQL
public String getSQL()
throws QueryException
Get the generated SQL statement for this OQLQuery
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com