|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.QuerySpecification
org.eclipse.datatools.connectivity.oda.spec.AdvancedQuerySpecification
public class AdvancedQuerySpecification
Extended specification of the query characteristics to apply when preparing and executing
a query text of an IAdvancedQuery
.
It takes effect only if assigned prior to an IAdvancedQuery prepares a query text
at IQuery.prepare(String)
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.datatools.connectivity.oda.spec.QuerySpecification |
---|
QuerySpecification.ParameterIdentifier |
Method Summary | |
---|---|
ResultSetSpecification |
getResultSetSpecification(int resultSetNum)
Gets the specification of the specified result set to be retrieved by the associated IAdvancedQuery . |
ResultSetSpecification |
getResultSetSpecification(java.lang.String resultSetName)
Gets the specification of the named result set to be retrieved by the associated IAdvancedQuery . |
void |
setResultSetSpecification(int resultSetNum,
ResultSetSpecification resultSpec)
Specifies the characteristics of the specified result set to be retrieved by the associated IAdvancedQuery . |
void |
setResultSetSpecification(java.lang.String resultSetName,
ResultSetSpecification resultSpec)
Specifies the characteristics of the named result set to be retrieved by the associated IAdvancedQuery . |
Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.QuerySpecification |
---|
getParameterValue, getParameterValue, getParameterValue, getParameterValues, getProperties, getProperty, getResultSetSpecification, hasResultSetSpecification, setParameterValue, setParameterValue, setParameterValue, setParameterValues, setProperties, setProperty, setResultSetSpecification, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setResultSetSpecification(java.lang.String resultSetName, ResultSetSpecification resultSpec)
IAdvancedQuery
.
QuerySpecification.setResultSetSpecification(ResultSetSpecification)
.
resultSetName
- the name of a result setresultSpec
- specification of the specified result setpublic ResultSetSpecification getResultSetSpecification(java.lang.String resultSetName)
IAdvancedQuery
.
resultSetName
- the name of a result set
ResultSetSpecification
of the specified result set,
or null if not specifiedpublic void setResultSetSpecification(int resultSetNum, ResultSetSpecification resultSpec)
IAdvancedQuery
.
QuerySpecification.setResultSetSpecification(ResultSetSpecification)
.
resultSetNum
- a 1-based index number that indicates the sequence of a result set
among a sequential set of multiple result setsresultSpec
- specification of the specified result setpublic ResultSetSpecification getResultSetSpecification(int resultSetNum)
IAdvancedQuery
.
resultSetNum
- a 1-based index number that indicates the sequence of a result set
among a sequential set of multiple result sets
ResultSetSpecification
of the specified result set,
or null if not specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |