@@ -52,47 +52,47 @@ public interface ClientBulkWriteResult {
52
52
* @return Whether there are verbose results.
53
53
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
54
54
*/
55
- boolean hasVerboseResults () throws UnsupportedOperationException ;
55
+ boolean hasVerboseResults ();
56
56
57
57
/**
58
58
* The number of documents that were inserted across all insert operations.
59
59
*
60
60
* @return The number of documents that were inserted.
61
61
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
62
62
*/
63
- long getInsertedCount () throws UnsupportedOperationException ;
63
+ long getInsertedCount ();
64
64
65
65
/**
66
66
* The number of documents that were upserted across all update and replace operations.
67
67
*
68
68
* @return The number of documents that were upserted.
69
69
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
70
70
*/
71
- long getUpsertedCount () throws UnsupportedOperationException ;
71
+ long getUpsertedCount ();
72
72
73
73
/**
74
74
* The number of documents that matched the filters across all operations with filters.
75
75
*
76
76
* @return The number of documents that were matched.
77
77
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
78
78
*/
79
- long getMatchedCount () throws UnsupportedOperationException ;
79
+ long getMatchedCount ();
80
80
81
81
/**
82
82
* The number of documents that were modified across all update and replace operations.
83
83
*
84
84
* @return The number of documents that were modified.
85
85
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
86
86
*/
87
- long getModifiedCount () throws UnsupportedOperationException ;
87
+ long getModifiedCount ();
88
88
89
89
/**
90
90
* The number of documents that were deleted across all delete operations.
91
91
*
92
92
* @return The number of documents that were deleted.
93
93
* @throws UnsupportedOperationException If this result is not {@linkplain #isAcknowledged() acknowledged}.
94
94
*/
95
- long getDeletedCount () throws UnsupportedOperationException ;
95
+ long getDeletedCount ();
96
96
97
97
/**
98
98
* The indexed {@link ClientInsertOneResult}s.
@@ -106,7 +106,7 @@ public interface ClientBulkWriteResult {
106
106
* or does not have {@linkplain #hasVerboseResults() verbose results}.
107
107
* @see ClientBulkWriteException#getWriteErrors()
108
108
*/
109
- Map <Long , ClientInsertOneResult > getInsertResults () throws UnsupportedOperationException ;
109
+ Map <Long , ClientInsertOneResult > getInsertResults ();
110
110
111
111
/**
112
112
* The indexed {@link ClientUpdateResult}s.
@@ -120,7 +120,7 @@ public interface ClientBulkWriteResult {
120
120
* or does not have {@linkplain #hasVerboseResults() verbose results}.
121
121
* @see ClientBulkWriteException#getWriteErrors()
122
122
*/
123
- Map <Long , ClientUpdateResult > getUpdateResults () throws UnsupportedOperationException ;
123
+ Map <Long , ClientUpdateResult > getUpdateResults ();
124
124
125
125
/**
126
126
* The indexed {@link ClientDeleteResult}s.
@@ -134,5 +134,5 @@ public interface ClientBulkWriteResult {
134
134
* or does not have {@linkplain #hasVerboseResults() verbose results}.
135
135
* @see ClientBulkWriteException#getWriteErrors()
136
136
*/
137
- Map <Long , ClientDeleteResult > getDeleteResults () throws UnsupportedOperationException ;
137
+ Map <Long , ClientDeleteResult > getDeleteResults ();
138
138
}
0 commit comments