All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlan.pkg.serde.RowDeserialization.kt Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
/* 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