public enum PMMLVersion extends Enum<PMMLVersion>
Modifier and Type | Field and Description |
---|---|
static EngineProperty<String> |
PROPERTY
Property controlling PMML version to use when writing PMML
|
Modifier and Type | Method and Description |
---|---|
static PMMLVersion |
find(String version,
PMMLVersion dflt)
Finds the PMML version corresponding to the given string.
|
static PMMLVersion |
get(EngineConfig config)
Returns the PMML version to use based on the given DR engine config
|
String |
namespace()
Returns the pmml namespace for this version
|
Schema |
schema()
Returns the schema that can be used for validating this PMML version.
|
static PMMLVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PMMLVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
version()
Returns the version number (i.e.
|
public static final PMMLVersion PMML_40
public static final PMMLVersion PMML_41
public static final PMMLVersion PMML_42
public static final EngineProperty<String> PROPERTY
public static PMMLVersion[] values()
for (PMMLVersion c : PMMLVersion.values()) System.out.println(c);
public static PMMLVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PMMLVersion get(EngineConfig config)
config
- the engine configpublic String version()
public String namespace()
public static PMMLVersion find(String version, PMMLVersion dflt)
version
- the version to finddflt
- the default version to find if none can be foundpublic Schema schema()
Copyright © 2021 Actian Corporation. All rights reserved.