@groovy.transform.CompileStatic class Neo4jResultList extends AbstractResultList
A Neo4j result list for decoding objects from the Result interface
Modifiers | Name | Description |
---|---|---|
protected Neo4jEntityPersister |
entityPersister |
|
protected java.util.Map<Association, java.lang.Object> |
initializedAssociations |
|
protected java.util.Map<java.io.Serializable, groovy.util.Node> |
initializedNodes |
|
protected javax.persistence.LockModeType |
lockMode |
Fields inherited from class | Fields |
---|---|
class AbstractResultList |
cursor, initialized, initializedObjects, offset |
Constructor and description |
---|
Neo4jResultList
(int offset, 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(groovy.util.Node node) Adds an initialized node |
|
void |
close() |
|
protected java.lang.Object |
nextDecoded() |
|
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