Module lmdbjava
Package org.lmdbjava

Class Meta

java.lang.Object
org.lmdbjava.Meta

public final class Meta extends Object
LMDB metadata functions.
  • Method Details

    • error

      public static String error(int err)
      Fetches the LMDB error code description.

      End users should not need this method, as LmdbJava converts all LMDB exceptions into a typed Java exception that incorporates the error code. However it is provided here for verification and troubleshooting (eg if the user wishes to see the original LMDB description of the error code, or there is a newer library version etc).

      Parameters:
      err - the error code returned from LMDB
      Returns:
      the description
    • version

      public static Meta.Version version()
      Obtains the LMDB C library version information.
      Returns:
      the version data