java.lang.Object
org.neo4j.driver.internal.types.InternalMapAccessorWithDefaultValue
org.neo4j.driver.internal.value.ValueAdapter
org.neo4j.driver.internal.value.BooleanValue
- All Implemented Interfaces:
org.neo4j.bolt.connection.values.Value,org.neo4j.driver.internal.AsValue,InternalValue,MapAccessor,MapAccessorWithDefaultValue,Value
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionabstract BooleanasObject()This returns a java standard library representation of the underlying value, using a java type that is "sensible" given the underlying type.org.neo4j.bolt.connection.values.Typestatic BooleanValuefromBoolean(boolean value) inthashCode()type()Returns the type of this value as defined in the Neo4j type system.Methods inherited from class org.neo4j.driver.internal.value.ValueAdapter
asBoltVector, asBoolean, asBoolean, asByteArray, asByteArray, asDouble, asDouble, asEntity, asFloat, asFloat, asInt, asInt, asIsoDuration, asIsoDuration, asList, asList, asList, asList, asLocalDate, asLocalDate, asLocalDateTime, asLocalDateTime, asLocalTime, asLocalTime, asLong, asLong, asMap, asMap, asMap, asMap, asMapped, asNode, asNumber, asOffsetDateTime, asOffsetDateTime, asOffsetTime, asOffsetTime, asPath, asPoint, asPoint, asRelationship, asString, asString, asUnsupportedType, asValue, asVector, asZonedDateTime, asZonedDateTime, computeOrDefault, containsKey, equals, get, get, hasType, isEmpty, isFalse, isNull, isTrue, keys, size, toString, typeConstructor, values, valuesMethods inherited from class org.neo4j.driver.internal.types.InternalMapAccessorWithDefaultValue
get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.neo4j.driver.internal.value.InternalValue
as, as, asBoltIsoDuration, asBoltMap, asBoltPoint, boltValues, getBoltValue
-
Field Details
-
TRUE
-
FALSE
-
-
Method Details
-
fromBoolean
-
asObject
Description copied from interface:ValueThis returns a java standard library representation of the underlying value, using a java type that is "sensible" given the underlying type. The mapping for common types is as follows:TypeSystem.NULL()-nullTypeSystem.LIST()-ListTypeSystem.MAP()-MapTypeSystem.BOOLEAN()-BooleanTypeSystem.INTEGER()-LongTypeSystem.FLOAT()-DoubleTypeSystem.STRING()-StringTypeSystem.BYTES()- byte[]TypeSystem.DATE()-LocalDateTypeSystem.TIME()-OffsetTimeTypeSystem.LOCAL_TIME()-LocalTimeTypeSystem.DATE_TIME()-ZonedDateTimeTypeSystem.LOCAL_DATE_TIME()-LocalDateTimeTypeSystem.DURATION()-IsoDurationTypeSystem.POINT()-PointTypeSystem.NODE()-NodeTypeSystem.RELATIONSHIP()-RelationshipTypeSystem.PATH()-Path
Note that the types in
TypeSystemrefers to the Neo4j type system whereTypeSystem.INTEGER()andTypeSystem.FLOAT()are both 64-bit precision. This is why these types return javaLongandDouble, respectively.- Specified by:
asObjectin interfaceValue- Overrides:
asObjectin classValueAdapter- Returns:
- the value as a Java Object.
-
type
Description copied from interface:ValueReturns the type of this value as defined in the Neo4j type system.- Returns:
- the type of this value as defined in the Neo4j type system
-
boltValueType
public org.neo4j.bolt.connection.values.Type boltValueType() -
hashCode
public int hashCode()- Specified by:
hashCodein interfaceValue- Specified by:
hashCodein classValueAdapter
-