Class Neo4JAdapterUtils

java.lang.Object
io.nosqlbench.adapter.neo4j.Neo4JAdapterUtils

public class Neo4JAdapterUtils extends Object
  • Constructor Details

    • Neo4JAdapterUtils

      public Neo4JAdapterUtils()
  • Method Details

    • maskDigits

      protected static String maskDigits(String unmasked)
      Mask the digits in the given string with '*'
      Parameters:
      unmasked - The string to mask
      Returns:
      The masked string
    • getFieldForAllRecords

      public static Object[] getFieldForAllRecords(org.neo4j.driver.Record[] records, String fieldName)
      Reference: - https://neo4j.com/docs/api/java-driver/current/org.neo4j.driver/org/neo4j/driver/Value.html#asObject()