Trait for generating feature ids based on attributes of a simple feature
Creates feature id based on current system time.
Creates random least significant bits with the appropriate variant set
Base trait for generating version 4 UUIDs.
Creates feature id based on the z3 index.
UUID generator that creates UUIDs that sort by creation time (useful for accumulo).
UUID generator that creates UUIDs that sort by z3 index.
UUID generator that creates UUIDs that sort by z3 index. UUIDs will be prefixed with a shard number, which will ensure some distribution of values as well as allow pre-splitting of tables based on hex values.
Uses variant 2 (IETF) and version 4 (for random UUIDs, although it's not totally random). See https://en.wikipedia.org/wiki/Universally_unique_identifier#Variants_and_versions
Format is:
4 bits for a shard - enough for a single hex digit 44 bits of the z3 index value 4 bits for the UUID version 12 more bits of the z3 index value 2 bits for the UUID variant 62 bits of randomness
UUID generator that creates UUIDs that sort by creation time (useful for accumulo).
Uses variant 2 (IETF) and version 4 (for random UUIDs, although it's not totally random). See https://en.wikipedia.org/wiki/Universally_unique_identifier#Variants_and_versions
Using a version 1 (time based) UUID doesn't ensure uniqueness when running in different processes on the same machine (at least not without some complicated distributed locking), as MAC address (or IP address) is the unique factor.