Package com.exasol.adapter.jdbc
Class ExasolVersion
- java.lang.Object
-
- com.exasol.adapter.jdbc.ExasolVersion
-
public final class ExasolVersion extends Object
Represents the version of a Exasol database.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanatLeast(int major, int minor)Returns if the Exasol versions is at least the specified version.static ExasolVersionparse(com.exasol.ExaMetadata exaMetadata)Factory method to create an instance based on the Exasol database metadata.
-
-
-
Method Detail
-
parse
public static ExasolVersion parse(com.exasol.ExaMetadata exaMetadata)
Factory method to create an instance based on the Exasol database metadata.- Parameters:
exaMetadata- Metadata of the Exasol database- Returns:
- instance representing the Exasol version.
-
atLeast
public boolean atLeast(int major, int minor)Returns if the Exasol versions is at least the specified version.- Parameters:
major- required major version.minor- required minor version.- Returns:
- true if the version is at least the specified version, false otherwise.
-
-