File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed
src/main/java/org/mybatis/dynamic/sql Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -111,20 +111,20 @@ static <T> InsertDSL.IntoGatherer<T> insert(T record) {
111
111
}
112
112
113
113
@ SafeVarargs
114
- static <T > BatchInsertDSL .IntoGatherer <T > insert (T ...records ) {
114
+ static <T > BatchInsertDSL .BatchIntoGatherer <T > insert (T ...records ) {
115
115
return BatchInsertDSL .insert (records );
116
116
}
117
117
118
- static <T > BatchInsertDSL .IntoGatherer <T > insert (Collection <T > records ) {
118
+ static <T > BatchInsertDSL .BatchIntoGatherer <T > insert (Collection <T > records ) {
119
119
return BatchInsertDSL .insert (records );
120
120
}
121
121
122
122
@ SafeVarargs
123
- static <T > MultiRowInsertDSL .IntoGatherer <T > multiRowInsert (T ...records ) {
123
+ static <T > MultiRowInsertDSL .MultiRowIntoGatherer <T > multiRowInsert (T ...records ) {
124
124
return MultiRowInsertDSL .insert (records );
125
125
}
126
126
127
- static <T > MultiRowInsertDSL .IntoGatherer <T > multiRowInsert (Collection <T > records ) {
127
+ static <T > MultiRowInsertDSL .MultiRowIntoGatherer <T > multiRowInsert (Collection <T > records ) {
128
128
return MultiRowInsertDSL .insert (records );
129
129
}
130
130
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ public BatchInsertModel<T> build() {
51
51
}
52
52
53
53
@ SafeVarargs
54
- public static <T > IntoGatherer <T > insert (T ...records ) {
55
- return new IntoGatherer <>(Arrays .asList (records ));
54
+ public static <T > BatchIntoGatherer <T > insert (T ...records ) {
55
+ return new BatchIntoGatherer <>(Arrays .asList (records ));
56
56
}
57
57
58
- public static <T > IntoGatherer <T > insert (Collection <T > records ) {
59
- return new IntoGatherer <>(records );
58
+ public static <T > BatchIntoGatherer <T > insert (Collection <T > records ) {
59
+ return new BatchIntoGatherer <>(records );
60
60
}
61
61
62
- public static class IntoGatherer <T > {
62
+ public static class BatchIntoGatherer <T > {
63
63
private Collection <T > records ;
64
64
65
- private IntoGatherer (Collection <T > records ) {
65
+ private BatchIntoGatherer (Collection <T > records ) {
66
66
this .records = records ;
67
67
}
68
68
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ public MultiRowInsertModel<T> build() {
51
51
}
52
52
53
53
@ SafeVarargs
54
- public static <T > IntoGatherer <T > insert (T ...records ) {
55
- return new IntoGatherer <>(Arrays .asList (records ));
54
+ public static <T > MultiRowIntoGatherer <T > insert (T ...records ) {
55
+ return new MultiRowIntoGatherer <>(Arrays .asList (records ));
56
56
}
57
57
58
- public static <T > IntoGatherer <T > insert (Collection <T > records ) {
59
- return new IntoGatherer <>(records );
58
+ public static <T > MultiRowIntoGatherer <T > insert (Collection <T > records ) {
59
+ return new MultiRowIntoGatherer <>(records );
60
60
}
61
61
62
- public static class IntoGatherer <T > {
62
+ public static class MultiRowIntoGatherer <T > {
63
63
private Collection <T > records ;
64
64
65
- private IntoGatherer (Collection <T > records ) {
65
+ private MultiRowIntoGatherer (Collection <T > records ) {
66
66
this .records = records ;
67
67
}
68
68
You can’t perform that action at this time.
0 commit comments