| Package | Description |
|---|---|
| org.neo4j.driver.v1 | |
| org.neo4j.driver.v1.summary | |
| org.neo4j.driver.v1.types |
| Modifier and Type | Field and Description |
|---|---|
static Value |
Values.EmptyMap |
static Value |
Values.NULL |
| Modifier and Type | Method and Description |
|---|---|
Value |
Record.get(int index)
Retrieve the value at the given field index
|
Value |
Value.get(int index)
Retrieve the value at the given index
|
Value |
Record.get(String key)
Retrieve the value of the property with the given key
|
Value |
Statement.parameters() |
static Value |
Values.parameters(Object... keysAndValues)
Helper function for creating a map of parameters, this can be used when you
run statements. |
static Value |
Values.value(boolean... input) |
static Value |
Values.value(boolean val) |
static Value |
Values.value(double... input) |
static Value |
Values.value(double val) |
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(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(String... input) |
static Value |
Values.value(String val) |
static Value |
Values.value(Value... input) |
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
|
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,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,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,Path> |
Values.ofPath()
Converts values to
Path. |
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.
|
List<Value> |
Record.values()
Retrieve the values of the underlying map
|
| Modifier and Type | Method and Description |
|---|---|
StatementResult |
StatementRunner.run(String statementTemplate,
Value parameters)
Run a statement and return a result stream.
|
static Value |
Values.value(Value... input) |
Statement |
Statement.withParameters(Value newParameters) |
Statement |
Statement.withUpdatedParameters(Value updates)
Create a new statement with new parameters derived by updating this'
statement's parameters using the given updates.
|
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
Value.asList(Function<Value,T> mapFunction) |
<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.
|
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) |
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 |
|---|
Statement(String text,
Value parameters)
Create a new statement.
|
| 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
|
Copyright © 2017. All rights reserved.