Package 

Class CypherDirectiveHandler.Factory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      CypherDirectiveHandler.Factory(SchemaConfig schemaConfig, TypeDefinitionRegistry typeDefinitionRegistry, TypeDefinitionRegistry neo4jTypeDefinitionRegistry)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      DataFetcher<Cypher> createDataFetcher(AugmentationHandler.OperationType operationType, FieldDefinition fieldDefinition) The 2nd step is creating a data fetcher based on a field definition.
      • Methods inherited from class org.neo4j.graphql.AugmentationHandler

        augmentType, cypherDirective, dynamicPrefix, getDirectiveArgument, getFieldDefinition, getIdField, getNeo4jTypeDefinitionRegistry, getScalarFields, getSchemaConfig, getTypeDefinitionRegistry, getUnwrappedType, input, isID, isNativeId, isRelationship, isScalar, relationship, resolve
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CypherDirectiveHandler.Factory

        CypherDirectiveHandler.Factory(SchemaConfig schemaConfig, TypeDefinitionRegistry typeDefinitionRegistry, TypeDefinitionRegistry neo4jTypeDefinitionRegistry)
    • Method Detail

      • createDataFetcher

         DataFetcher<Cypher> createDataFetcher(AugmentationHandler.OperationType operationType, FieldDefinition fieldDefinition)

        The 2nd step is creating a data fetcher based on a field definition. The field may be an augmented field (from step 1) but can also be a user specified query / mutation field

        Parameters:
        operationType - the type of the field
        fieldDefinition - the filed to create the data fetcher for