Class BoltValue

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

public class BoltValue extends Object implements org.neo4j.bolt.connection.values.Value
  • Constructor Details

    • BoltValue

      public BoltValue(InternalValue value, org.neo4j.bolt.connection.values.Type type)
  • Method Details

    • asDriverValue

      public Value asDriverValue()
    • type

      public org.neo4j.bolt.connection.values.Type type()
      Specified by:
      type in interface org.neo4j.bolt.connection.values.Value
    • asBoolean

      public boolean asBoolean()
      Specified by:
      asBoolean in interface org.neo4j.bolt.connection.values.Value
    • asByteArray

      public byte[] asByteArray()
      Specified by:
      asByteArray in interface org.neo4j.bolt.connection.values.Value
    • asString

      public String asString()
      Specified by:
      asString in interface org.neo4j.bolt.connection.values.Value
    • asLong

      public long asLong()
      Specified by:
      asLong in interface org.neo4j.bolt.connection.values.Value
    • asDouble

      public double asDouble()
      Specified by:
      asDouble in interface org.neo4j.bolt.connection.values.Value
    • asLocalDate

      public LocalDate asLocalDate()
      Specified by:
      asLocalDate in interface org.neo4j.bolt.connection.values.Value
    • asOffsetTime

      public OffsetTime asOffsetTime()
      Specified by:
      asOffsetTime in interface org.neo4j.bolt.connection.values.Value
    • asLocalTime

      public LocalTime asLocalTime()
      Specified by:
      asLocalTime in interface org.neo4j.bolt.connection.values.Value
    • asLocalDateTime

      public LocalDateTime asLocalDateTime()
      Specified by:
      asLocalDateTime in interface org.neo4j.bolt.connection.values.Value
    • asZonedDateTime

      public ZonedDateTime asZonedDateTime()
      Specified by:
      asZonedDateTime in interface org.neo4j.bolt.connection.values.Value
    • asIsoDuration

      public org.neo4j.bolt.connection.values.IsoDuration asIsoDuration()
      Specified by:
      asIsoDuration in interface org.neo4j.bolt.connection.values.Value
    • asPoint

      public org.neo4j.bolt.connection.values.Point asPoint()
      Specified by:
      asPoint in interface org.neo4j.bolt.connection.values.Value
    • isNull

      public boolean isNull()
      Specified by:
      isNull in interface org.neo4j.bolt.connection.values.Value
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.neo4j.bolt.connection.values.Value
    • keys

      public Iterable<String> keys()
    • size

      public int size()
    • get

      public org.neo4j.bolt.connection.values.Value get(String key)
    • values

      public Iterable<org.neo4j.bolt.connection.values.Value> values()
    • containsKey

      public boolean containsKey(String key)
    • asMap

      public <T> Map<String,T> asMap(Function<org.neo4j.bolt.connection.values.Value,T> mapFunction)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object