Enum Class OpenLineageParameterMaterialization
java.lang.Object
java.lang.Enum<OpenLineageParameterMaterialization>
org.odpi.openmetadata.adapters.connectors.integration.openlineage.controls.OpenLineageParameterMaterialization
- All Implemented Interfaces:
Serializable,Comparable<OpenLineageParameterMaterialization>,Constable
OpenLineageParameterMaterialization describes how the Open Lineage Cataloguer records the parameter values
of a run (from the executionParameters and egeria_parametricSweep run facets) as metadata elements. Every
element and relationship costs a version and an event, so this lets the operator choose the cost.
The parameter values are always recorded in the additional properties of the run element.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOne LiteralDataValue for each run, holding all of its parameter values.No data values.One LiteralDataValue for each parameter value, shared by the runs that use the value. -
Method Summary
Modifier and TypeMethodDescriptionReturn the value for a configured name.Return the value used when none is configured.Return the description of the behaviour.getName()Return the name used in the configuration property.toString()Output of this enum class and main value.Returns the enum constant of this class with the specified name.static OpenLineageParameterMaterialization[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_PARAMETER
One LiteralDataValue for each parameter value, shared by the runs that use the value. -
COMPOSITE
One LiteralDataValue for each run, holding all of its parameter values. -
NONE
No data values.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Return the name used in the configuration property.- Returns:
- string
-
getDescription
Return the description of the behaviour.- Returns:
- string
-
getDefault
Return the value used when none is configured.- Returns:
- default
-
fromName
Return the value for a configured name. The name used in the configuration property (perParameter) and the name of the constant (PER_PARAMETER) are both recognized, ignoring case.- Parameters:
value- configured value- Returns:
- matching value or null if it is not recognized
-
toString
Output of this enum class and main value.- Overrides:
toStringin classEnum<OpenLineageParameterMaterialization>- Returns:
- string showing enum value
-