| Package | Description |
|---|---|
| org.neo4j.driver.v1 | |
| org.neo4j.driver.v1.types | |
| org.neo4j.driver.v1.util |
| Modifier and Type | Method and Description |
|---|---|
static Function<Record,Value> |
Records.column(int index) |
static <T> Function<Record,T> |
Records.column(int index,
Function<Value,T> mapFunction) |
static Function<Record,Value> |
Records.column(String key) |
static <T> Function<Record,T> |
Records.column(String key,
Function<Value,T> mapFunction) |
static Function<Value,Boolean> |
Values.ofBoolean()
Converts values to
Boolean. |
static Function<Value,Double> |
Values.ofDouble()
Converts values to
Double. |
static Function<Value,Entity> |
Values.ofEntity()
Converts values to
Entity. |
static Function<Value,Long> |
Values.ofEntityId()
Converts values to
entity id. |
static Function<Value,Float> |
Values.ofFloat()
Converts values to
Float. |
static Function<Value,Integer> |
Values.ofInteger()
Converts values to
Integer. |
static Function<Value,IsoDuration> |
Values.ofIsoDuration()
Converts values to
IsoDuration. |
static Function<Value,List<Object>> |
Values.ofList()
|
static <T> Function<Value,List<T>> |
Values.ofList(Function<Value,T> innerMap)
Converts values to
List of T. |
static Function<Value,LocalDate> |
Values.ofLocalDate()
Converts values to
LocalDate. |
static Function<Value,LocalDateTime> |
Values.ofLocalDateTime()
Converts values to
LocalDateTime. |
static Function<Value,LocalTime> |
Values.ofLocalTime()
Converts values to
LocalTime. |
static Function<Value,Long> |
Values.ofLong()
Converts values to
Long. |
static Function<Value,Map<String,Object>> |
Values.ofMap()
Converts values to
Map. |
static <T> Function<Value,Map<String,T>> |
Values.ofMap(Function<Value,T> valueConverter)
Converts values to
Map, with the map values further converted using
the provided converter. |
static Function<Value,Node> |
Values.ofNode()
Converts values to
Node. |
static Function<Value,Number> |
Values.ofNumber()
Converts values to
Number. |
static Function<Value,Object> |
Values.ofObject()
Converts values to objects using
Value.asObject(). |
static Function<Value,OffsetTime> |
Values.ofOffsetTime()
Converts values to
OffsetTime. |
static Function<Value,Path> |
Values.ofPath()
Converts values to
Path. |
static Function<Value,Point> |
Values.ofPoint()
Converts values to
Point. |
static Function<Value,Relationship> |
Values.ofRelationship()
Converts values to
Relationship. |
static Function<Value,String> |
Values.ofString()
Converts values to
String. |
static Function<Value,String> |
Values.ofToString()
Converts values using
Value.toString(), a human-readable string
description of any value. |
static Function<Value,Value> |
Values.ofValue()
The identity function for value conversion - returns the value untouched.
|
static Function<Value,ZonedDateTime> |
Values.ofZonedDateTime()
Converts values to
ZonedDateTime. |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
Value.asList(Function<Value,T> mapFunction) |
<T> List<T> |
Value.asList(Function<Value,T> mapFunction,
List<T> defaultValue) |
<T> Map<String,T> |
Record.asMap(Function<Value,T> mapper)
Return this record as a map, where each value has been converted using the provided
mapping function.
|
<T> Map<String,T> |
Value.asMap(Function<Value,T> mapFunction,
Map<String,T> defaultValue) |
static <T> Function<Record,T> |
Records.column(int index,
Function<Value,T> mapFunction) |
static <T> Function<Record,T> |
Records.column(String key,
Function<Value,T> mapFunction) |
<T> T |
Value.computeOrDefault(Function<Value,T> mapper,
T defaultValue)
Apply the mapping function on the value if the value is not a
NullValue, or the default value if the value is a NullValue. |
<T> List<T> |
StatementResult.list(Function<Record,T> mapFunction)
Retrieve and store a projection of the entire result.
|
<T> CompletionStage<List<T>> |
StatementResultCursor.listAsync(Function<Record,T> mapFunction)
Asynchronously retrieve and store a projection of the entire result.
|
static <T> Function<Value,List<T>> |
Values.ofList(Function<Value,T> innerMap)
Converts values to
List of T. |
static <T> Function<Value,Map<String,T>> |
Values.ofMap(Function<Value,T> valueConverter)
Converts values to
Map, with the map values further converted using
the provided converter. |
| Modifier and Type | Method and Description |
|---|---|
<T> Map<String,T> |
MapAccessor.asMap(Function<Value,T> mapFunction) |
<T> List<T> |
MapAccessorWithDefaultValue.get(String key,
List<T> defaultValue,
Function<Value,T> mapFunc)
Retrieve the list with the given key.
|
<T> Map<String,T> |
MapAccessorWithDefaultValue.get(String key,
Map<String,T> defaultValue,
Function<Value,T> mapFunc)
Retrieve the map with the given key.
|
<T> Iterable<T> |
MapAccessor.values(Function<Value,T> mapFunction)
Map and retrieve all values of the underlying collection
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Function<T,T> |
Functions.identity() |
Copyright © 2018. All rights reserved.