@Test public void testSingleColumn() { int tests = 10; for (int i = 0; i < tests; i++) { String colName = "col" + i; assertEquals("SELECT " + colName, new SELECT(colName).getSql()); } }
@Override public String getSql() { return sql; }
SELECT extends SqlRootNode { @Override public String getSql() { return sql; } }
SELECT extends SqlRootNode { @Override public String getSql() { return sql; } SELECT(@NonNull String... columns); }
SELECT extends SqlRootNode { @Override public String getSql() { return sql; } SELECT(@NonNull String... columns); @Override String getSql(); FROM FROM(@NonNull String tableName); FROM FROM(@NonNull String... tableNames); }
SELECT extends SqlRootNode { @Override public String getSql() { return sql; } SELECT(@NonNull String... columns); @Override String getSql(); FROM FROM(@NonNull String tableName); FROM FROM(@NonNull String... tableNames);  }