Class BoltValueFactory

java.lang.Object
org.neo4j.driver.internal.value.BoltValueFactory
All Implemented Interfaces:
org.neo4j.bolt.connection.values.ValueFactory

public class BoltValueFactory extends Object implements org.neo4j.bolt.connection.values.ValueFactory
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.neo4j.bolt.connection.values.Value
    isoDuration(long months, long days, long seconds, int nanoseconds)
     
    org.neo4j.bolt.connection.values.Node
    node(long id, String elementId, Collection<String> labels, Map<String,org.neo4j.bolt.connection.values.Value> properties)
     
    org.neo4j.bolt.connection.values.Path
    path(List<org.neo4j.bolt.connection.values.Segment> segments, List<org.neo4j.bolt.connection.values.Node> nodes, List<org.neo4j.bolt.connection.values.Relationship> relationships)
     
    org.neo4j.bolt.connection.values.Value
    point(int srid, double x, double y)
     
    org.neo4j.bolt.connection.values.Value
    point(int srid, double x, double y, double z)
     
    org.neo4j.bolt.connection.values.Relationship
    relationship(long id, String elementId, long start, String startElementId, long end, String endElementId, String type, Map<String,org.neo4j.bolt.connection.values.Value> properties)
     
    org.neo4j.bolt.connection.values.Segment
    segment(org.neo4j.bolt.connection.values.Node start, org.neo4j.bolt.connection.values.Relationship relationship, org.neo4j.bolt.connection.values.Node end)
     
    Map<String,org.neo4j.bolt.connection.values.Value>
     
    toDriverMap(Map<String,org.neo4j.bolt.connection.values.Value> map)
     
    org.neo4j.bolt.connection.values.Value
     
    org.neo4j.bolt.connection.values.Value
    value(Object value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static BoltValueFactory getInstance()
    • value

      public org.neo4j.bolt.connection.values.Value value(Object value)
      Specified by:
      value in interface org.neo4j.bolt.connection.values.ValueFactory
    • node

      public org.neo4j.bolt.connection.values.Node node(long id, String elementId, Collection<String> labels, Map<String,org.neo4j.bolt.connection.values.Value> properties)
      Specified by:
      node in interface org.neo4j.bolt.connection.values.ValueFactory
    • relationship

      public org.neo4j.bolt.connection.values.Relationship relationship(long id, String elementId, long start, String startElementId, long end, String endElementId, String type, Map<String,org.neo4j.bolt.connection.values.Value> properties)
      Specified by:
      relationship in interface org.neo4j.bolt.connection.values.ValueFactory
    • segment

      public org.neo4j.bolt.connection.values.Segment segment(org.neo4j.bolt.connection.values.Node start, org.neo4j.bolt.connection.values.Relationship relationship, org.neo4j.bolt.connection.values.Node end)
      Specified by:
      segment in interface org.neo4j.bolt.connection.values.ValueFactory
    • path

      public org.neo4j.bolt.connection.values.Path path(List<org.neo4j.bolt.connection.values.Segment> segments, List<org.neo4j.bolt.connection.values.Node> nodes, List<org.neo4j.bolt.connection.values.Relationship> relationships)
      Specified by:
      path in interface org.neo4j.bolt.connection.values.ValueFactory
    • isoDuration

      public org.neo4j.bolt.connection.values.Value isoDuration(long months, long days, long seconds, int nanoseconds)
      Specified by:
      isoDuration in interface org.neo4j.bolt.connection.values.ValueFactory
    • point

      public org.neo4j.bolt.connection.values.Value point(int srid, double x, double y)
      Specified by:
      point in interface org.neo4j.bolt.connection.values.ValueFactory
    • point

      public org.neo4j.bolt.connection.values.Value point(int srid, double x, double y, double z)
      Specified by:
      point in interface org.neo4j.bolt.connection.values.ValueFactory
    • unsupportedDateTimeValue

      public org.neo4j.bolt.connection.values.Value unsupportedDateTimeValue(DateTimeException e)
      Specified by:
      unsupportedDateTimeValue in interface org.neo4j.bolt.connection.values.ValueFactory
    • toBoltMap

      public Map<String,org.neo4j.bolt.connection.values.Value> toBoltMap(Map<String,Value> map)
    • toDriverMap

      public Map<String,Value> toDriverMap(Map<String,org.neo4j.bolt.connection.values.Value> map)