Package com.firebolt.jdbc.util
Class VersionUtil
java.lang.Object
com.firebolt.jdbc.util.VersionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
extractMajorVersion
(String version) Extracts the major version from the version providedint
extractMinorVersion
(String version) Extracts the minor version from the version providedint
Returns the driver minor versionReturns the driver versionint
Returns the driver major version
-
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
Extracts the major version from the version provided- Parameters:
version
- the version to extract the major version from- Returns:
- the major version
-
extractMinorVersion
Extracts the minor version from the version provided- Parameters:
version
- the version to extract the minor version from- Returns:
- the minor version
-
getDriverVersion
Returns the driver version- Returns:
- the driver version
-
getSpecificationVersion
-