package UI;

import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;
import javax.sql.DataSource;
import org.postgresql.ds.PGSimpleDataSource;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.PriorityQueue;
import RDG.*;

/**
 *
 * @author Marcel
 */
public class Cities {
    /**
    * Print all cities
    * @throws SQLException
    */
    static public void printCities() throws SQLException{
        var res=CitiesFinder.selectAll();
        BatchOutput.BatchPrint(res);
    }
}
