13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package org .springframework .data .jdbc . core .function ;
16
+ package org .springframework .data .r2dbc .function ;
17
17
18
18
import io .r2dbc .spi .Connection ;
19
19
import io .r2dbc .spi .ConnectionFactory ;
53
53
import org .springframework .data .domain .Sort ;
54
54
import org .springframework .data .domain .Sort .NullHandling ;
55
55
import org .springframework .data .domain .Sort .Order ;
56
- import org .springframework .data .jdbc .core .function .connectionfactory .ConnectionProxy ;
56
+ import org .springframework .data .r2dbc .function .connectionfactory .ConnectionProxy ;
57
+ import org .springframework .data .r2dbc .function .convert .ColumnMapRowMapper ;
57
58
import org .springframework .data .util .Pair ;
58
59
import org .springframework .jdbc .core .SqlProvider ;
59
60
import org .springframework .jdbc .support .SQLExceptionTranslator ;
@@ -240,7 +241,7 @@ private static void doBind(Statement statement, Map<String, Optional<Object>> by
240
241
}
241
242
242
243
/**
243
- * Default {@link org.springframework.data.jdbc.core.function. DatabaseClient.SqlSpec} implementation.
244
+ * Default {@link DatabaseClient.SqlSpec} implementation.
244
245
*/
245
246
private class DefaultSqlSpec implements SqlSpec {
246
247
@@ -261,8 +262,7 @@ public GenericExecuteSpec sql(Supplier<String> sqlSupplier) {
261
262
}
262
263
263
264
/**
264
- * Base class for {@link org.springframework.data.jdbc.core.function.DatabaseClient.GenericExecuteSpec}
265
- * implementations.
265
+ * Base class for {@link DatabaseClient.GenericExecuteSpec} implementations.
266
266
*/
267
267
@ RequiredArgsConstructor
268
268
private class GenericExecuteSpecSupport {
@@ -358,7 +358,7 @@ public GenericExecuteSpecSupport bind(Object bean) {
358
358
}
359
359
360
360
/**
361
- * Default {@link org.springframework.data.jdbc.core.function. DatabaseClient.GenericExecuteSpec} implementation.
361
+ * Default {@link DatabaseClient.GenericExecuteSpec} implementation.
362
362
*/
363
363
private class DefaultGenericExecuteSpec extends GenericExecuteSpecSupport implements GenericExecuteSpec {
364
364
@@ -422,7 +422,7 @@ protected GenericExecuteSpecSupport createInstance(Map<Integer, Optional<Object>
422
422
}
423
423
424
424
/**
425
- * Default {@link org.springframework.data.jdbc.core.function. DatabaseClient.GenericExecuteSpec} implementation.
425
+ * Default {@link DatabaseClient.GenericExecuteSpec} implementation.
426
426
*/
427
427
@ SuppressWarnings ("unchecked" )
428
428
private class DefaultTypedGenericExecuteSpec <T > extends GenericExecuteSpecSupport implements TypedExecuteSpec <T > {
@@ -490,7 +490,7 @@ protected DefaultTypedGenericExecuteSpec<T> createInstance(Map<Integer, Optional
490
490
}
491
491
492
492
/**
493
- * Default {@link org.springframework.data.jdbc.core.function. DatabaseClient.SelectFromSpec} implementation.
493
+ * Default {@link DatabaseClient.SelectFromSpec} implementation.
494
494
*/
495
495
class DefaultSelectFromSpec implements SelectFromSpec {
496
496
@@ -506,8 +506,7 @@ public <T> TypedSelectSpec<T> from(Class<T> table) {
506
506
}
507
507
508
508
/**
509
- * Base class for {@link org.springframework.data.jdbc.core.function.DatabaseClient.GenericExecuteSpec}
510
- * implementations.
509
+ * Base class for {@link DatabaseClient.GenericExecuteSpec} implementations.
511
510
*/
512
511
@ RequiredArgsConstructor
513
512
private abstract class DefaultSelectSpecSupport {
@@ -678,7 +677,7 @@ protected DefaultGenericSelectSpec createInstance(String table, List<String> pro
678
677
}
679
678
680
679
/**
681
- * Default implementation of {@link org.springframework.data.jdbc.core.function. DatabaseClient.TypedInsertSpec}.
680
+ * Default implementation of {@link DatabaseClient.TypedInsertSpec}.
682
681
*/
683
682
@ SuppressWarnings ("unchecked" )
684
683
private class DefaultTypedSelectSpec <T > extends DefaultSelectSpecSupport implements TypedSelectSpec <T > {
@@ -779,7 +778,7 @@ protected DefaultTypedSelectSpec<T> createInstance(String table, List<String> pr
779
778
}
780
779
781
780
/**
782
- * Default {@link org.springframework.data.jdbc.core.function. DatabaseClient.InsertIntoSpec} implementation.
781
+ * Default {@link DatabaseClient.InsertIntoSpec} implementation.
783
782
*/
784
783
class DefaultInsertIntoSpec implements InsertIntoSpec {
785
784
@@ -795,7 +794,7 @@ public <T> TypedInsertSpec<T> into(Class<T> table) {
795
794
}
796
795
797
796
/**
798
- * Default implementation of {@link org.springframework.data.jdbc.core.function. DatabaseClient.GenericInsertSpec}.
797
+ * Default implementation of {@link DatabaseClient.GenericInsertSpec}.
799
798
*/
800
799
@ RequiredArgsConstructor
801
800
class DefaultGenericInsertSpec implements GenericInsertSpec {
@@ -891,7 +890,7 @@ private void doBind(Statement statement) {
891
890
}
892
891
893
892
/**
894
- * Default implementation of {@link org.springframework.data.jdbc.core.function. DatabaseClient.TypedInsertSpec}.
893
+ * Default implementation of {@link DatabaseClient.TypedInsertSpec}.
895
894
*/
896
895
@ RequiredArgsConstructor
897
896
class DefaultTypedInsertSpec <T > implements TypedInsertSpec <T >, InsertSpec {
0 commit comments