|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iquery.dataretrieval.QueryConnector.CloseOptions
public static class QueryConnector.CloseOptions
Contains bit values that are used to close specific resources that are managed by the
QueryConnector
.
The integer constants in this class may be or'ed together and passed to
QueryConnector.closeResources(SessionContextInterface, int)
.
Examples of use:
queryConnector.closeResources(session, CloseOptions.ALL_RESULTSET_OPTIONS);
queryConnector.closeResources(session,
CloseOptions.TABULAR_BASIC_RESULTSETS | CloseOptions.TABULAR_CONNECTION);
queryConnector.closeResources(session,
CloseOptions.ALL_RESULTSET_OPTIONS
| CloseOptions.ALL_CONNECTION_OPTIONS
| CloseOptions.SCOPE_SESSION);
Note:
Field Summary | |
---|---|
static int |
OLAP_CONNECTION
Set this bit to close the OLAP connection. |
static int |
OLAP_RESULTSETS
Set this option to close OLAP DataSets |
static int |
OLAP_SESSION
Set this bit to close the OLAP session. |
static int |
SCOPE_SESSION
Close result sets belonging to the given session, rather than just for this particular query connector |
static int |
TABULAR_BASIC_RESULTSETS
Set this bit to close relational non-offline ResultSets |
static int |
TABULAR_CONNECTION
Set this bit to close the workspace connection. |
static int |
TABULAR_OFFLINE_RESULTSETS
Set this option to close relational offline ResultSets |
Constructor Summary | |
---|---|
QueryConnector.CloseOptions()
|
Field Detail |
---|
public static final int TABULAR_CONNECTION
public static final int OLAP_CONNECTION
public static final int OLAP_SESSION
public static final int TABULAR_BASIC_RESULTSETS
public static final int TABULAR_OFFLINE_RESULTSETS
public static final int OLAP_RESULTSETS
public static final int SCOPE_SESSION
Constructor Detail |
---|
public QueryConnector.CloseOptions()
|
Query |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |