Interface Neo4jOperations.ExecutableQuery<T>
- Type Parameters:
T
- the type that gets returned by the query
- Enclosing interface:
- Neo4jOperations
public static interface Neo4jOperations.ExecutableQuery<T>
An interface for controlling query execution.
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getResults
- Returns:
- The list of all results. That can be an empty list but is never null.
-
getSingleResult
- Returns:
- An optional, single result.
- Throws:
IncorrectResultSizeDataAccessException
- when there is more than one result
-
getRequiredSingleResult
T getRequiredSingleResult()- Returns:
- A required, single result.
- Throws:
NoResultException
- when there is no result
-