Class RawParser

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

public class RawParser 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

    • RawParser

      public RawParser()
  • Method Details

    • parseRawRow

      public static RawRow parseRawRow(String dbName, String dbTable, String rowJson) throws Exception
      Parses an raw row json string to RawRow proto object.
      Returns:
      Throws:
      Exception
    • toRequestInsertItem

      public static Map<String,Object> toRequestInsertItem(RawRow element)
      Builds a request insert item object from RawRow. An insert item object creates a new raw row data object in the Cognite system.
      Parameters:
      element -
      Returns: