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

All Known Implementing Classes:
PostgresqlDatabaseWrangler

public interface DatabaseWrangler

Database Wrangler offers methods for managing relational tables on a DB: - Creation of tables - Removal of tables

Author:
"Luigi Fortunati"

Method Summary
 void addColumn(String tableName, String columnName, org.gcube.data.analysis.tabulardata.model.datatype.DataType type)
           
 String cloneTable(String tableName, boolean withData, boolean unsafe)
           
 void createIndex(String tableName, String columnName)
           
 String createTable()
           
 String createTable(boolean unsafe)
           
 void removeColumn(String tableName, String columnName)
           
 void removeTable(String tableName)
           
 

Method Detail

createTable

String createTable()

createTable

String createTable(boolean unsafe)

removeTable

void removeTable(String tableName)

cloneTable

String cloneTable(String tableName,
                  boolean withData,
                  boolean unsafe)

addColumn

void addColumn(String tableName,
               String columnName,
               org.gcube.data.analysis.tabulardata.model.datatype.DataType type)

removeColumn

void removeColumn(String tableName,
                  String columnName)

createIndex

void createIndex(String tableName,
                 String columnName)


Copyright © 2013. All Rights Reserved.