Package org.apache.gravitino.client
Class GravitinoVersion
java.lang.Object
org.apache.gravitino.dto.VersionDTO
org.apache.gravitino.client.GravitinoVersion
Apache Gravitino version information.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compatibleWithServerVersion
(GravitinoVersion serverVersion) Check if the current version is compatible with the server version.Methods inherited from class org.apache.gravitino.dto.VersionDTO
compileDate, gitCommit, version
-
Method Details
-
compatibleWithServerVersion
Check if the current version is compatible with the server version.- Parameters:
serverVersion
- the server version to check compatibility with- Returns:
- true if the client current major version is less than or equal to the server's version
-