org.gcube.data.analysis.tabulardata.cube.tablemanagers
Class TableManagerImpl

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.cube.tablemanagers.TableManagerImpl
All Implemented Interfaces:
TableManager

@Default
public class TableManagerImpl
extends Object
implements TableManager


Constructor Summary
TableManagerImpl(org.gcube.data.analysis.tabulardata.cube.data.DatabaseWrangler dbWrangler, org.gcube.data.analysis.tabulardata.cube.metadata.CubeMetadataWrangler cmWrangler)
           
 
Method Summary
 org.gcube.data.analysis.tabulardata.model.table.Table get(long id)
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getAll()
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getAll(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
           
 void remove(long id)
           
 void removeRaw(long id)
           
 void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableManagerImpl

@Inject
public TableManagerImpl(org.gcube.data.analysis.tabulardata.cube.data.DatabaseWrangler dbWrangler,
                               org.gcube.data.analysis.tabulardata.cube.metadata.CubeMetadataWrangler cmWrangler)
Method Detail

getAll

public Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getAll()
Specified by:
getAll in interface TableManager

getAll

public Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getAll(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
Specified by:
getAll in interface TableManager

get

public org.gcube.data.analysis.tabulardata.model.table.Table get(long id)
                                                          throws NoSuchTableException
Specified by:
get in interface TableManager
Throws:
NoSuchTableException

remove

public void remove(long id)
            throws NoSuchTableException
Specified by:
remove in interface TableManager
Throws:
NoSuchTableException

updateMetadata

public void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
                    throws CubeManagerException
Specified by:
updateMetadata in interface TableManager
Throws:
CubeManagerException

removeRaw

public void removeRaw(long id)
               throws NoSuchTableException
Specified by:
removeRaw in interface TableManager
Throws:
NoSuchTableException


Copyright © 2013. All Rights Reserved.