| Package | Description |
|---|---|
| org.neo4j.driver | |
| org.neo4j.driver.async | |
| org.neo4j.driver.reactive | |
| org.neo4j.driver.summary | |
| org.neo4j.driver.types |
| Modifier and Type | Field and Description |
|---|---|
static Value |
Values.EmptyMap |
static Value |
Values.NULL |
| Modifier and Type | Method and Description |
|---|---|
Value |
Value.get(int index)
Retrieve the value at the given index
|
Value |
Record.get(int index)
Retrieve the value at the given field index
|
static Value |
Values.isoDuration(long months,
long days,
long seconds,
int nanoseconds) |
Value |
Query.parameters() |
static Value |
Values.parameters(Object... keysAndValues)
Helper function for creating a map of parameters, this can be used when you
run queries. |
static Value |
Values.point(int srid,
double x,
double y) |
static Value |
Values.point(int srid,
double x,
double y,
double z) |
static Value |
Values.value(boolean... input) |
static Value |
Values.value(boolean val) |
static Value |
Values.value(char... input) |
static Value |
Values.value(char val) |
static Value |
Values.value(double... input) |
static Value |
Values.value(double val) |
static Value |
Values.value(Duration duration) |
static Value |
Values.value(float... input) |
static Value |
Values.value(int... input) |
static Value |
Values.value(int val) |
static Value |
Values.value(Iterable<Object> val) |
static Value |
Values.value(Iterator<Object> val) |
static Value |
Values.value(List<Object> vals) |
static Value |
Values.value(LocalDate localDate) |
static Value |
Values.value(LocalDateTime localDateTime) |
static Value |
Values.value(LocalTime localTime) |
static Value |
Values.value(long... input) |
static Value |
Values.value(long val) |
static Value |
Values.value(Map<String,Object> val) |
static Value |
Values.value(Object value) |
static Value |
Values.value(OffsetDateTime offsetDateTime) |
static Value |
Values.value(OffsetTime offsetTime) |
static Value |
Values.value(Period period) |
static Value |
Values.value(short... input) |
static Value |
Values.value(Stream<Object> stream) |
static Value |
Values.value(String... input) |
static Value |
Values.value(String val) |
static Value |
Values.value(Value... input) |
static Value |
Values.value(ZonedDateTime zonedDateTime) |
static Value[] |
Values.values(Object... input) |
| Modifier and Type | Method and Description |
|---|---|
static Function<Record,Value> |
Records.column(int index) |
static Function<Record,Value> |
Records.column(String key) |
List<Pair<String,Value>> |
Record.fields()
Retrieve all record fields
|
Map<String,Value> |
TransactionConfig.metadata()
Get the configured transaction metadata.
|
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
asObject(). |
static Function<Value,OffsetDateTime> |
Values.ofOffsetDateTime()
Converts values to
OffsetDateTime. |
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
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,Value> |
Values.ofValue()
The identity function for value conversion - returns the value untouched.
|
static Function<Value,ZonedDateTime> |
Values.ofZonedDateTime()
Converts values to
ZonedDateTime. |
List<Value> |
Record.values()
Retrieve the values of the underlying map
|
| Modifier and Type | Method and Description |
|---|---|
Result |
QueryRunner.run(String query,
Value parameters)
Run a query and return a result stream.
|
static Value |
Values.value(Value... input) |
Query |
Query.withParameters(Value newParameters) |
Query |
Query.withUpdatedParameters(Value updates)
Create a new query with new parameters derived by updating this'
query's parameters using the given updates.
|
| 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> |
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. |
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. |
| Constructor and Description |
|---|
Query(String text,
Value parameters)
Create a new query.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<ResultCursor> |
AsyncQueryRunner.runAsync(String query,
Value parameters)
Run a query asynchronously and return a
CompletionStage with a
result cursor. |
| Modifier and Type | Method and Description |
|---|---|
RxResult |
RxQueryRunner.run(String query,
Value parameters)
Register running of a query and return a reactive result stream.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Value> |
Plan.arguments()
Many
operators have arguments defining their specific behavior. |
| Modifier and Type | Method and Description |
|---|---|
Value |
MapAccessor.get(String key)
Retrieve the value of the property with the given key
|
Value |
MapAccessorWithDefaultValue.get(String key,
Value defaultValue)
Retrieve the value with the given key.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Value> |
MapAccessor.values()
Retrieve all values of the underlying collection
|
| Modifier and Type | Method and Description |
|---|---|
Value |
MapAccessorWithDefaultValue.get(String key,
Value defaultValue)
Retrieve the value with the given key.
|
boolean |
Type.isTypeOf(Value value)
Test if the given value has this type
|
| 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
|