Class IntrospectionResultToSchema


  • @PublicApi
    public class IntrospectionResultToSchema
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Document createSchemaDefinition​(ExecutionResult introspectionResult)
      Returns a IDL Document that represents the schema as defined by the introspection execution result
      Document createSchemaDefinition​(java.util.Map<java.lang.String,​java.lang.Object> introspectionResult)
      Returns a IDL Document that represents the schema as defined by the introspection result map
      • Methods inherited from class java.lang.Object

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

      • IntrospectionResultToSchema

        public IntrospectionResultToSchema()
    • Method Detail

      • createSchemaDefinition

        public Document createSchemaDefinition​(ExecutionResult introspectionResult)
        Returns a IDL Document that represents the schema as defined by the introspection execution result
        Parameters:
        introspectionResult - the result of an introspection query on a schema
        Returns:
        a IDL Document of the schema
      • createSchemaDefinition

        public Document createSchemaDefinition​(java.util.Map<java.lang.String,​java.lang.Object> introspectionResult)
        Returns a IDL Document that represents the schema as defined by the introspection result map
        Parameters:
        introspectionResult - the result of an introspection query on a schema
        Returns:
        a IDL Document of the schema