-
- All Implemented Interfaces:
public final class OptimizedFilterHandler extends ProjectionBase
This is a specialized handler that uses an alternative approach for filtering. By using multiple MATCH clauses, this can facilitate the use of optimizations within the neo4j database, which can lead to significant performance improvements for large data sets.
If this handler cannot generate an optimization for the passed filter, an OptimizedQueryException will be thrown, so the calling site can fall back to the non-optimized logic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOptimizedFilterHandler.NestingLevelHandler
-
Field Summary
Fields Modifier and Type Field Description private final GraphQLFieldsContainertype
-
Constructor Summary
Constructors Constructor Description OptimizedFilterHandler(GraphQLFieldsContainer type, SchemaConfig schemaConfig)
-
Method Summary
Modifier and Type Method Description final GraphQLFieldsContainergetType()final StatementBuilder.OngoingReadinggenerateFilterQuery(String variable, GraphQLFieldDefinition fieldDefinition, Map<String, Object> arguments, StatementBuilder.OngoingReadingWithoutWhere readingWithoutWhere, PropertyContainer rootNode, Map<String, Object> variables)-
-
Constructor Detail
-
OptimizedFilterHandler
OptimizedFilterHandler(GraphQLFieldsContainer type, SchemaConfig schemaConfig)
-
-
Method Detail
-
getType
final GraphQLFieldsContainer getType()
-
-
-
-