Class LineageRelation
java.lang.Object
com.azure.analytics.purview.datamap.models.LineageRelation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LineageRelation>
public final class LineageRelation
extends Object
implements com.azure.json.JsonSerializable<LineageRelation>
The lineage relation with GUID of the from and to entity.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LineageRelationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LineageRelation from the JsonReader.Get the fromEntityId property: The GUID of from-entity.Get the relationshipId property: The GUID of relationship.Get the toEntityId property: The GUID of to-entity.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getFromEntityId
Get the fromEntityId property: The GUID of from-entity.- Returns:
- the fromEntityId value.
-
getRelationshipId
Get the relationshipId property: The GUID of relationship.- Returns:
- the relationshipId value.
-
getToEntityId
Get the toEntityId property: The GUID of to-entity.- Returns:
- the toEntityId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LineageRelation>- Throws:
IOException
-
fromJson
Reads an instance of LineageRelation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LineageRelation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the LineageRelation.
-