org.gcube.data.analysis.tabulardata.cube
Interface CubeManager

All Known Implementing Classes:
DefaultCubeManager

public interface CubeManager

The cube manager holds information on statistical data (datasets, codelists, hierarchical codelists, transformation mappings) and allows to perform several actions on database resources:

Author:
"Luigi Fortunati"

Method Summary
 TableCreator createTable(org.gcube.data.analysis.tabulardata.model.table.TableType type)
           
 org.gcube.data.analysis.tabulardata.model.table.Table getTable(long id)
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables()
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
           
 void removeTable(long id)
           
 void removeTableWithMetdata(long id)
           
 void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
           
 

Method Detail

createTable

TableCreator createTable(org.gcube.data.analysis.tabulardata.model.table.TableType type)

getTables

Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables()

getTables

Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)

getTable

org.gcube.data.analysis.tabulardata.model.table.Table getTable(long id)
                                                               throws NoSuchTableException
Throws:
NoSuchTableException

removeTable

void removeTable(long id)
                 throws NoSuchTableException
Throws:
NoSuchTableException

removeTableWithMetdata

void removeTableWithMetdata(long id)
                            throws NoSuchTableException
Throws:
NoSuchTableException

updateMetadata

void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
                    throws CubeManagerException
Throws:
CubeManagerException


Copyright © 2013. All Rights Reserved.