Class AtlasEntityWithExtInfo
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasEntityWithExtInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasEntityWithExtInfo>
public final class AtlasEntityWithExtInfo
extends Object
implements com.azure.json.JsonSerializable<AtlasEntityWithExtInfo>
An instance of an entity along with extended info - like hive_table,
hive_database.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AtlasEntityWithExtInfo class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasEntityWithExtInfofromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasEntityWithExtInfo from the JsonReader.Get the entity property: An instance of an entity - like hive_table, hive_database.Get the referredEntities property: The referred entities.setEntity(AtlasEntity entity) Set the entity property: An instance of an entity - like hive_table, hive_database.setReferredEntities(Map<String, AtlasEntity> referredEntities) Set the referredEntities property: The referred entities.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
-
Constructor Details
-
AtlasEntityWithExtInfo
public AtlasEntityWithExtInfo()Creates an instance of AtlasEntityWithExtInfo class.
-
-
Method Details
-
getReferredEntities
Get the referredEntities property: The referred entities.- Returns:
- the referredEntities value.
-
setReferredEntities
Set the referredEntities property: The referred entities.- Parameters:
referredEntities- the referredEntities value to set.- Returns:
- the AtlasEntityWithExtInfo object itself.
-
getEntity
Get the entity property: An instance of an entity - like hive_table, hive_database.- Returns:
- the entity value.
-
setEntity
Set the entity property: An instance of an entity - like hive_table, hive_database.- Parameters:
entity- the entity value to set.- Returns:
- the AtlasEntityWithExtInfo object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasEntityWithExtInfo>- Throws:
IOException
-
fromJson
public static AtlasEntityWithExtInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AtlasEntityWithExtInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasEntityWithExtInfo 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 AtlasEntityWithExtInfo.
-