|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.TableConnection
public class TableConnection
TableConnection is the implementation of an OLAP connection for the table 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. |
TableDataSource |
getDataSource()
Retrieves the underlying table datasource. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close() throws DataSourceException
close
in interface Connection
DataSourceException
public Object execute(OlapSelection selection) throws DataSourceException
execute
in interface Connection
selection
- defines what to select from the datasource
DataSourceException
public OlapCube getCube()
getCube
in interface Connection
public TableDataSource getDataSource()
public Locale getLocale()
getLocale
in interface Connection
public OlapSchema getSchema()
getSchema
in interface Connection
public void setCube(OlapCube cube)
setCube
in interface Connection
cube
- the cube to assignpublic void setLocale(Locale locale)
setLocale
in interface Connection
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 |