Package org.dizitart.no2.common
Interface WriteResult
An interface to represent the result of a write operation in Nitrite database.
It is an iterable of
NitriteIds of affected documents.- Since:
- 1.0
- Author:
- Anindya Chatterjee
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGets the number of affected documents by the write operation.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getAffectedCount
default int getAffectedCount()Gets the number of affected documents by the write operation.- Returns:
- the affected document count.
-