Class OpenLineageSchemaDataSetFacetField
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageSchemaDataSetFacetField
This class represents a single field in the schema dataset facet. Fields may be nested.
It is part of the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the description of the field.Return the nested struct fields.getName()Return the name of the field.Return the ordinal position of the field in the schema (1-indexed).getType()Return the type of the field.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the description of the field.voidSet up the nested struct fields.voidSet up the name of the field.voidsetOrdinalPosition(Long ordinalPosition) Set up the ordinal position of the field in the schema (1-indexed).voidSet up the type of the field.toString()Standard toString method.
-
Constructor Details
-
OpenLineageSchemaDataSetFacetField
public OpenLineageSchemaDataSetFacetField()Default constructor
-
-
Method Details
-
getName
Return the name of the field.- Returns:
- string
-
setName
Set up the name of the field.- Parameters:
name- string
-
getType
Return the type of the field.- Returns:
- string
-
setType
Set up the type of the field.- Parameters:
type- string
-
getDescription
Return the description of the field.- Returns:
- string
-
setDescription
Set up the description of the field.- Parameters:
description- string
-
getOrdinalPosition
Return the ordinal position of the field in the schema (1-indexed).- Returns:
- long
-
setOrdinalPosition
Set up the ordinal position of the field in the schema (1-indexed).- Parameters:
ordinalPosition- long
-
getFields
Return the nested struct fields.- Returns:
- list
-
setFields
Set up the nested struct fields.- Parameters:
fields- list
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-