package org.gcube.dataanalysis.test; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import org.gcube.contentmanagement.lexicalmatcher.utils.AnalysisLogger; import org.gcube.dataanalysis.databases.utils.DatabaseManagement; /** Class that tests the code for the recovery of the tables */ public class TestGetTables { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); System.out.println("Specifica il nome del file di configurazione"); String configurationfile=sc.next(); //TODO: decommentare per la corretta esecuzione della classe // try { // DatabaseManagement obj=new DatabaseManagement("./cfg/", configurationfile); // // // //Retrieve the schema for the postgres database // // List schemas=new ArrayList(); // // schemas=obj.getSchemas(); // // if (schemas!=null){ // // //test Print // for (int i=0;i tables=new ArrayList(); // // // //Retrieve the table's names of the database // tables=obj.getTables(); // // // //test print // for (int i=0;i