@groovy.transform.Trait @groovy.transform.CompileStatic trait Neo4jEntity<D> extends java.lang.Object implements DynamicAttributes, GormEntity<D>
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.Result |
cypher(java.lang.CharSequence cypher, java.util.Map params)Perform a cypher query. |
|
org.neo4j.driver.Result |
cypher(java.lang.String cypher, java.util.List params)Perform a cypher query. |
|
org.neo4j.driver.Result |
cypher(java.lang.String queryString)perform a cypher query |
|
static org.neo4j.driver.Result |
cypherStatic(java.lang.CharSequence queryString, java.util.Map params)perform a cypher query |
|
static org.neo4j.driver.Result |
cypherStatic(java.lang.CharSequence queryString, java.util.List params)perform a cypher query |
|
static org.neo4j.driver.Result |
cypherStatic(java.lang.CharSequence queryString)perform a cypher query |
|
static org.neo4j.driver.Result |
executeCypher(java.lang.CharSequence queryString, java.util.Map params)perform a cypher query |
|
static org.neo4j.driver.Result |
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 |
|
private org.neo4j.driver.QueryRunner |
getStatementRunner(Neo4jSession session) |
|
private void |
includeTenantIdIfNecessary(Neo4jSession session, java.lang.String queryString, java.util.Map<java.lang.String, java.lang.Object> paramsMap) |
|
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 |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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 @return
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