Class TransformPullOrdered

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

public class TransformPullOrdered extends TransformDirectiveOnTopLevelFieldToQueryBase
Adds
@ordered
to a query operation if any of its direct children has that directive. If the directive is present on the query then the SPARQL query rewrite will include a global ORDER BY clause. This is needed when the target SPARQL engine does not preserve order of bindings especially for union, lateral and extend operations. This flag should not be used in production, instead the rewrite mode should be set on the graphql engine level. The flag exists to make it easy to try out the ordered rewrite.
  • Field Summary

    Fields inherited from class org.aksw.jenax.graphql.sparql.v2.rewrite.TransformDirectiveOnTopLevelFieldToQueryBase

    targetDirectiveName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.aksw.jenax.graphql.sparql.v2.rewrite.TransformDirectiveOnTopLevelFieldToQueryBase

    transform, visitOperationDefinition

    Methods inherited from class graphql.language.NodeVisitorStub

    visitArgument, visitArrayValue, visitBooleanValue, visitDefinition, visitDirective, visitDirectiveDefinition, visitDirectiveLocation, visitDocument, visitEnumTypeDefinition, visitEnumValue, visitEnumValueDefinition, visitField, 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
  • Constructor Details

    • TransformPullOrdered

      public TransformPullOrdered()