|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
This class represents a connection to an underlying DataSource
.
Method Summary | |
---|---|
void |
close()
Closes the connection to the underlying datasource. |
Object |
execute(OlapSelection selection)
Evaluates the selection passed as argument and returns the result. |
OlapCube |
getCube()
Returns the connection's associated cube. |
Locale |
getLocale()
Retrieves the java locale currently in use. |
OlapSchema |
getSchema()
Retrieves the schema of the connection. |
void |
setCube(OlapCube cube)
Assigns the connection's cube. |
void |
setLocale(Locale locale)
Assigns the java locale to use. |
Method Detail |
---|
void close() throws DataSourceException
DataSourceException
Object execute(OlapSelection selection) throws DataSourceException
selection
- defines what to select from the datasource
DataSourceException
OlapCube getCube()
Locale getLocale()
OlapSchema getSchema()
void setCube(OlapCube cube)
cube
- the cube to assignvoid setLocale(Locale locale)
locale
- the locale to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |