|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OlapConnection
Connection to an OLAP server.
![]() |
![]() |
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Method Summary | |
|---|---|
OlapStatement |
createStatement()
|
NamedList<Catalog> |
getCatalogs()
Returns a list of Catalog objects which
belong to this connection's OLAP server. |
Locale |
getLocale()
Returns this connection's locale. |
OlapDatabaseMetaData |
getMetaData()
|
MdxParserFactory |
getParserFactory()
Returns the factory used to create MDX parsers in this connection. |
String |
getRoleName()
Returns the name of the role in which this connection executes queries. |
Schema |
getSchema()
Returns the current Schema of this
connection. |
PreparedOlapStatement |
prepareOlapStatement(String mdx)
Creates a prepared OLAP Statement. |
void |
setLocale(Locale locale)
Sets the current locale of this connection. |
void |
setRoleName(String roleName)
Sets the name of the role in which this connection executes queries. |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface org.olap4j.OlapWrapper |
|---|
isWrapperFor, unwrap |
| Method Detail |
|---|
OlapDatabaseMetaData getMetaData()
throws OlapException
getMetaData in interface ConnectionOlapException - if database error occurs
PreparedOlapStatement prepareOlapStatement(String mdx)
throws OlapException
This method is the equivalent, for OLAP, of the
Connection.prepareStatement(String) JDBC method.
OlapException - if database error occursmdx - MDX query string
MdxParserFactory getParserFactory()
OlapStatement createStatement()
throws OlapException
createStatement in interface ConnectionOlapException - if database error occurs
Schema getSchema()
throws OlapException
Schema of this
connection.
OlapException - if database error occurs
NamedList<Catalog> getCatalogs()
Catalog objects which
belong to this connection's OLAP server.
The caller should assume that the list is immutable; if the caller modifies the list, behavior is undefined.
DatabaseMetaData.getCatalogs()void setLocale(Locale locale)
If the locale is not set, the JDK's current locale is used (see
Locale.getDefault()).
Most drivers support a Locale connect-string property.
locale - LocaleLocale getLocale()
void setRoleName(String roleName)
throws OlapException
OlapException - if role name is invalidroleName - Name of roleString getRoleName()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||