Class TransformationParser

java.lang.Object
com.cognite.client.servicesV1.parser.TransformationParser

public class TransformationParser extends Object
This class contains a set of methods to help parsing file objects between Cognite api representations (json and proto) and typed objects.
  • Constructor Details

    • TransformationParser

      public TransformationParser()
  • Method Details

    • toRequestInsertItem

      public static Map<String,Object> toRequestInsertItem(Transformation element) throws Exception
      Builds a request insert item object from Transformation. An insert item object creates a new Transformation object in the Cognite system.
      Parameters:
      element -
      Returns:
      Throws:
      Exception
    • toRequestUpdateItem

      public static Map<String,Object> toRequestUpdateItem(Transformation element) throws Exception
      Throws:
      Exception
    • toRequestReplaceItem

      public static Map<String,Object> toRequestReplaceItem(Transformation element)
    • parseTransformations

      public static Transformation parseTransformations(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • parseTransformationsToList

      public static List<Transformation> parseTransformationsToList(String json) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException