Version

ldbc.connector.util.Version
See theVersion companion object
case class Version(major: Int, minor: Int, patch: Int)

A version number is a sequence of non-negative integers separated by dots. It is used to represent the version of a software product. A version number has three parts: major, minor, and patch.

The version number must be a non-negative integer.

Value parameters

major

The major version number is incremented when there are significant changes to the software.

minor

The minor version number is incremented when there are minor changes to the software.

patch

The patch version number is incremented when there are bug fixes to the software.

Attributes

Companion
object
Source
Version.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def compare(that: Version): Int

Compare versions and determine if the version being compared is higher or lower.

Compare versions and determine if the version being compared is higher or lower.

Value parameters

that

Version to be compared

Attributes

Returns

Return 1 if the version is above the compared version, -1 if below, and 0 if equal.

Source
Version.scala

This version is compared to the specified version to determine if they are the same series.

This version is compared to the specified version to determine if they are the same series.

Value parameters

that

Version to be compared

Attributes

Returns

Return true if major version and minor version are the same.

Source
Version.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Version.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product