Interface UpsertTarget<T,​R>

    • Method Detail

      • upsert

        List<R> upsert​(List<T> objects)
                throws Exception
        Upserts a collection of objects to Cognite Data Fusion.

        If it is a new object (based on id / externalId, then it will be created.

        If the object already exists in Cognite Data Fusion, it will be updated. The update behavior is specified via the update mode in the ClientConfig settings.

        Parameters:
        objects - the objects to upsert to CDF
        Returns:
        a list of the confirmed upserted objects.
        Throws:
        Exception