Package graphql.introspection
Class IntrospectionResultToSchema
- java.lang.Object
-
- graphql.introspection.IntrospectionResultToSchema
-
@PublicApi public class IntrospectionResultToSchema extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IntrospectionResultToSchema()
-
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 resultDocument
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
-
-
-
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
-
-