com.sas.iquery.dataretrieval
Class QueryConnector.CloseOptions

com.sas.iquery.dataretrieval.QueryConnector.CloseOptions
Enclosing class:
QueryConnector

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:

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

TABULAR_CONNECTION

public static final int TABULAR_CONNECTION
Set this bit to close the workspace connection.

See Also:
Constant Field Values

OLAP_CONNECTION

public static final int OLAP_CONNECTION
Set this bit to close the OLAP connection.

See Also:
Constant Field Values

OLAP_SESSION

public static final int OLAP_SESSION
Set this bit to close the OLAP session.

See Also:
Constant Field Values

TABULAR_BASIC_RESULTSETS

public static final int TABULAR_BASIC_RESULTSETS
Set this bit to close relational non-offline ResultSets

See Also:
Constant Field Values

TABULAR_OFFLINE_RESULTSETS

public static final int TABULAR_OFFLINE_RESULTSETS
Set this option to close relational offline ResultSets

See Also:
Constant Field Values

OLAP_RESULTSETS

public static final int OLAP_RESULTSETS
Set this option to close OLAP DataSets

See Also:
Constant Field Values

SCOPE_SESSION

public static final int SCOPE_SESSION
Close result sets belonging to the given session, rather than just for this particular query connector

See Also:
Constant Field Values
Constructor Detail

QueryConnector.CloseOptions

public QueryConnector.CloseOptions()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.