You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: r2dbc-spi/src/main/java/io/r2dbc/spi/Row.java
+8-10
Original file line number
Diff line number
Diff line change
@@ -40,27 +40,25 @@
40
40
publicinterfaceRow {
41
41
42
42
/**
43
-
* Returns the value for a column in this row using the default type mapping. The default implementation of this method calls {@link #get(int, Class)} passing {@link Object} as the type in
44
-
* order to allow the implementation to make the loosest possible match.
43
+
* Returns the value for a column in this row using the default type mapping. The default implementation of this method calls {@link #get(int, Class)} passing {@link Object} as the type
44
+
* to allow the implementation to make the loosest possible match.
45
45
*
46
-
* @param index the index of the column starting at 0
46
+
* @param index the index of the column starting at {@code 0}
47
47
* @return the value for a column in this row. Value can be {@code null}.
48
-
* @throws IllegalArgumentException if {@code index} or {@code type} is {@code null}
49
48
*/
50
49
@Nullable
51
50
defaultObjectget(intindex) {
52
51
returnget(index, Object.class);
53
52
}
54
53
55
-
56
54
/**
57
-
* Returns the value for a column in this row.
55
+
* Returns the value for a column in this row. Use {@link Object} to allow the implementation to make the loosest possible match.
58
56
*
59
-
* @param index the index of the column starting at 0
57
+
* @param index the index of the column starting at {@code 0}
60
58
* @param type the type of item to return. This type must be assignable to, and allows for variance.
61
59
* @param <T> the type of the item being returned.
62
60
* @return the value for a column in this row. Value can be {@code null}.
63
-
* @throws IllegalArgumentException if {@code index} or {@code type} is {@code null}
61
+
* @throws IllegalArgumentException if {@code type} is {@code null}
0 commit comments