@Test void label() { SelectStatement<Integer> sut = new SelectStatement<>(createScope(), TypeToken.of(Integer.class), from, rowMapper, projection); String result = sut.label(sut.scope()); assertThat(result, is("select_1")); }
String label(Scope outerScope) { return labelGenerator.label(outerScope); }
SelectStatement { String label(Scope outerScope) { return labelGenerator.label(outerScope); } }
SelectStatement { String label(Scope outerScope) { return labelGenerator.label(outerScope); } SelectStatement(Scope scope, TypeToken<RT> rowType, From from, RowMapper<RT> rowMapper, Projection projection); }
SelectStatement { String label(Scope outerScope) { return labelGenerator.label(outerScope); } SelectStatement(Scope scope, TypeToken<RT> rowType, From from, RowMapper<RT> rowMapper, Projection projection); TypeToken<RT> rowType(); Stream<CommonTableExpression<?>> commonTableExpressions(); }
SelectStatement { String label(Scope outerScope) { return labelGenerator.label(outerScope); } SelectStatement(Scope scope, TypeToken<RT> rowType, From from, RowMapper<RT> rowMapper, Projection projection); TypeToken<RT> rowType(); Stream<CommonTableExpression<?>> commonTableExpressions();  }