Class OConstants

java.lang.Object
com.orientechnologies.orient.core.OConstants

public class OConstants extends Object
  • Field Details

  • Constructor Details

    • OConstants

      public OConstants()
  • Method Details

    • getVersionMajor

      public static int getVersionMajor()
      Returns:
      Major part of OrientDB version
    • getVersionMinor

      public static int getVersionMinor()
      Returns:
      Minor part of OrientDB version
    • getVersionHotfix

      public static int getVersionHotfix()
      Returns:
      Hotfix part of OrientDB version
    • getRawVersion

      public static String getRawVersion()
      Returns:
      Returns only current version without build number and etc.
    • getVersion

      public static String getVersion()
      Returns the complete text of the current OrientDB version.
    • isSnapshot

      public static boolean isSnapshot()
      Returns true if current OrientDB version is a snapshot.
    • getBuildNumber

      public static String getBuildNumber()
      Returns:
      the build number if any.