java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.utils.CypherUtils

public class CypherUtils extends Object
  • Constructor Details

    • CypherUtils

      public CypherUtils()
  • Method Details

    • parse

      public static List<TableRecord> parse(String body) throws com.fasterxml.jackson.core.JsonProcessingException, Neo4jException
      This method parses a JSON response obtained from a Neo4j HTTP server into a list of POJOs
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException - if the received body is not valid JSON
      Neo4jException - if the server responds with an error object
    • replaceVariable

      public static Object replaceVariable(Map<CypherVar,CypherVar> equivalences, CypherExpression ex)