-
- All Implemented Interfaces:
public final class QueryContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumQueryContext.OptimizationStrategypublic classQueryContext.Companion
-
Field Summary
Fields Modifier and Type Field Description private BooleanqueryTypeOfInterfacesprivate Set<QueryContext.OptimizationStrategy>optimizedQueryprivate Dialectneo4jDialect
-
Constructor Summary
Constructors Constructor Description QueryContext(Boolean queryTypeOfInterfaces, Set<QueryContext.OptimizationStrategy> optimizedQuery, Dialect neo4jDialect)QueryContext(Boolean queryTypeOfInterfaces, Set<QueryContext.OptimizationStrategy> optimizedQuery)QueryContext(Boolean queryTypeOfInterfaces)QueryContext()
-
Method Summary
Modifier and Type Method Description final BooleangetQueryTypeOfInterfaces()if true the <code>__typename</code> will always be returned for interfaces, no matter if it was queried or not final UnitsetQueryTypeOfInterfaces(Boolean queryTypeOfInterfaces)if true the <code>__typename</code> will always be returned for interfaces, no matter if it was queried or not final Set<QueryContext.OptimizationStrategy>getOptimizedQuery()If set alternative approaches for query translation will be used final UnitsetOptimizedQuery(Set<QueryContext.OptimizationStrategy> optimizedQuery)If set alternative approaches for query translation will be used final DialectgetNeo4jDialect()final UnitsetNeo4jDialect(Dialect neo4jDialect)-
-
Constructor Detail
-
QueryContext
QueryContext(Boolean queryTypeOfInterfaces, Set<QueryContext.OptimizationStrategy> optimizedQuery, Dialect neo4jDialect)
-
QueryContext
QueryContext(Boolean queryTypeOfInterfaces, Set<QueryContext.OptimizationStrategy> optimizedQuery)
-
QueryContext
QueryContext(Boolean queryTypeOfInterfaces)
-
QueryContext
QueryContext()
-
-
Method Detail
-
getQueryTypeOfInterfaces
final Boolean getQueryTypeOfInterfaces()
if true the <code>__typename</code> will always be returned for interfaces, no matter if it was queried or not
-
setQueryTypeOfInterfaces
final Unit setQueryTypeOfInterfaces(Boolean queryTypeOfInterfaces)
if true the <code>__typename</code> will always be returned for interfaces, no matter if it was queried or not
-
getOptimizedQuery
final Set<QueryContext.OptimizationStrategy> getOptimizedQuery()
If set alternative approaches for query translation will be used
-
setOptimizedQuery
final Unit setOptimizedQuery(Set<QueryContext.OptimizationStrategy> optimizedQuery)
If set alternative approaches for query translation will be used
-
getNeo4jDialect
final Dialect getNeo4jDialect()
-
setNeo4jDialect
final Unit setNeo4jDialect(Dialect neo4jDialect)
-
-
-
-