|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryConnectorInterface
Specifies methods that are used to execute queries.
Method Summary | |
---|---|
void |
closeResources(com.sas.services.session.SessionContextInterface sessionContext,
int options)
Closes resources as specified by the options. |
void |
closeResult(ResultSetInterface result)
Closes a single result set. |
java.util.Locale |
getComputationalLocale()
Returns the Locale to override query computations
or null if the computation locale of the query is not to be overridden. |
RetrievalPolicy |
getRetrievalPolicy()
Returns the default retrieval policy. |
java.util.Map<java.lang.String,ResultSetInterface> |
retrieveQueryResultMap(java.util.List queries,
RetrievalPolicy retrievalPolicy)
Creates a map of query results, based on a list of input business queries. |
void |
setComputationalLocale(java.util.Locale overrideComputationalLocale)
Sets the Locale to override query computations
or if the computation locale of the query is not to be overridden then use null . |
void |
setRetrievalPolicy(RetrievalPolicy policy)
Sets the default retrieval policy to use. |
Method Detail |
---|
@NonNull java.util.Map<java.lang.String,ResultSetInterface> retrieveQueryResultMap(java.util.List queries, RetrievalPolicy retrievalPolicy) throws com.sas.iquery.intelligentquery.IntelligentQueryException
The keys of the resulting map are the id of the input business queries. Use the
IntelligentQueryInterface.getID()
method to determine the id.
The input list must fulfill the following requirements:
BusinessQuery
,
for example DataSelection
queries
- a list of business queries to executeretrievalPolicy
- the retrieval policy to use for executing
ResultSetInterface
results.
com.sas.iquery.intelligentquery.IntelligentQueryException
QueryConnectionInterface.retrieveQueryResultMap(List)
RetrievalPolicy getRetrievalPolicy()
RetrievalPolicy
void setRetrievalPolicy(RetrievalPolicy policy)
RetrievalPolicy
void closeResources(com.sas.services.session.SessionContextInterface sessionContext, int options) throws DataRetrievalException, ExecutionException
sessionContext
- the user's sessionoptions
- option bits from QueryConnector.CloseOptions
DataRetrievalException
ExecutionException
void closeResult(ResultSetInterface result) throws DataRetrievalException
result
- the result set to close and stop managing
DataRetrievalException
closeResources(SessionContextInterface, int)
java.util.Locale getComputationalLocale()
Locale
to override query computations
or null
if the computation locale of the query is not to be overridden.
BusinessModel.getComputationalLocale()
void setComputationalLocale(java.util.Locale overrideComputationalLocale)
Locale
to override query computations
or if the computation locale of the query is not to be overridden then use null
.
computationLocale
- Locale to override query computation locale or null
to not override.BusinessModel.setComputationalLocale(Locale)
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |