|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Connection
Connection to a multi-dimensional database.
DriverManager| Method Summary | |
|---|---|
void |
close()
Closes this Connection. |
Result |
execute(Query query)
Deprecated. This method is deprecated and will be removed in mondrian-4.0. It operates by internally creating a statement. Better to use olap4j and explicitly create a statement. |
CacheControl |
getCacheControl(PrintWriter pw)
Returns an object with which to explicitly control the contents of the cache. |
String |
getCatalogName()
Get the name of the Catalog associated with this Connection. |
String |
getConnectString()
Get the Connect String associated with this Connection. |
DataSource |
getDataSource()
Returns the data source this connection uses to create connections to the underlying JDBC database. |
Locale |
getLocale()
Returns the locale this connection belongs to. |
Object |
getProperty(String name)
Returns the value of a connection property. |
Role |
getRole()
Returns the access-control profile for this connection. |
Schema |
getSchema()
Get the Schema associated with this Connection. |
SchemaReader |
getSchemaReader()
Returns a schema reader with access control appropriate to the current role. |
Exp |
parseExpression(String s)
Parses an expresion. |
Query |
parseQuery(String s)
Parses a query. |
QueryPart |
parseStatement(String mdx)
Parses a statement. |
void |
setRole(Role role)
Sets the privileges for the this connection. |
| Method Detail |
|---|
String getConnectString()
String getCatalogName()
Schema getSchema()
void close()
Connection. You may not use this
Connection after closing it.
Result execute(Query query)
RuntimeException - if another thread cancels the query's statement.Locale getLocale()
FormatExp parseExpression(String s)
Query parseQuery(String s)
QueryPart parseStatement(String mdx)
mdx - MDX string
Query if it is a SELECT statement, a
DrillThrough if it is a DRILLTHROUGH statementvoid setRole(Role role)
Role getRole()
SchemaReader getSchemaReader()
Object getProperty(String name)
name - Name of property, for example "JdbcUser".
CacheControl getCacheControl(PrintWriter pw)
pw - Writer to which to write logging information; may be nullDataSource getDataSource()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||