@groovy.transform.CompileStatic @groovy.util.logging.Slf4j class Neo4jQuery extends Query
perform criteria queries on a Neo4j backend
| Modifiers | Name | Description |
|---|---|---|
static class |
Neo4jQuery.AssociationQueryHandler |
Handles AssociationQuery instances |
static class |
Neo4jQuery.ComparisonCriterionHandler |
A criterion handler for comparison criterion |
static interface |
Neo4jQuery.CriterionHandler |
Interface for handling criterion when building Cypher queries |
static class |
Neo4jQuery.CypherExpression |
|
static interface |
Neo4jQuery.ProjectionHandler |
Interface for handling projections when building Cypher queries |
static class |
Neo4jQuery.PropertyComparisonCriterionHandler |
A criterion handler for comparison criterion |
static class |
Neo4jQuery.SizeCriterionHandler |
A citerion handler for size related queries |
| Modifiers | Name | Description |
|---|---|---|
static java.util.Map<java.lang.Class<? extends Query.Criterion>, CriterionHandler<? extends Criterion>> |
CRITERION_HANDLERS |
|
protected static java.util.Map<java.lang.Class<? extends Query.Projection>, ProjectionHandler<? extends Projection>> |
PROJECT_HANDLERS |
| Fields inherited from class | Fields |
|---|---|
class Query |
criteria, entity, fetchStrategies, joinTypes, lockResult, logger, max, offset, orderBy, projections, queryCache, session, uniqueResult |
| Type | Name and description |
|---|---|
boolean |
isRelationshipEntity |
Neo4jEntityPersister |
neo4jEntityPersister |
| Constructor and description |
|---|
Neo4jQuery(Neo4jSession session, PersistentEntity entity, Neo4jEntityPersister neo4jEntityPersister) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected CypherBuilder |
buildBaseQuery(PersistentEntity persistentEntity, Junction criteria) |
|
java.lang.String |
buildConditions(Criterion criterion, CypherBuilder builder, java.lang.String prefix) |
|
java.lang.String |
buildProjection(Projection projection, CypherBuilder cypherBuilder) |
|
protected java.util.List |
executeQuery(PersistentEntity persistentEntity, Junction criteria) |
|
CypherBuilder |
getBaseQuery()Obtains the root query for this Neo4jQuery instance without any RETURN statements, projections or limits applied |
|
Session |
getBoltSession() |
|
Neo4jSession |
getSession() |
|
protected static java.lang.String |
handleLike(PropertyCriterion criterion, CypherBuilder builder, int paramNumber, boolean caseSensitive) |
|
static java.lang.String |
matchForAssociation(Association association, java.lang.String var, java.util.Map<java.lang.String, java.lang.String> attributes) |
| Methods inherited from class | Name |
|---|---|
class Query |
add, add, allEq, and, between, cache, clearOrders, clone, conjunction, countResults, createQuery, disjunction, eq, executeQuery, fetchStrategy, firstResult, flushBeforeQuery, ge, getCriteria, getEntity, getMax, getOffset, getOrderBy, getSession, gt, gte, idEq, ilike, in, isEmpty, isNotEmpty, isNotNull, isNull, join, join, le, like, list, lock, lock, lt, lte, max, maxResults, negation, offset, or, order, patternToRegex, projections, resolveIdIfEntity, rlike, select, setUniqueResult, singleResult |
Obtains the root query for this Neo4jQuery instance without any RETURN statements, projections or limits applied