@groovy.transform.CompileStatic class Neo4jResultList extends AbstractResultList
A Neo4j result list for decoding objects from the org.neo4j.driver.Result interface
Modifiers | Name | Description |
---|---|---|
private static java.util.Map<Association, java.lang.Object> |
EMPTY_ASSOCIATIONS |
|
private static java.util.Map<java.lang.String, java.lang.Object> |
EMPTY_RESULT_DATA |
|
protected Neo4jEntityPersister |
entityPersister |
|
protected java.util.Map<Association, java.lang.Object> |
initializedAssociations |
|
protected java.util.Map<java.io.Serializable, org.neo4j.driver.types.Node> |
initializedNodes |
|
protected javax.persistence.LockModeType |
lockMode |
Fields inherited from class | Fields |
---|---|
class AbstractResultList |
current, cursor, initialized, initializedObjects, internalIndex, iteratorIndex, offset, size |
Constructor and description |
---|
Neo4jResultList
(int offset, org.neo4j.driver.Result cursor, Neo4jEntityPersister entityPersister, javax.persistence.LockModeType lockMode) |
Neo4jResultList
(int offset, java.util.Iterator<java.lang.Object> cursor, Neo4jEntityPersister entityPersister) |
Neo4jResultList
(int offset, java.lang.Integer size, java.util.Iterator<java.lang.Object> cursor, Neo4jEntityPersister entityPersister) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addInitializedNode(org.neo4j.driver.types.Node node) Adds an initialized node |
|
void |
close() |
|
protected java.lang.Object |
nextDecoded() |
|
private java.lang.Object |
nextDecodedInternal() |
|
void |
setInitializedAssociations(java.util.Map<Association, java.lang.Object> initializedAssociations) Set any already initialized associations to avoid extra proxy queries |
Methods inherited from class | Name |
---|---|
class AbstractResultList |
add, convertObject, convertObject, get, getCursor, hasNext, initializeFully, isEmpty, iterator, listIterator, listIterator, next, nextDecoded, remove, remove, set, size |
Adds an initialized node
node
- The nodeSet any already initialized associations to avoid extra proxy queries