lastOption should always force formKey to be the endSubMapsKey because from is always set in swaydb.extensions.Maps and regardless from where the iteration starts the most efficient way to fetch the last is from the key endSubMapsKey.
Returns the start key when doing reverse iteration.
Returns the start key when doing reverse iteration.
If subMaps are included then it will return the starting point to be Key.SubMapsEnd which will iterate backward until Key.MapEntriesStart else returns the starting point to be Key.MapEntriesEnd to fetch entries only.
(Since version ) see corresponding Javadoc for more information.
TODO - MapStream and MapKeysStream are similar and need a higher type - tagless final.
Sample order
Key.MapStart(1), MapKey.EntriesStart(1) MapKey.Entry(1, 1) MapKey.EntriesEnd(1) MapKey.SubMapsStart(1) MapKey.SubMap(1, 1000) MapKey.SubMapsEnd(1) MapKey.End(1)