Package io.tarantool.driver
Class TarantoolVersion
- java.lang.Object
-
- io.tarantool.driver.TarantoolVersion
-
- All Implemented Interfaces:
Serializable
public class TarantoolVersion extends Object implements Serializable
Represents the Tarantool server version- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static TarantoolVersion
fromString(String versionString)
Constructs version from a stringint
hashCode()
String
toString()
-
-
-
Method Detail
-
fromString
public static TarantoolVersion fromString(String versionString) throws InvalidVersionException
Constructs version from a string- Parameters:
versionString
- a string containing Tarantool server version- Returns:
- new
TarantoolVersion
instance incapsulating the specified version - Throws:
InvalidVersionException
- if the passed version string is invalid
-
-