Package org.apache.sysds.api.mlcontext
Class ProjectInfo
java.lang.Object
org.apache.sysds.api.mlcontext.ProjectInfo
Obtains information that is stored in the manifest when the SystemDS jar is
built.
-
Method Summary
Modifier and TypeMethodDescriptionObject the artifact build time from the manifest.static ProjectInfoReturn a ProjectInfo singleton instance.Obtain the minimum recommended Spark version from the manifest.Obtain all the properties from the manifest as a sorted map.Obtain a manifest property value based on the key.toString()version()Obtain the project version from the manifest.
-
Method Details
-
getProjectInfo
Return a ProjectInfo singleton instance.- Returns:
- the ProjectInfo singleton instance
-
toString
-
property
Obtain a manifest property value based on the key.- Parameters:
key- the property key- Returns:
- the property value
-
version
Obtain the project version from the manifest.- Returns:
- the project version
-
buildTime
Object the artifact build time from the manifest.- Returns:
- the artifact build time
-
minimumRecommendedSparkVersion
Obtain the minimum recommended Spark version from the manifest.- Returns:
- the minimum recommended Spark version
-
properties
Obtain all the properties from the manifest as a sorted map.- Returns:
- the manifest properties as a sorted map
-