java.lang.Object
- All Implemented Interfaces:
org.neo4j.driver.internal.AsValue,InternalValue,MapAccessor,MapAccessorWithDefaultValue,Value
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.neo4j.driver.internal.value.ObjectValueAdapter
asObject, equals, hashCode, toStringMethods inherited from class org.neo4j.driver.internal.value.ValueAdapter
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, asNode, asNumber, asOffsetDateTime, asOffsetDateTime, asOffsetTime, asOffsetTime, asPoint, asPoint, asRelationship, asString, asString, asValue, asZonedDateTime, asZonedDateTime, computeOrDefault, containsKey, get, get, hasType, isEmpty, isFalse, isNull, isTrue, keys, 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, get
-
Constructor Details
-
PathValue
-
-
Method Details
-
asPath
- Specified by:
asPathin interfaceValue- Overrides:
asPathin classValueAdapter- Returns:
- the value as a
Path, if possible.
-
size
public int size()Description copied from interface:ValueIf the underlying value is a collection type, return the number of values in the collection.For
TypeSystem.LIST()list} values, this will return the size of the list.For
mapvalues, this will return the number of entries in the map.For
nodeandTypeSystem.RELATIONSHIP()relationship} values, this will return the number of properties.For
pathvalues, this returns the length (number of relationships) in the path.- Specified by:
sizein interfaceMapAccessor- Specified by:
sizein interfaceValue- Overrides:
sizein classValueAdapter- Returns:
- the number of values in an underlying collection
-
type
- Returns:
- The type of this value as defined in the Neo4j type system
-