Class VersionUtil

java.lang.Object
com.firebolt.jdbc.util.VersionUtil

public class VersionUtil extends Object
  • Constructor Details

    • VersionUtil

      public VersionUtil()
  • Method Details

    • getMajorDriverVersion

      public int getMajorDriverVersion()
      Returns the driver major version
      Returns:
      the driver major version
    • getDriverMinorVersion

      public int getDriverMinorVersion()
      Returns the driver minor version
      Returns:
      the driver minor version
    • extractMajorVersion

      public int extractMajorVersion(String version)
      Extracts the major version from the version provided
      Parameters:
      version - the version to extract the major version from
      Returns:
      the major version
    • extractMinorVersion

      public int extractMinorVersion(String version)
      Extracts the minor version from the version provided
      Parameters:
      version - the version to extract the minor version from
      Returns:
      the minor version
    • getDriverVersion

      public String getDriverVersion()
      Returns the driver version
      Returns:
      the driver version
    • getSpecificationVersion

      public String getSpecificationVersion()