Package com.cognite.client.queue
Interface UpsertTarget<T,R>
- Type Parameters:
T- The type of the resource to upsert to CDF.
- All Known Implementing Classes:
DataPoints,Events,Files,RawRows,Relationships,SequenceRows,Sequences,Timeseries
public interface UpsertTarget<T,R>
An interface for API endpoints that supports upserting a resource type T.
-
Method Summary
-
Method Details
-
upsert
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
ClientConfigsettings.- Parameters:
objects- the objects to upsert to CDF- Returns:
- a list of the confirmed upserted objects.
- Throws:
Exception
-