com.atlan.pkg.serde.RowDeserialization.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of package-toolkit-runtime Show documentation
Show all versions of package-toolkit-runtime Show documentation
Atlan custom package runtime toolkit
/* SPDX-License-Identifier: Apache-2.0
Copyright 2023 Atlan Pte. Ltd. */
package com.atlan.pkg.serde
import com.atlan.model.assets.Asset
import com.atlan.model.fields.AtlanField
import com.atlan.util.AssetBatch
/**
* Data class to encapsulate a deserialized row of data from a tabular format.
*
* @param identity unique identity of the asset
* @param primary the primary asset represented by the row of tabular data
* @param related a map from field name to the related asset(s) that are embedded for that field
* @param delete a set of fields representing values that should be cleared (deleted) from an asset
*/
data class RowDeserialization(
val identity: AssetBatch.AssetIdentity,
val primary: Asset.AssetBuilder<*, *>,
val related: MutableMap> = mutableMapOf(),
val delete: MutableSet = mutableSetOf(),
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy