public class VersionUtils
extends Object
Constructor and Description |
---|
VersionUtils() |
Modifier and Type | Method and Description |
---|---|
static scala.Tuple2<Object,Object> |
majorMinorVersion(String sparkVersion)
Given a Spark version string, return the (major version number, minor version number).
|
static int |
majorVersion(String sparkVersion)
Given a Spark version string, return the major version number.
|
static int |
minorVersion(String sparkVersion)
Given a Spark version string, return the minor version number.
|
static String |
shortVersion(String sparkVersion)
Given a Spark version string, return the short version string.
|
public static int majorVersion(String sparkVersion)
sparkVersion
- (undocumented)public static int minorVersion(String sparkVersion)
sparkVersion
- (undocumented)public static String shortVersion(String sparkVersion)
sparkVersion
- (undocumented)public static scala.Tuple2<Object,Object> majorMinorVersion(String sparkVersion)
sparkVersion
- (undocumented)