Class TransformEnrichWithSchema

java.lang.Object
graphql.language.NodeVisitorStub
org.aksw.jenax.graphql.sparql.v2.rewrite.TransformEnrichWithSchema
All Implemented Interfaces:
graphql.language.NodeVisitor

public class TransformEnrichWithSchema extends graphql.language.NodeVisitorStub
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected SchemaNavigator
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    graphql.util.TraversalControl
    enterField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    enterQuery(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    static boolean
    hasPattern(graphql.language.DirectivesContainer<?> dirs)
     
    graphql.util.TraversalControl
    leaveField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    leaveQuery(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    void
    processFieldOnEnter(graphql.language.Field node, String nodeName, List<graphql.language.Argument> arguments, graphql.language.DirectivesContainer<?> directives, graphql.language.SelectionSet selectionSet, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitOperationDefinition(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     

    Methods inherited from class graphql.language.NodeVisitorStub

    visitArgument, visitArrayValue, visitBooleanValue, visitDefinition, visitDirective, visitDirectiveDefinition, visitDirectiveLocation, visitDocument, visitEnumTypeDefinition, visitEnumValue, visitEnumValueDefinition, visitFieldDefinition, visitFloatValue, visitFragmentDefinition, visitFragmentSpread, visitInlineFragment, visitInputObjectTypeDefinition, visitInputValueDefinition, visitInterfaceTypeDefinition, visitIntValue, visitListType, visitNode, visitNonNullType, visitNullValue, visitObjectField, visitObjectTypeDefinition, visitObjectValue, visitOperationTypeDefinition, visitScalarTypeDefinition, visitSchemaDefinition, visitSelection, visitSelectionSet, visitStringValue, visitType, visitTypeDefinition, visitTypeName, visitUnionTypeDefinition, visitValue, visitVariableDefinition, visitVariableReference

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TransformEnrichWithSchema

      public TransformEnrichWithSchema(SchemaNavigator schemaNavigator)
  • Method Details

    • enterQuery

      public graphql.util.TraversalControl enterQuery(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
    • leaveQuery

      public graphql.util.TraversalControl leaveQuery(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitOperationDefinition

      public graphql.util.TraversalControl visitOperationDefinition(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitOperationDefinition in interface graphql.language.NodeVisitor
      Overrides:
      visitOperationDefinition in class graphql.language.NodeVisitorStub
    • visitField

      public graphql.util.TraversalControl visitField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitField in interface graphql.language.NodeVisitor
      Overrides:
      visitField in class graphql.language.NodeVisitorStub
    • enterField

      public graphql.util.TraversalControl enterField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
    • processFieldOnEnter

      public void processFieldOnEnter(graphql.language.Field node, String nodeName, List<graphql.language.Argument> arguments, graphql.language.DirectivesContainer<?> directives, graphql.language.SelectionSet selectionSet, graphql.util.TraverserContext<graphql.language.Node> context)
    • leaveField

      public graphql.util.TraversalControl leaveField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
    • hasPattern

      public static boolean hasPattern(graphql.language.DirectivesContainer<?> dirs)