@groovy.transform.CompileStatic trait Neo4jEntity
Extends the default {@org.grails.datastore.gorm.GormEntity} trait, adding new methods specific to Neo4j
| Type Params | Return Type | Name and description |
|---|---|---|
|
org.neo4j.driver.v1.StatementResult |
cypher(java.lang.CharSequence cypher, java.util.Map params)Perform a cypher query. |
|
org.neo4j.driver.v1.StatementResult |
cypher(java.lang.String cypher, java.util.List params)Perform a cypher query. |
|
org.neo4j.driver.v1.StatementResult |
cypher(java.lang.String queryString)perform a cypher query |
|
static org.neo4j.driver.v1.StatementResult |
cypherStatic(java.lang.CharSequence queryString, java.util.Map params)perform a cypher query |
|
static org.neo4j.driver.v1.StatementResult |
cypherStatic(java.lang.CharSequence queryString, java.util.List params)perform a cypher query |
|
static org.neo4j.driver.v1.StatementResult |
cypherStatic(java.lang.CharSequence queryString)perform a cypher query |
|
static org.neo4j.driver.v1.StatementResult |
executeCypher(java.lang.CharSequence queryString, java.util.Map params)perform a cypher query |
|
static org.neo4j.driver.v1.StatementResult |
executeCypher(java.lang.CharSequence queryString)perform a cypher query |
|
static D |
find(java.lang.CharSequence query, java.lang.Object[] params)Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map) |
|
static D |
find(java.lang.CharSequence query, java.util.Map params)Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map) |
|
static java.util.List<D> |
findAll(java.lang.CharSequence query, java.lang.Object[] params)Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map) |
|
static java.util.List<D> |
findAll(java.lang.CharSequence query, java.util.Map params)Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map) |
|
java.lang.Object |
getAt(java.lang.String name)Obtains a dynamic attribute |
|
java.lang.Object |
propertyMissing(java.lang.String name)Allows accessing to dynamic properties with the dot operator |
|
java.lang.Object |
propertyMissing(java.lang.String name, java.lang.Object val)Allows setting a dynamic property via the dot operator |
<T> |
static T |
withConnection(java.lang.String connectionName, groovy.lang.Closure callable)Perform an operation with the given connection |
Perform a cypher query. The id if this entity will be included within a parameter called "this" passed to the query execution
cypher - The cypher queryparams - The parametersPerform a cypher query. The id if this entity will be included within a parameter called "this" passed to the query execution
cypher - The cypher queryparams - The parametersperform a cypher query
perform a cypher query
perform a cypher query
perform a cypher query
perform a cypher query
perform a cypher query
Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map)
Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map)
Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map)
Varargs version of findAll(java.lang.String, java.util.Collection, java.util.Map)
Obtains a dynamic attribute
name - The name of the attributeAllows accessing to dynamic properties with the dot operator
instance - The instancename - The property nameAllows setting a dynamic property via the dot operator
instance - The instancename - The property nameval - The valuePerform an operation with the given connection
connectionName - The name of the connectioncallable - The operation