Returns the version of the upscaledb library. This method wraps the native ups_get_version function. More information: C documentation @return the upscaledb version tuple
()
| 86 | * @return the upscaledb version tuple |
| 87 | */ |
| 88 | public static Version getVersion() { |
| 89 | Version v = new Version(); |
| 90 | v.major = ups_get_version(0); |
| 91 | v.minor = ups_get_version(1); |
| 92 | v.revision = ups_get_version(2); |
| 93 | return v; |
| 94 | } |
| 95 | |
| 96 | /** |
| 97 | * Registers a custom compare function. |