(String[] argv)
| 570 | "insert", "delete", "values", "into" }; |
| 571 | |
| 572 | public static void main(String[] argv) throws IOException { |
| 573 | |
| 574 | if (argv.length < 1 || argv.length > 4) { |
| 575 | System.out.println("Invalid number of arguments.\n" + usage); |
| 576 | System.exit(0); |
| 577 | } |
| 578 | |
| 579 | Parser p = new Parser(); |
| 580 | |
| 581 | p.start(argv); |
| 582 | } |
| 583 | |
| 584 | static final String usage = "Usage: parser catalogFile [-explain] [-f queryFile]"; |
| 585 | static final int SLEEP_TIME = 1000; |